Options

molecule.DomainStructure.Options
sealed trait Options[Self, Tpe, BaseTpe] extends Requierable

Attribute options.

Attributes

Source
DomainStructure.scala
Graph
Supertypes
trait Requierable
class Object
trait Matchable
class Any
Known subtypes
trait arrayByte
object arrayByte
object mapBigDecimal
trait mapBigInt
object mapBigInt
trait mapBoolean
object mapBoolean
trait mapByte
object mapByte
trait mapChar
object mapChar
trait mapDate
object mapDate
trait mapDouble
object mapDouble
trait mapDuration
object mapDuration
trait mapFloat
object mapFloat
trait mapInstant
object mapInstant
trait mapInt
object mapInt
trait mapLocalDate
object mapLocalDate
trait mapLocalTime
object mapLocalTime
trait mapLong
object mapLong
object mapOffsetTime
trait mapShort
object mapShort
trait mapURI
object mapURI
trait mapUUID
object mapUUID
object oneBigDecimal
trait oneBigInt
object oneBigInt
trait oneBoolean
object oneBoolean
trait oneByte
object oneByte
trait oneChar
object oneChar
trait oneDate
object oneDate
trait oneDouble
object oneDouble
trait oneDuration
object oneDuration
trait oneFloat
object oneFloat
trait oneInstant
object oneInstant
trait oneInt
object oneInt
trait oneLocalDate
object oneLocalDate
trait oneLocalTime
object oneLocalTime
trait oneLong
object oneLong
object oneOffsetTime
trait oneShort
object oneShort
trait oneURI
object oneURI
trait oneUUID
object oneUUID
object seqBigDecimal
trait seqBigInt
object seqBigInt
trait seqBoolean
object seqBoolean
trait seqChar
object seqChar
trait seqDate
object seqDate
trait seqDouble
object seqDouble
trait seqDuration
object seqDuration
trait seqFloat
object seqFloat
trait seqInstant
object seqInstant
trait seqInt
object seqInt
trait seqLocalDate
object seqLocalDate
trait seqLocalTime
object seqLocalTime
trait seqLong
object seqLong
object seqOffsetTime
trait seqShort
object seqShort
trait seqURI
object seqURI
trait seqUUID
object seqUUID
object setBigDecimal
trait setBigInt
object setBigInt
trait setBoolean
object setBoolean
trait setByte
object setByte
trait setChar
object setChar
trait setDate
object setDate
trait setDouble
object setDouble
trait setDuration
object setDuration
trait setFloat
object setFloat
trait setInstant
object setInstant
trait setInt
object setInt
trait setLocalDate
object setLocalDate
trait setLocalTime
object setLocalTime
trait setLong
object setLong
object setOffsetTime
trait setShort
object setShort
trait setURI
object setURI
trait setUUID
object setUUID
trait stringOptions[Self, Tpe]
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 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

Source
DomainStructure.scala
def allowedValues(v: BaseTpe, vs: BaseTpe*): Self

Attributes

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

Attributes

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

Attributes

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

Description of attribute

Description of attribute

Attributes

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

Attributes

Source
DomainStructure.scala

Concrete 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

Source
DomainStructure.scala
lazy val mandatory: Self

Attributes

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

Source
DomainStructure.scala
val value: Tpe

Attributes

Source
DomainStructure.scala