org.positronicnet.orm

MapAs

object MapAs extends Enumeration

Some content providers have fields in their pseudo-tables which are effectively read-only, or write-once. (They may, for instance, be produced by joins on underlying tables, or export state that is managed by the content provider itself. Or, as in the case of references to aggregated contacts from the ContactsContract stuff, both.) The ORM can be asked to request these constraints when setting up a RecordManager, by calling mapField with a non-default value of the how argument, chosen from this enumeration...

Linear Supertypes
Enumeration, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MapAs
  2. Enumeration
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Type Members

  1. type How = Value

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. val ReadOnly : Value

    Field is read, but never set.

    Field is read, but never set.

    Default for primary key/'id' fields, which we expect the DB to assign on its own.

  7. val ReadWrite : Value

    Normal case of an update-able field

  8. def Value (i: Int, name: String): Value

    Attributes
    protected final
    Definition Classes
    Enumeration
  9. def Value (name: String): Value

    Attributes
    protected final
    Definition Classes
    Enumeration
  10. def Value (i: Int): Value

    Attributes
    protected final
    Definition Classes
    Enumeration
  11. def Value : Value

    Attributes
    protected final
    Definition Classes
    Enumeration
  12. val WriteOnce : Value

    Field is set once, at insert, but untouched by updates.

  13. def apply (x: Int): Value

    Attributes
    final
    Definition Classes
    Enumeration
  14. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  15. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  17. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  20. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  21. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  22. def maxId : Int

    Attributes
    final
    Definition Classes
    Enumeration
  23. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  24. var nextId : Int

    Attributes
    protected
    Definition Classes
    Enumeration
  25. var nextName : Iterator[String]

    Attributes
    protected
    Definition Classes
    Enumeration
  26. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  27. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  28. def readResolve (): AnyRef

    Attributes
    protected
    Definition Classes
    Enumeration
  29. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  30. def toString (): String

    Definition Classes
    Enumeration → AnyRef → Any
  31. def values : ValueSet

    Definition Classes
    Enumeration
  32. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. def withName (s: String): Value

    Attributes
    final
    Definition Classes
    Enumeration

Inherited from Enumeration

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any