|
||||||||||
| 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 Java 5.0 (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 PropertyMappublic Object getProperty(PropertyKey key)
getProperty in interface PropertyMapgetProperty in class BaseMappublic boolean containsPropertySet(Class<? extends Annotation> propertySet)
containsPropertySet in interface PropertyMapcontainsPropertySet in class BaseMappublic AnnotatedElement getAnnotatedElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||