oneChar

molecule.DomainStructure.oneChar
See theoneChar companion trait
object oneChar extends oneChar

Attributes

Companion
trait
Source
DomainStructure.scala
Graph
Supertypes
trait oneChar
trait Validations[oneChar, Char]
trait Options[oneChar, Char, Char]
trait Requierable
class Object
trait Matchable
class Any
Show all
Self type
oneChar.type

Members list

Value members

Inherited methods

def alias(altAttrName: String): oneChar

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[Char], failureMsg: String): oneChar

Attributes

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

Attributes

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

Attributes

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

Description of attribute

Description of attribute

Attributes

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

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: oneChar

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: oneChar

Attributes

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

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: Char

Attributes

Inherited from:
Options
Source
DomainStructure.scala