sealed trait Options[Self, Tpe, BaseTpe] extends AnyRef

Attribute options.

Source
DataModelApi.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Options
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def alias(altAttrName: String): Self

    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.

  5. def apply(description: String): Self
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. def descr(description: String): Self

    Description of attribute

  9. def enums(vs: Seq[BaseTpe], failureMsg: String): Self
  10. def enums(vs: BaseTpe*): Self
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. lazy val index: Self

    Index option (defaults to true).

    Index option (defaults to true).

    Generated index for this attribute. By default all attributes are set with the indexed option automatically by Molecule, so you don't need to set this.

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. lazy val mandatory: Self
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. lazy val noHistory: Self

    No history option.

  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  22. def require[T <: Options[_, _, _]](attrs: T*): Self
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. lazy val unique: Self

    Unique value option.

    Unique value option.

    Attribute value is unique to each entity.

    Attempts to insert a duplicate value for a different entity id will fail.

  26. lazy val uniqueIdentity: Self

    Unique identity option.

    Unique identity option.

    Attribute value is unique to each entity and "upsert" is enabled.

    Attempts to insert a duplicate value for a temporary entity id will cause all attributes associated with that temporary id to be merged with the entity already in the database.

  27. def validate(err2msg: PartialFunction[BaseTpe, String]): Self
  28. def validate(ok: (BaseTpe) => Boolean, errorMsg: String = ""): Self
  29. val value: Tpe
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped