oneString

molecule.DomainStructure.oneString
See theoneString companion trait
object oneString extends oneString

Attributes

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

Members list

Value members

Inherited methods

def alias(altAttrName: String): oneString

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

Attributes

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

Attributes

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

Attributes

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

Description of attribute

Description of attribute

Attributes

Inherited from:
Options
Source
DomainStructure.scala
def email(msg: String): oneString

Attributes

Inherited from:
stringOptions
Source
DomainStructure.scala
def regex(expr: String, msg: String): oneString

Attributes

Inherited from:
stringOptions
Source
DomainStructure.scala
def require(attrs: Requierable*): oneString

Attributes

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

Attributes

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

Attributes

Inherited from:
Validations
Source
DomainStructure.scala

Inherited fields

Attributes

Inherited from:
stringOptions
Source
DomainStructure.scala
lazy val index: oneString

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

Attributes

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

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

Attributes

Inherited from:
Options
Source
DomainStructure.scala