public interface ManagedParameter extends Serializable, TransientAttachments
Modifier and Type | Method and Description |
---|---|
String |
checkValidValue(MetaValue value)
Check whether this is a valid value
|
String |
getDescription()
Get the description
|
<T> T |
getField(String fieldName,
Class<T> expected)
Get a field
|
Fields |
getFields()
Get the fields
|
Set<MetaValue> |
getLegalValues()
Get the legal values
|
Comparable<?> |
getMaximumValue()
Get the miximum value
|
MetaType |
getMetaType()
Get the type
|
Comparable<?> |
getMinimumValue()
Get the minimum value
|
String |
getName()
Get the property's name
|
MetaValue |
getValue()
Get the value
|
void |
setField(String fieldName,
Serializable value)
Set a field
|
void |
setValue(MetaValue value)
Set the value
|
getTransientAttachment, getTransientAttachment, setTransientAttachment
Fields getFields()
<T> T getField(String fieldName, Class<T> expected)
T
- the expected typefieldName
- the field nameexpected
- the expected typevoid setField(String fieldName, Serializable value)
fieldName
- the field namevalue
- the valueString getName()
String getDescription()
MetaType getMetaType()
MetaValue getValue()
void setValue(MetaValue value)
value
- the valueComparable<?> getMinimumValue()
Comparable<?> getMaximumValue()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.