|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectBaseMap
public abstract class BaseMap
The BaseMap class provide an abstract base PropertyMap class from which other concrete PropertyMap implementation can derive. It contains some common code (such as property key validation and the implementation of the base delegation model) that is generically useful.
Constructor Summary | |
---|---|
BaseMap()
|
Method Summary | ||
---|---|---|
boolean |
containsPropertySet(Class<? extends Annotation> propertySet)
Returns true if the PropertyMap contains one or more values for the specified PropertySet, false otherwise. |
|
PropertyMap |
getDelegateMap()
Returns a delegate base property map from which values will be derived if not found within the local property map. |
|
Class |
getMapClass()
Returns the PropertySet or Control interface class associated with the PropertyMap. |
|
Object |
getProperty(PropertyKey key)
Returns the property value specified by 'key' within this map. |
|
|
getPropertySet(Class<T> propertySet)
Returns a PropertySet proxy instance that derives its data from the contents of the property map. |
|
protected boolean |
isValidKey(PropertyKey key)
Checks to ensure that the provided key is a valid key for this PropertyMap |
|
void |
setDelegateMap(PropertyMap delegateMap)
Sets a delegate base property map from which values will be derived if not found within the local property map. |
|
protected void |
setMapClass(Class mapClass)
Sets the PropertySet or Control interface associated with this map. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface PropertyMap |
---|
setProperty |
Constructor Detail |
---|
public BaseMap()
Method Detail |
---|
protected void setMapClass(Class mapClass)
public Class getMapClass()
getMapClass
in interface PropertyMap
protected boolean isValidKey(PropertyKey key)
public void setDelegateMap(PropertyMap delegateMap)
setDelegateMap
in interface PropertyMap
public PropertyMap getDelegateMap()
getDelegateMap
in interface PropertyMap
public Object getProperty(PropertyKey key)
getProperty
in interface PropertyMap
public boolean containsPropertySet(Class<? extends Annotation> propertySet)
containsPropertySet
in interface PropertyMap
public <T extends Annotation> T getPropertySet(Class<T> propertySet)
getPropertySet
in interface PropertyMap
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |