oneInt

molecule.DomainStructure.oneInt
See theoneInt companion trait
object oneInt extends oneInt

Attributes

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

Members list

Value members

Inherited methods

def alias(altAttrName: String): oneInt

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[Int], failureMsg: String): oneInt

Attributes

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

Attributes

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

Attributes

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

Description of attribute

Description of attribute

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Validations
Source
DomainStructure.scala

Inherited fields

lazy val index: oneInt

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

Attributes

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

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

Attributes

Inherited from:
Options
Source
DomainStructure.scala