setChar

molecule.DomainStructure.setChar
See thesetChar companion object
trait setChar extends Options[setChar, Set[Char], Char], Validations[oneChar, Char]

Attributes

Companion
object
Source
DomainStructure.scala
Graph
Supertypes
trait Validations[oneChar, Char]
trait Options[setChar, Set[Char], Char]
trait Requierable
class Object
trait Matchable
class Any
Show all
Known subtypes
object setChar

Members list

Value members

Inherited methods

def alias(altAttrName: String): setChar

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 apply(description: String): setChar

Attributes

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

Description of attribute

Description of attribute

Attributes

Inherited from:
Options
Source
DomainStructure.scala
def enums(vs: Seq[Char], failureMsg: String): setChar

Attributes

Inherited from:
Options
Source
DomainStructure.scala
def enums(vs: Char*): setChar

Attributes

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

Attributes

Inherited from:
Options
Source
DomainStructure.scala
def validate(err2msg: PartialFunction[Char, String]): oneChar

Attributes

Inherited from:
Validations
Source
DomainStructure.scala
def validate(ok: Char => Boolean, errorMsg: String): oneChar

Attributes

Inherited from:
Validations
Source
DomainStructure.scala

Inherited fields

lazy val index: setChar

Index option (defaults to true).

Generated index for this attribute.

Index option (defaults to true).

Generated index for this attribute.

For the Datomic database, all attributes are set by default with the indexed option automatically.

Attributes

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

Attributes

Inherited from:
Options
Source
DomainStructure.scala
lazy val noHistory: setChar

No history option (effect in Datomic only).

No history option (effect in Datomic only).

Attributes

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

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

Unique identity option.

Attribute value is unique to each entity and "upsert" is enabled.

Attempts to insert a duplicate value for a temporary entity id will cause all attributes associated with that temporary id to be merged with the entity already in the database.

Unique identity option.

Attribute value is unique to each entity and "upsert" is enabled.

Attempts to insert a duplicate value for a temporary entity id will cause all attributes associated with that temporary id to be merged with the entity already in the database.

Attributes

Inherited from:
Options
Source
DomainStructure.scala
val value: Set[Char]

Attributes

Inherited from:
Options
Source
DomainStructure.scala