mapShort

molecule.DomainStructure.mapShort
See themapShort companion object
trait mapShort extends Options[mapShort, Map[String, Short], Short]

Attributes

Companion
object
Source
DomainStructure.scala
Graph
Supertypes
trait Options[mapShort, Map[String, Short], Short]
trait Requierable
class Object
trait Matchable
class Any
Known subtypes
object mapShort

Members list

Value members

Inherited methods

def alias(altAttrName: String): mapShort

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[Short], failureMsg: String): mapShort

Attributes

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

Attributes

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

Attributes

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

Description of attribute

Description of attribute

Attributes

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

Attributes

Inherited from:
Options
Source
DomainStructure.scala

Inherited fields

lazy val index: mapShort

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

Attributes

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

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: Map[String, Short]

Attributes

Inherited from:
Options
Source
DomainStructure.scala