class
BasicFieldDescriptor[T] extends FieldDescriptor[T]
Instance Constructors
-
new
BasicFieldDescriptor(name: String, validator: Option[Validator[T]] = None, transformations: (T) ⇒ T = identity, isRequired: Boolean = false, description: String = "", notes: String = "", defVal: Option[DefVal[T]] = None, valueSource: ValueSource.Value = ValueSource.Body, allowableValues: List[T] = Nil, displayName: Option[String] = None, position: Int = 0, requiredError: String = "%s is required.")(implicit valueManifest: Manifest[T])
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
allowableValues(vals: T*): FieldDescriptor[T]
-
val
allowableValues: List[T]
-
def
apply[S](original: Either[String, Option[S]])(implicit ms: Manifest[S], convert: TypeConverter[S, T]): DataboundFieldDescriptor[S, T]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
copy(name: String = name, validator: Option[Validator[T]] = validator, transformations: (T) ⇒ T = transformations, isRequired: Boolean = isRequired, description: String = description, notes: String = notes, defVal: Option[DefVal[T]] = defVal, valueSource: ValueSource.Value = valueSource, allowableValues: List[T] = allowableValues, displayName: Option[String] = displayName, position: Int = position, requiredError: String = requiredError): FieldDescriptor[T]
-
def
defaultValue: Option[T]
-
def
description(desc: String): FieldDescriptor[T]
-
val
description: String
-
def
displayName(name: String): FieldDescriptor[T]
-
val
displayName: Option[String]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(obj: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
isInvalid: Boolean
-
def
isValid: Boolean
-
val
name: String
-
final
def
ne(arg0: AnyRef): Boolean
-
-
val
notes: String
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
optional(default: ⇒ T): FieldDescriptor[T]
-
-
val
position: Int
-
-
val
requiredError: String
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
transform(endo: (T) ⇒ T): FieldDescriptor[T]
-
-
val
validator: Option[Validator[T]]
-
-
implicit
val
valueManifest: Manifest[T]
-
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withDefaultValue(default: ⇒ T): FieldDescriptor[T]
-
def
withRequiredError(msgFormat: String): FieldDescriptor[T]
Inherited from AnyRef
Inherited from Any