|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectBaseMap
AnnotatedElementMap
public class AnnotatedElementMap
The AnnotatedElementMap represents a read-only PropertyMap where property values are derived from JSR-175 annotations.
Constructor Summary | |
---|---|
AnnotatedElementMap(AnnotatedElement annotElem)
Creates a new PropertyMap that is initialized based upon the type and annotations associated with an AnnotatedElement. |
Method Summary | |
---|---|
boolean |
containsPropertySet(Class<? extends Annotation> propertySet)
Returns true if the PropertyMap contains one or more values for the specified PropertySet, false otherwise |
AnnotatedElement |
getAnnotatedElement()
Returns the AnnotatedElement used for PropertyMap values. |
Object |
getProperty(PropertyKey key)
Returns the property value specified by 'key' within this map. |
void |
setProperty(PropertyKey key,
Object value)
Sets the property specifed by 'key' within this map. |
Methods inherited from class BaseMap |
---|
getDelegateMap, getMapClass, getPropertySet, isValidKey, setDelegateMap, setMapClass |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface PropertyMap |
---|
getDelegateMap, getMapClass, getPropertySet, setDelegateMap |
Constructor Detail |
---|
public AnnotatedElementMap(AnnotatedElement annotElem)
Method Detail |
---|
public void setProperty(PropertyKey key, Object value)
setProperty
in interface PropertyMap
public Object getProperty(PropertyKey key)
getProperty
in interface PropertyMap
getProperty
in class BaseMap
public boolean containsPropertySet(Class<? extends Annotation> propertySet)
containsPropertySet
in interface PropertyMap
containsPropertySet
in class BaseMap
public AnnotatedElement getAnnotatedElement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |