|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ManagedProperty
ManagedProperty.
| Method Summary | ||
|---|---|---|
String |
checkValidValue(Serializable value)
Check whether this is a valid value |
|
Map<String,Annotation> |
getAnnotations()
Get the annotations associated with the property |
|
String |
getDescription()
Get the description |
|
|
getField(String fieldName,
Class<T> expected)
Get a field |
|
Fields |
getFields()
Get the fields |
|
Set<org.jboss.metatype.api.values.MetaValue> |
getLegalValues()
Get the legal values |
|
ManagedObject |
getManagedObject()
Get the managed object the property is associated with. |
|
String |
getMappedName()
Get the property's mapped name. |
|
Comparable<?> |
getMaximumValue()
Get the miximum value |
|
org.jboss.metatype.api.types.MetaType |
getMetaType()
Get the type |
|
Comparable<?> |
getMinimumValue()
Get the minimum value |
|
String |
getName()
Get the property's name |
|
ManagedObject |
getTargetManagedObject()
Get the ManagedObject |
|
Object |
getValue()
Get the value |
|
boolean |
hasViewUse(ViewUse use)
See if the property has the indicated ViewUse among its |
|
boolean |
isMandatory()
Whether the property is mandatory |
|
void |
setField(String fieldName,
Serializable value)
Set a field |
|
void |
setManagedObject(ManagedObject managedObject)
|
|
void |
setTargetManagedObject(ManagedObject target)
|
|
void |
setValue(Serializable value)
Set the value |
|
| Method Detail |
|---|
ManagedObject getManagedObject()
void setManagedObject(ManagedObject managedObject)
ManagedObject getTargetManagedObject()
ManagementObjectRef}void setTargetManagedObject(ManagedObject target)
Fields getFields()
<T> T getField(String fieldName,
Class<T> expected)
T - the expected typefieldName - the field nameexpected - the expected type
void setField(String fieldName,
Serializable value)
fieldName - the field namevalue - the valueString getName()
String getMappedName()
String getDescription()
org.jboss.metatype.api.types.MetaType getMetaType()
Map<String,Annotation> getAnnotations()
boolean hasViewUse(ViewUse use)
use - - the ViewUse to check for
Object getValue()
void setValue(Serializable value)
value - the valueSet<org.jboss.metatype.api.values.MetaValue> getLegalValues()
Comparable<?> getMinimumValue()
Comparable<?> getMaximumValue()
String checkValidValue(Serializable value)
value - the value
boolean isMandatory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||