org.apache.bval.model
Interface Features.Property

All Known Subinterfaces:
Jsr303Features.Property, Reasons
All Known Implementing Classes:
MetaProperty
Enclosing interface:
Features

public static interface Features.Property

Features of MetaProperty


Field Summary
static String DEFAULT_VALUE
          INFO: String-representation of a default value
static String DENIED
          SECURITY, INFO: Boolean, Field accessible? If false, the field must not be displayed, queried, changed.
static String ENUM
          INFO: possible Enum values
static String HIDDEN
          INFO: Boolean, Field visible?
static String JAVASCRIPT_VALIDATION_FUNCTIONS
          Deprecated. 
static String MANDATORY
          VALIDATION: Boolean, mandatory field?
static String MAX_LENGTH
          VALIDATION: Integer, max.
static String MAX_VALUE
          VALIDATION: Comparable (e.g.
static String MIN_LENGTH
          VALIDATION: Integer, min.
static String MIN_VALUE
          VALIDATION: Comparable (e.g.
static String PREFERRED
          INFO: Boolean
static String READONLY
          SECURITY, INFO: Boolean, is value or relationship unmodifiable
static String REF_BEAN_ID
          INFO: relationship's target metaBean.id *
static String REF_BEAN_TYPE
          INFO: Class
Relationship's target metaBean.beanClass.
static String REF_CASCADE
          INFO: AccessStrategy[]
an array of accessStrategies how validation should cascade into relationship target beans
null when validation should NOT cascade into relationship target beans

Default: {PropertyAccess(metaProperty.name)}, when MetaProperty.metaBean is != null

static String REG_EXP
          VALIDATION: String, regular expression to validate the format of input data
static String TIME_LAG
          VALIDATION: String, Constraint for time-information of a Date-field: XMLMetaValue.TIMELAG_Past or XMLMetaValue.TIMELAG_Future
static String UNIQUE_KEY
          INFO: Boolean, TRUE if Property is a Unique Key
 

Field Detail

ENUM

static final String ENUM
INFO: possible Enum values

See Also:
Constant Field Values

UNIQUE_KEY

static final String UNIQUE_KEY
INFO: Boolean, TRUE if Property is a Unique Key

See Also:
Constant Field Values

MANDATORY

static final String MANDATORY
VALIDATION: Boolean, mandatory field?

See Also:
Constant Field Values

MAX_LENGTH

static final String MAX_LENGTH
VALIDATION: Integer, max. number of chars/digits / max. cardinality of a to-many relationship

See Also:
Constant Field Values

MAX_VALUE

static final String MAX_VALUE
VALIDATION: Comparable (e.g. a subclass of Number), max value

See Also:
Constant Field Values

MIN_LENGTH

static final String MIN_LENGTH
VALIDATION: Integer, min. number of chars/digits / min. cardinality of a to-many relationship

See Also:
Constant Field Values

MIN_VALUE

static final String MIN_VALUE
VALIDATION: Comparable (e.g. a subclass of Number), min value

See Also:
Constant Field Values

DEFAULT_VALUE

static final String DEFAULT_VALUE
INFO: String-representation of a default value

See Also:
Constant Field Values

READONLY

static final String READONLY
SECURITY, INFO: Boolean, is value or relationship unmodifiable

See Also:
Constant Field Values

DENIED

static final String DENIED
SECURITY, INFO: Boolean, Field accessible? If false, the field must not be displayed, queried, changed.

See Also:
Constant Field Values

REG_EXP

static final String REG_EXP
VALIDATION: String, regular expression to validate the format of input data

See Also:
Constant Field Values

TIME_LAG

static final String TIME_LAG
VALIDATION: String, Constraint for time-information of a Date-field: XMLMetaValue.TIMELAG_Past or XMLMetaValue.TIMELAG_Future

See Also:
Constant Field Values

HIDDEN

static final String HIDDEN
INFO: Boolean, Field visible?

See Also:
FeatureDescriptor.isHidden(), Constant Field Values

PREFERRED

static final String PREFERRED
INFO: Boolean

See Also:
FeatureDescriptor.isPreferred(), Constant Field Values

REF_BEAN_ID

static final String REF_BEAN_ID
INFO: relationship's target metaBean.id *

See Also:
Constant Field Values

REF_BEAN_TYPE

static final String REF_BEAN_TYPE
INFO: Class
Relationship's target metaBean.beanClass. In case of to-many relationships, this feature hold the Bean-type not the Collection-type.

See Also:
Constant Field Values

REF_CASCADE

static final String REF_CASCADE
INFO: AccessStrategy[]
an array of accessStrategies how validation should cascade into relationship target beans
null when validation should NOT cascade into relationship target beans

Default: {PropertyAccess(metaProperty.name)}, when MetaProperty.metaBean is != null

See Also:
Constant Field Values

JAVASCRIPT_VALIDATION_FUNCTIONS

@Deprecated
static final String JAVASCRIPT_VALIDATION_FUNCTIONS
Deprecated. 
INFO: an array with the string names of custom java script validation functions

See Also:
Constant Field Values


Copyright © 2010-2012 Apache Software Foundation. All Rights Reserved.