c

org.scalatra.commands

BasicFieldDescriptor

class BasicFieldDescriptor[T] extends FieldDescriptor[T]

Linear Supertypes
FieldDescriptor[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BasicFieldDescriptor
  2. FieldDescriptor
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  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 allowableValues(vals: T*): FieldDescriptor[T]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  5. val allowableValues: List[T]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  6. def apply[S](original: Either[String, Option[S]])(implicit ms: Manifest[S], convert: TypeConverter[S, T]): DataboundFieldDescriptor[S, T]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. 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]
  10. def defaultValue: Option[T]
    Definition Classes
    FieldDescriptor
  11. def description(desc: String): FieldDescriptor[T]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  12. val description: String
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  13. def displayName(name: String): FieldDescriptor[T]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  14. val displayName: Option[String]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(obj: Any): Boolean
    Definition Classes
    FieldDescriptor → AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int
    Definition Classes
    FieldDescriptor → AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isInvalid: Boolean
    Definition Classes
    FieldDescriptor
  22. def isValid: Boolean
    Definition Classes
    FieldDescriptor
  23. val name: String
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def notes(note: String): FieldDescriptor[T]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  26. val notes: String
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  27. final def notify(): Unit
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  29. def optional(default: ⇒ T): FieldDescriptor[T]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  30. def position(pos: Int): FieldDescriptor[T]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  31. val position: Int
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  32. def required: FieldDescriptor[T]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  33. val requiredError: String
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  34. def sourcedFrom(valueSource: ValueSource.Value): FieldDescriptor[T]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    FieldDescriptor → AnyRef → Any
  37. def transform(endo: (T) ⇒ T): FieldDescriptor[T]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  38. def validateWith(bindingValidators: BindingValidator[T]*): FieldDescriptor[T]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  39. val validator: Option[Validator[T]]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  40. def value: FieldValidation[T]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  41. implicit val valueManifest: Manifest[T]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  42. val valueSource: ValueSource.Value
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def withDefaultValue(default: ⇒ T): FieldDescriptor[T]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor
  47. def withRequiredError(msgFormat: String): FieldDescriptor[T]
    Definition Classes
    BasicFieldDescriptorFieldDescriptor

Inherited from FieldDescriptor[T]

Inherited from AnyRef

Inherited from Any

Ungrouped