oneByte

molecule.DomainStructure.oneByte
See theoneByte companion object
trait oneByte extends Options[oneByte, Byte, Byte], Validations[oneByte, Byte]

Attributes

Companion
object
Source
DomainStructure.scala
Graph
Supertypes
trait Validations[oneByte, Byte]
trait Options[oneByte, Byte, Byte]
trait Requierable
class Object
trait Matchable
class Any
Show all
Known subtypes
object oneByte

Members list

Value members

Inherited methods

def alias(altAttrName: String): oneByte

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[Byte], failureMsg: String): oneByte

Attributes

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

Attributes

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

Attributes

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

Description of attribute

Description of attribute

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Validations
Source
DomainStructure.scala

Inherited fields

lazy val index: oneByte

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

Attributes

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

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

Attributes

Inherited from:
Options
Source
DomainStructure.scala