AGGREGATION_ARRAY, AGGREGATION_COLLECTION, AGGREGATION_MAP, COLLECTION, COMPLEX, MAP, SIMPLE| Constructor and Description | 
|---|
Constant()
Constructs a new Constant. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clearValue(ParsingContext context)
Clears the property value. 
 | 
Object | 
createValue(ParsingContext context)
Creates the property value and returns it. 
 | 
boolean | 
defines(Object value)  | 
PropertyAccessor | 
getAccessor()  | 
Class<?> | 
getType()  | 
Object | 
getValue(ParsingContext context)
Returns the value of this property. 
 | 
boolean | 
isIdentifier()
Returns whether this property or any of its descendants are used to 
 identify a bean object. 
 | 
void | 
setAccessor(PropertyAccessor accessor)  | 
void | 
setIdentifier(boolean identifier)  | 
void | 
setType(Class<?> type)  | 
void | 
setValue(Object value)
Sets the constant value. 
 | 
void | 
setValue(ParsingContext context,
        Object value)
Sets the property value (before marshalling). 
 | 
int | 
type()
Returns the property type. 
 | 
registerLocalsadd, clone, find, getChildren, getFirst, getName, isDescendant, isSupportedChild, iterator, print, print, setName, size, sort, toParamString, toString, updateReferencesequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic int type()
Propertytype in interface PropertyProperty.SIMPLE, Property.COMPLEX, Property.AGGREGATION_ARRAY, Property.COLLECTION, 
   Property.AGGREGATION_COLLECTION, or Property.MAPpublic void clearValue(ParsingContext context)
PropertyProperty.getValue(ParsingContext) should
 return null, or Value.MISSING for lazy property values.clearValue in interface Propertycontext - the ParsingContextpublic Object createValue(ParsingContext context)
PropertycreateValue in interface Propertycontext - the ParsingContextpublic Object getValue(ParsingContext context)
PropertyWhen unmarshalling, this method should return Value.MISSING if the field
 was not present in the stream.  Or if present, but has no value, null should be returned.  
 
 
When marshalling, this method should return Value.MISSING for any optional
 segment bound to a bean object, or null if required.  Null field properties should 
 always return Value.MISSING.
getValue in interface Propertycontext - the ParsingContextValue.MISSING if not present in the stream,
   or Value.INVALID if the field was invalidpublic void setValue(Object value)
value - the valuepublic void setValue(ParsingContext context, Object value)
PropertysetValue in interface Propertycontext - the ParsingContextvalue - the property valuepublic boolean isIdentifier()
PropertyisIdentifier in interface Propertypublic void setIdentifier(boolean identifier)
setIdentifier in interface Propertypublic PropertyAccessor getAccessor()
getAccessor in interface Propertypublic void setAccessor(PropertyAccessor accessor)
setAccessor in interface Property