Class

net.liftweb.mapper

MappedStringForeignKey

Related Doc: package mapper

Permalink

abstract class MappedStringForeignKey[T <: Mapper[T], O <: KeyedMapper[String, O]] extends MappedString[T] with MappedForeignKey[String, T, O] with BaseForeignKey

Linear Supertypes
BaseForeignKey, MappedForeignKey[String, T, O], LifecycleCallbacks, MappedString[T], HasApplyBoxString[T], StringValidators, MappedField[String, T], Equals, PSettableValueHolder[String], PValueHolder[String], BaseOwnedMappedField[T], BaseMappedField, Serializable, Serializable, MixableMappedField, BaseField, FieldContainer, SettableField, SettableValueHolder, Settable, ReadableField, ValueHolder, FieldIdentifier, Bindable, SelectableField, TypedField[String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MappedStringForeignKey
  2. BaseForeignKey
  3. MappedForeignKey
  4. LifecycleCallbacks
  5. MappedString
  6. HasApplyBoxString
  7. StringValidators
  8. MappedField
  9. Equals
  10. PSettableValueHolder
  11. PValueHolder
  12. BaseOwnedMappedField
  13. BaseMappedField
  14. Serializable
  15. Serializable
  16. MixableMappedField
  17. BaseField
  18. FieldContainer
  19. SettableField
  20. SettableValueHolder
  21. Settable
  22. ReadableField
  23. ValueHolder
  24. FieldIdentifier
  25. Bindable
  26. SelectableField
  27. TypedField
  28. AnyRef
  29. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MappedStringForeignKey(fieldOwner: T, foreign: ⇒ KeyedMetaMapper[String, O], maxLen: Int)

    Permalink

Type Members

  1. abstract type FieldType <: String

    Permalink
    Definition Classes
    MappedForeignKey
  2. type KeyType = String

    Permalink
    Definition Classes
    MappedStringForeignKeyBaseForeignKey
  3. type KeyedForeignType = O

    Permalink
    Definition Classes
    MappedStringForeignKeyBaseForeignKey
  4. type OwnerType = T

    Permalink
    Definition Classes
    MappedStringForeignKeyBaseForeignKey
  5. type TheOwnerType = T

    Permalink

    Will be set to the type of the owner of the field

    Will be set to the type of the owner of the field

    Definition Classes
    MappedFieldMixableMappedField
  6. type ValueType = String

    Permalink

    Will be set to the type of the field

    Will be set to the type of the field

    Definition Classes
    MappedField → PValueHolder → ValueHolder

Abstract Value Members

  1. abstract def foreignMeta: KeyedMetaMapper[String, O]

    Permalink

    What's the MetaMapper for the foreign key

    What's the MetaMapper for the foreign key

    Definition Classes
    MappedForeignKey

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def :=(v: String): String

    Permalink
    Definition Classes
    MappedField
  4. def :=[Q](v: Q)(implicit arg0: (Q) ⇒ String): String

    Permalink
    Definition Classes
    MappedField
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def _dbColumnNameLC: String

    Permalink

    The forced lower case column names

    The forced lower case column names

    Definition Classes
    BaseMappedField
  7. def _toForm: Box[Elem]

    Permalink

    Create an input field for the item

    Create an input field for the item

    Definition Classes
    MappedForeignKeyMappedFieldBaseMappedField
  8. def actualField(actual: T): MappedField[String, T]

    Permalink

    Get the field that this prototypical field represents

    Get the field that this prototypical field represents

    actual

    the object to find the field on

    Definition Classes
    MappedField
  9. def afterCreate: Unit

    Permalink
    Definition Classes
    LifecycleCallbacks
  10. def afterDelete: Unit

    Permalink
    Definition Classes
    LifecycleCallbacks
  11. def afterSave: Unit

    Permalink
    Definition Classes
    LifecycleCallbacks
  12. def afterUpdate: Unit

    Permalink
    Definition Classes
    LifecycleCallbacks
  13. def afterValidation: Unit

    Permalink
    Definition Classes
    LifecycleCallbacks
  14. def afterValidationOnCreate: Unit

    Permalink
    Definition Classes
    LifecycleCallbacks
  15. def afterValidationOnUpdate: Unit

    Permalink
    Definition Classes
    LifecycleCallbacks
  16. def allFields: Seq[BaseField]

    Permalink
    Definition Classes
    BaseField → FieldContainer
  17. def appendFieldId(in: Elem): Elem

    Permalink

    If the field has a defined fieldId, append it

    If the field has a defined fieldId, append it

    Attributes
    protected
    Definition Classes
    MappedField
  18. def apply(v: O): T

    Permalink

    Set the value from an instance of the foreign mapper class.

    Set the value from an instance of the foreign mapper class. obj will be set to Full(v)

    returns

    the Mapper containing this field

    Definition Classes
    MappedForeignKey
  19. def apply(v: Box[O]): T

    Permalink

    Set the value from a possible instance of the foreign mapper class.

    Set the value from a possible instance of the foreign mapper class. v will be cached in obj. If v is Empty, set the value to defaultValue (-1)

    returns

    the Mapper containing this field

    Definition Classes
    MappedForeignKey
  20. def apply(v: String): T

    Permalink
    Definition Classes
    MappedStringHasApplyBoxStringMappedField
  21. def apply[Q](v: Q)(implicit arg0: (Q) ⇒ String): T

    Permalink
    Definition Classes
    MappedField
  22. def asHtml: Node

    Permalink
    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField → ReadableField → Bindable
  23. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  24. def asJs: List[(String, JsExp)]

    Permalink
    Definition Classes
    BaseMappedField
  25. def asJsExp: JsExp

    Permalink
    Definition Classes
    MappedStringBaseMappedField
  26. def asJsonField: Box[JField]

    Permalink
    Definition Classes
    BaseMappedField
  27. def asJsonValue: Box[JValue]

    Permalink
    Definition Classes
    MappedStringBaseMappedField
  28. def asSafeJs(obs: Box[KeyObfuscator]): JsExp

    Permalink
  29. def asString: String

    Permalink

    Return the field name and field value, delimited by an '='

    Return the field name and field value, delimited by an '='

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField
  30. def atomicUpdate(f: (ValueType) ⇒ ValueType): ValueType

    Permalink
    Definition Classes
    Settable
  31. def beforeCreate: Unit

    Permalink
    Definition Classes
    LifecycleCallbacks
  32. def beforeDelete: Unit

    Permalink
    Definition Classes
    LifecycleCallbacks
  33. def beforeSave: Unit

    Permalink

    This method, which gets called when the mapper class is going to be saved, sets the field's value from obj if it's set to the default (!defined_?).

    This method, which gets called when the mapper class is going to be saved, sets the field's value from obj if it's set to the default (!defined_?). Overrides LifecycleCallbacks.beforeSave

    Definition Classes
    MappedForeignKeyLifecycleCallbacks
  34. def beforeUpdate: Unit

    Permalink
    Definition Classes
    LifecycleCallbacks
  35. def beforeValidation: Unit

    Permalink
    Definition Classes
    LifecycleCallbacks
  36. def beforeValidationOnCreate: Unit

    Permalink
    Definition Classes
    LifecycleCallbacks
  37. def beforeValidationOnUpdate: Unit

    Permalink
    Definition Classes
    LifecycleCallbacks
  38. def boxStrToValType(in: Box[String]): String

    Permalink
    Attributes
    protected
    Definition Classes
    MappedString → StringValidators
  39. def buildSetActualValue(accessor: Method, inst: AnyRef, columnName: String): (T, AnyRef) ⇒ Unit

    Permalink
    Definition Classes
    MappedStringMappedField
  40. def buildSetBooleanValue(accessor: Method, columnName: String): (T, Boolean, Boolean) ⇒ Unit

    Permalink
    Definition Classes
    MappedStringMappedField
  41. def buildSetDateValue(accessor: Method, columnName: String): (T, Date) ⇒ Unit

    Permalink
    Definition Classes
    MappedStringMappedField
  42. def buildSetLongValue(accessor: Method, columnName: String): (T, Long, Boolean) ⇒ Unit

    Permalink
    Definition Classes
    MappedStringMappedField
  43. def buildSetStringValue(accessor: Method, columnName: String): (T, String) ⇒ Unit

    Permalink
    Definition Classes
    MappedStringMappedField
  44. def cached_?: Boolean

    Permalink

    Is the obj field cached

    Is the obj field cached

    Definition Classes
    MappedForeignKey
  45. def calcFieldName: String

    Permalink
    Definition Classes
    MappedField
  46. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    MappedField → Equals
  47. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def convertToJDBCFriendly(value: String): AnyRef

    Permalink
    Definition Classes
    MappedField
  49. def crop(in: ValueType): ValueType

    Permalink
    Definition Classes
    StringValidators
  50. def dbAddedColumn: Box[() ⇒ Unit]

    Permalink

    Called when a column has been added to the database via Schemifier

    Called when a column has been added to the database via Schemifier

    Definition Classes
    MappedFieldBaseMappedField
  51. def dbAddedForeignKey: Box[() ⇒ Unit]

    Permalink

    Called when Schemifier adds a foreign key.

    Called when Schemifier adds a foreign key. Return a function that will be called when Schemifier is done with the schemification.

    Definition Classes
    MappedStringForeignKeyBaseForeignKey
  52. def dbAddedIndex: Box[() ⇒ Unit]

    Permalink

    Called when a column has indexed via Schemifier

    Called when a column has indexed via Schemifier

    Definition Classes
    MappedFieldBaseMappedField
  53. def dbAutogenerated_?: Boolean

    Permalink

    Is the primary key autogenerated

    Is the primary key autogenerated

    Definition Classes
    BaseMappedField
  54. def dbColumnCount: Int

    Permalink

    The number of database columns that this field represents

    The number of database columns that this field represents

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField
  55. def dbColumnName: String

    Permalink
    Definition Classes
    MappedFieldBaseMappedField
  56. def dbColumnNames(in: String): List[String]

    Permalink
    Definition Classes
    MappedFieldBaseMappedField
  57. def dbDisplay_?: Boolean

    Permalink
    Definition Classes
    BaseMappedField
  58. def dbFieldClass: Class[String]

    Permalink

    What is the real class that corresponds to FieldType

    What is the real class that corresponds to FieldType

    Definition Classes
    MappedStringTypedField
  59. def dbForeignKey_?: Boolean

    Permalink

    Is the field a foreign key reference

    Is the field a foreign key reference

    Definition Classes
    MappedStringForeignKeyMappedFieldBaseMappedFieldMixableMappedField
  60. def dbIgnoreSQLType_?: Boolean

    Permalink

    Do we ignore the targetSQLType for setObject

    Do we ignore the targetSQLType for setObject

    Definition Classes
    BaseMappedField
  61. def dbIncludeInForm_?: Boolean

    Permalink
    Definition Classes
    BaseMappedField
  62. def dbIndexFieldIndicatesSaved_?: Boolean

    Permalink

    override this method in indexed fields to indicate that the field has been saved

    override this method in indexed fields to indicate that the field has been saved

    Definition Classes
    MappedField
  63. def dbIndexed_?: Boolean

    Permalink

    Should the field be indexed?

    Should the field be indexed?

    Definition Classes
    MappedStringForeignKeyMappedFieldBaseMappedFieldMixableMappedField
  64. def dbKeyToColumn: MappedField[String, O] with IndexedField[String]

    Permalink
    Definition Classes
    MappedStringForeignKeyBaseForeignKey
  65. def dbKeyToTable: KeyedMetaMapper[String, O]

    Permalink

    get the object referred to by this foreign key

    get the object referred to by this foreign key

    Definition Classes
    MappedStringForeignKeyBaseForeignKeyMappedForeignKey
  66. def dbNotNull_?: Boolean

    Permalink

    Set to true if the field should be created as NOT NULL

    Set to true if the field should be created as NOT NULL

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField
  67. def dbPrimaryKey_?: Boolean

    Permalink

    Is the field the table's primary key

    Is the field the table's primary key

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField
  68. def dbSelectString: String

    Permalink
    Definition Classes
    MappedFieldSelectableField
  69. def defaultValue: String

    Permalink

    The default value for the field

    The default value for the field

    Definition Classes
    MappedStringTypedField
  70. def defined_?: Boolean

    Permalink

    Is the key defined?

    Is the key defined?

    Definition Classes
    MappedStringForeignKeyBaseForeignKeyMappedForeignKey
  71. def dirty_?(b: Boolean): Unit

    Permalink

    Make the field dirty

    Make the field dirty

    Attributes
    protected
    Definition Classes
    MappedForeignKeyMappedField
  72. def dirty_?: Boolean

    Permalink

    Is the field dirty (has it been changed since the record was loaded from the database

    Is the field dirty (has it been changed since the record was loaded from the database

    Definition Classes
    MappedField
  73. def displayHtml: NodeSeq

    Permalink
    Definition Classes
    ReadableField
  74. def displayName: String

    Permalink

    The display name of this field (e.g., "First Name")

    The display name of this field (e.g., "First Name")

    Definition Classes
    MappedField → ReadableField
  75. def displayNameHtml: Box[NodeSeq]

    Permalink
    Definition Classes
    ReadableField
  76. def doField(inst: T, meth: Method, func: PartialFunction[MappedField[String, T], Unit]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MappedField
  77. def doneWithSave(): Unit

    Permalink

    Called after the field is saved to the database

    Called after the field is saved to the database

    Attributes
    protected[net.liftweb.mapper]
    Definition Classes
    MappedStringBaseMappedField
  78. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  79. def equals(other: Any): Boolean

    Permalink

    Does the "right thing" comparing mapped fields

    Does the "right thing" comparing mapped fields

    Definition Classes
    MappedForeignKeyMappedField → Equals → AnyRef → Any
  80. def fieldCreatorString(dbType: DriverType, colName: String): String

    Permalink

    Given the driver type, return the string required to create the column in the database

    Given the driver type, return the string required to create the column in the database

    Definition Classes
    MappedStringMappedFieldBaseMappedField
  81. def fieldCreatorString(dbType: DriverType): List[String]

    Permalink

    Given the driver type, return a list of SQL creation strings for the columns represented by this field

    Given the driver type, return a list of SQL creation strings for the columns represented by this field

    Definition Classes
    MappedFieldBaseMappedField
  82. def fieldId: Option[NodeSeq]

    Permalink
    Definition Classes
    SettableField
  83. val fieldOwner: T

    Permalink

    Return the owner of this field

    Return the owner of this field

    Definition Classes
    MappedStringForeignKeyMappedStringMappedField
  84. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  85. def findFor(key: KeyedForeignType): List[OwnerType]

    Permalink
    Definition Classes
    MappedStringForeignKeyBaseForeignKey
  86. def findFor(key: KeyType): List[OwnerType]

    Permalink
    Definition Classes
    MappedStringForeignKeyBaseForeignKey
  87. def foreign: Box[O]

    Permalink

    Some people prefer the name foreign to materialize the foreign reference.

    Some people prefer the name foreign to materialize the foreign reference. This is a proxy to the obj method.

    Definition Classes
    MappedForeignKey
  88. def formElemAttrs: Seq[http.SHtml.ElemAttr]

    Permalink

    What form elements are we going to add to this field?

    What form elements are we going to add to this field?

    Definition Classes
    BaseMappedField
  89. def formInputType: String

    Permalink

    When building the form field, what's the input element's type attribute.

    When building the form field, what's the input element's type attribute. Defaults to 'text', but change to 'email' or other HTML5 values.

    Attributes
    protected
    Definition Classes
    MappedField
  90. def get: String

    Permalink

    Convert the field to its "context free" type (e.g., String, Int, Long, etc.) If there are no read permissions, the value will be obscured

    Convert the field to its "context free" type (e.g., String, Int, Long, etc.) If there are no read permissions, the value will be obscured

    Definition Classes
    MappedField → ValueHolder
  91. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  92. def getField(inst: T, meth: Method): MappedField[String, T]

    Permalink
    Attributes
    protected
    Definition Classes
    MappedField
  93. def hashCode(): Int

    Permalink
    Definition Classes
    MappedField → AnyRef → Any
  94. def helpAsHtml: Box[NodeSeq]

    Permalink
    Definition Classes
    SettableField
  95. def i_is_!: String

    Permalink

    The actual value of the field

    The actual value of the field

    Attributes
    protected
    Definition Classes
    MappedStringMappedField
  96. def i_obscure_!(in: String): String

    Permalink

    Obscure the incoming value to a "safe" value (e.g., if there are not enough rights to view the entire social security number 123-45-5678, this method might return ***-**-*678

    Obscure the incoming value to a "safe" value (e.g., if there are not enough rights to view the entire social security number 123-45-5678, this method might return ***-**-*678

    Attributes
    protected
    Definition Classes
    MappedStringMappedField
  97. final def i_set_!(value: String): String

    Permalink
    Attributes
    protected
    Definition Classes
    MappedField
  98. def i_was_!: String

    Permalink

    The value of the field when it was pulled from the DB

    The value of the field when it was pulled from the DB

    Attributes
    protected
    Definition Classes
    MappedStringMappedField
  99. def ignoreField_?: Boolean

    Permalink

    Should the field be ignored by the OR Mapper?

    Should the field be ignored by the OR Mapper?

    Definition Classes
    MappedField
  100. def immutableMsg: NodeSeq

    Permalink
    Definition Classes
    MappedForeignKey
  101. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  102. def jdbcFriendly: String

    Permalink

    Get a JDBC friendly object for the part of this field that maps to the first column in the database

    Get a JDBC friendly object for the part of this field that maps to the first column in the database

    Definition Classes
    MappedStringForeignKeyMappedFieldBaseMappedField
  103. def jdbcFriendly(field: String): String

    Permalink

    Get a JDBC friendly representation of the named field (this is used for MappedFields that correspond to more than 1 column in the database.)

    Get a JDBC friendly representation of the named field (this is used for MappedFields that correspond to more than 1 column in the database.)

    field

    -- the name of the field being mapped to

    Definition Classes
    MappedStringForeignKeyMappedStringMappedFieldBaseMappedField
  104. def manifest: scala.reflect.api.JavaUniverse.TypeTag[String]

    Permalink
    Definition Classes
    MappedStringMappedField
  105. val maxLen: Int

    Permalink
    Definition Classes
    MappedStringForeignKeyMappedString → StringValidators
  106. final def name: String

    Permalink

    The name of this field

    The name of this field

    Definition Classes
    MappedField → ReadableField
  107. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  108. def notNull(in: ValueType): ValueType

    Permalink
    Definition Classes
    StringValidators
  109. def notNullAppender(): String

    Permalink
    Definition Classes
    MappedField
  110. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  111. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  112. def obj: Box[O]

    Permalink

    Load and cache the record that this field references

    Load and cache the record that this field references

    Definition Classes
    MappedForeignKey
  113. def performAtomicOperation[T](f: ⇒ T): T

    Permalink
    Definition Classes
    Settable
  114. def primeObj(obj: Box[O]): Unit

    Permalink

    Prime the reference of this FK reference

    Prime the reference of this FK reference

    Definition Classes
    MappedForeignKey
  115. def readPermission_?: Boolean

    Permalink

    Given the current execution state, can the field be read?

    Given the current execution state, can the field be read?

    Definition Classes
    MappedStringMappedField
  116. def real_convertToJDBCFriendly(value: String): AnyRef

    Permalink
    Definition Classes
    MappedStringMappedField
  117. def real_i_set_!(value: String): String

    Permalink

    Must be implemented to store the value of the field

    Must be implemented to store the value of the field

    Attributes
    protected
    Definition Classes
    MappedStringMappedField
  118. def removeRegExChars(regEx: String)(in: ValueType): ValueType

    Permalink
    Definition Classes
    StringValidators
  119. def renderJs_?: Boolean

    Permalink
    Definition Classes
    BaseMappedField
  120. def required_?: Boolean

    Permalink
    Definition Classes
    SettableField
  121. def resetDirty: Unit

    Permalink
    Definition Classes
    MappedField
  122. def runFilters(in: String, filter: List[(String) ⇒ String]): String

    Permalink
    Definition Classes
    MappedField
  123. final def safe_?: Boolean

    Permalink

    Are we in "safe" mode (i.e., the value of the field can be read or written without any security checks.)

    Are we in "safe" mode (i.e., the value of the field can be read or written without any security checks.)

    Definition Classes
    MappedField
  124. def set(v: Box[O]): T

    Permalink
  125. def set(value: String): String

    Permalink

    Set the field to the value

    Set the field to the value

    Definition Classes
    MappedField → Settable
  126. def setFilter: List[(String) ⇒ String]

    Permalink

    A list of functions that transform the value before it is set.

    A list of functions that transform the value before it is set. The transformations are also applied before the value is used in a query. Typical applications of this are trimming and/or toLowerCase-ing strings

    Definition Classes
    MappedField → SettableField
  127. def setFromAny(in: Any): String

    Permalink

    Attempt to figure out what the incoming value is and set the field to that value.

    Attempt to figure out what the incoming value is and set the field to that value. Return true if the value could be assigned

    Definition Classes
    MappedStringMappedField
  128. def set_?(value: Box[String]): Box[String]

    Permalink

    Set the field to the Box value if the Box is Full

    Set the field to the Box value if the Box is Full

    Definition Classes
    MappedField
  129. def shouldDisplay_?: Boolean

    Permalink
    Definition Classes
    ReadableField
  130. def show_?: Boolean

    Permalink
    Definition Classes
    SettableField
  131. def sourceFieldInfo(): SourceFieldInfo { type T = String }

    Permalink
    Definition Classes
    MappedField
  132. def sourceInfoMetadata(): SourceFieldMetadata { type ST = String }

    Permalink

    Get the source field metadata for the field

    Get the source field metadata for the field

    returns

    the source field metadata for the field

    Definition Classes
    MappedStringMappedField
  133. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  134. def targetSQLType: Int

    Permalink

    Get the JDBC SQL Type for this field

    Get the JDBC SQL Type for this field

    Definition Classes
    MappedStringMappedFieldBaseMappedField
  135. def targetSQLType(field: String): Int

    Permalink

    Get the JDBC SQL Type for this field

    Get the JDBC SQL Type for this field

    Definition Classes
    MappedFieldBaseMappedField
  136. def toForm: Box[Elem]

    Permalink
    Definition Classes
    MappedStringMappedField → SettableField
  137. def toFormAppendedAttributes: MetaData

    Permalink
    Definition Classes
    MappedField
  138. def toLower(in: ValueType): ValueType

    Permalink
    Definition Classes
    StringValidators
  139. def toString(): String

    Permalink
    Definition Classes
    MappedStringForeignKeyMappedField → AnyRef → Any
  140. def toUpper(in: ValueType): ValueType

    Permalink
    Definition Classes
    StringValidators
  141. def trim(in: ValueType): ValueType

    Permalink
    Definition Classes
    StringValidators
  142. def uniqueFieldId: Box[String]

    Permalink

    The unique field id is the field name and the mapper name

    The unique field id is the field name and the mapper name

    Definition Classes
    MappedField → FieldIdentifier
  143. def update[Q](v: Q)(implicit arg0: (Q) ⇒ String): Unit

    Permalink

    Assignment from the underlying type.

    Assignment from the underlying type. It's ugly, but:
    field() = new_value
    field set new_value
    field.set(new_value)
    are all the same

    Definition Classes
    MappedField
  144. def uploadField_?: Boolean

    Permalink
    Definition Classes
    SettableField
  145. val valHasObj: (Long) ⇒ List[FieldError]

    Permalink

    A validation function that checks that obj is nonempty

    A validation function that checks that obj is nonempty

    Definition Classes
    MappedForeignKey
  146. def valMaxLen(len: Int, msg: ⇒ String)(value: ValueType): List[FieldError]

    Permalink
    Definition Classes
    StringValidators
  147. def valMinLen(len: Int, msg: ⇒ String)(value: ValueType): List[FieldError]

    Permalink
    Definition Classes
    StringValidators
  148. def valRegex(pat: Pattern, msg: ⇒ String)(value: ValueType): List[FieldError]

    Permalink
    Definition Classes
    StringValidators
  149. def valUnique(msg: ⇒ String)(value: String): List[FieldError]

    Permalink

    Make sure that the field is unique in the database

    Make sure that the field is unique in the database

    Definition Classes
    MappedString
  150. def validSelectValues: Box[List[(String, String)]]

    Permalink
    Definition Classes
    MappedForeignKey
  151. def validate: List[FieldError]

    Permalink
    Definition Classes
    MappedField → SettableField
  152. def validations: List[(String) ⇒ List[FieldError]]

    Permalink
    Definition Classes
    MappedField → SettableField
  153. def valueTypeToBoxString(in: String): Box[String]

    Permalink
    Attributes
    protected
    Definition Classes
    MappedString → StringValidators
  154. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  157. def was: String

    Permalink

    What value was the field's value when it was pulled from the DB?

    What value was the field's value when it was pulled from the DB?

    Definition Classes
    MappedField
  158. def writePermission_?: Boolean

    Permalink

    Given the current execution state, can the field be written?

    Given the current execution state, can the field be written?

    Definition Classes
    MappedStringMappedField

Inherited from BaseForeignKey

Inherited from MappedForeignKey[String, T, O]

Inherited from LifecycleCallbacks

Inherited from MappedString[T]

Inherited from HasApplyBoxString[T]

Inherited from StringValidators

Inherited from MappedField[String, T]

Inherited from Equals

Inherited from PSettableValueHolder[String]

Inherited from PValueHolder[String]

Inherited from BaseOwnedMappedField[T]

Inherited from BaseMappedField

Inherited from Serializable

Inherited from Serializable

Inherited from MixableMappedField

Inherited from BaseField

Inherited from FieldContainer

Inherited from SettableField

Inherited from SettableValueHolder

Inherited from Settable

Inherited from ReadableField

Inherited from ValueHolder

Inherited from FieldIdentifier

Inherited from Bindable

Inherited from SelectableField

Inherited from TypedField[String]

Inherited from AnyRef

Inherited from Any

Ungrouped