stringOptions

molecule.DomainStructure.stringOptions
trait stringOptions[Self, Tpe] extends Options[Self, Tpe, String]

Attributes

Source
DomainStructure.scala
Graph
Supertypes
trait Options[Self, Tpe, String]
trait Requierable
class Object
trait Matchable
class Any
Known subtypes
trait mapString
object mapString
trait oneString
object oneString
trait seqString
object seqString
trait setString
object setString
Show all

Members list

Value members

Concrete methods

def email(msg: String): Self

Attributes

Source
DomainStructure.scala
def regex(expr: String, msg: String): Self

Attributes

Source
DomainStructure.scala

Inherited methods

def alias(altAttrName: String): Self

Alias to non-compatible attribute name like type or first-name etc.

Alias to non-compatible attribute name like type or first-name etc.

Molecule then creates an alias to the special name in the schema so that queries will match both the attribute name and the alias.

Attributes

Inherited from:
Options
Source
DomainStructure.scala
def allowedValues(vs: Seq[String], failureMsg: String): Self

Attributes

Inherited from:
Options
Source
DomainStructure.scala
def allowedValues(v: String, vs: String*): Self

Attributes

Inherited from:
Options
Source
DomainStructure.scala
def apply(description: String): Self

Attributes

Inherited from:
Options
Source
DomainStructure.scala
def descr(description: String): Self

Description of attribute

Description of attribute

Attributes

Inherited from:
Options
Source
DomainStructure.scala
def require(attrs: Requierable*): Self

Attributes

Inherited from:
Options
Source
DomainStructure.scala

Concrete fields

val email: Self

Attributes

Source
DomainStructure.scala

Inherited fields

lazy val index: Self

Index option (defaults to true).

Generated index for this attribute.

Index option (defaults to true).

Generated index for this attribute.

Attributes

Inherited from:
Options
Source
DomainStructure.scala
lazy val mandatory: Self

Attributes

Inherited from:
Options
Source
DomainStructure.scala
lazy val unique: Self

Unique value option.

Attribute value is unique to each entity.

Attempts to insert a duplicate value for a different entity id will fail.

Unique value option.

Attribute value is unique to each entity.

Attempts to insert a duplicate value for a different entity id will fail.

Attributes

Inherited from:
Options
Source
DomainStructure.scala
val value: Tpe

Attributes

Inherited from:
Options
Source
DomainStructure.scala