|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.util.beans.BeanChangeSupport
org.progeeks.meta.AbstractMetaObject
org.progeeks.meta.util.MapMetaObject
public class MapMetaObject
A meta-object implementation providing access to a java.util.Map.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.progeeks.meta.AbstractMetaObject |
---|
AbstractMetaObject.BaseListMutator |
Field Summary | |
---|---|
static MetaClass |
BASE_MAP_CLASS
|
Constructor Summary | |
---|---|
MapMetaObject(java.util.Map map,
MetaClass metaClass,
MetaKit metaKit)
Creates a MetaObject implementation that wraps the specified map and provides access consistent with the specified meta-class. |
|
MapMetaObject(java.util.Map map,
MetaClass metaClass,
MetaKit metaKit,
boolean applyDefaults)
Creates a MetaObject implementation that wraps the specified map and provides access consistent with the specified meta-class. |
|
MapMetaObject(TypedMap map,
MetaClass superClass,
MetaKit metaKit)
Creates a MetaObject implementat that wraps the specified map and creates a meta-class using the TypedMap's property info. |
|
MapMetaObject(TypedMap map,
MetaKit metaKit)
Creates a MetaObject implementat that wraps the specified map and creates a meta-class using the TypedMap's property info. |
Method Summary | |
---|---|
protected void |
applyDefaults()
Internal method to apply default values from the PropertyInfo definitions. |
boolean |
equals(java.lang.Object obj)
|
protected java.util.Map |
getMap()
|
protected java.lang.Object |
getPropertyValue(java.lang.String name)
Retrieves the property from the internal map. |
int |
hashCode()
|
protected java.lang.Object |
setPropertyValue(java.lang.String name,
java.lang.Object value)
Stores the property in the internal map. |
java.lang.String |
toString()
|
protected java.lang.Object |
wrapPropertyValue(java.lang.String name,
PropertyType type,
java.lang.Object value)
Overridden to wrap any nested TypedMaps. |
Methods inherited from class org.progeeks.meta.AbstractMetaObject |
---|
cacheWrapper, createListMutator, createPropertyMutator, getCachedWrapper, getMetaClass, getMetaKit, getProperty, getPropertyMutator, readMetaClass, readResolve, release, setMetaClass, setMetaKit, setProperty, unwrapPropertyValue, writeMetaClass, writeReplace |
Methods inherited from class org.progeeks.util.beans.BeanChangeSupport |
---|
addPropertyChangeListener, addPropertyChangeListener, clearAllListeners, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, hasListeners, hasListeners, removePropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.progeeks.meta.MetaObject |
---|
addPropertyChangeListener, addPropertyChangeListener, clearAllListeners, hasListeners, hasListeners, removePropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
Field Detail |
---|
public static final MetaClass BASE_MAP_CLASS
Constructor Detail |
---|
public MapMetaObject(TypedMap map, MetaClass superClass, MetaKit metaKit)
public MapMetaObject(java.util.Map map, MetaClass metaClass, MetaKit metaKit)
public MapMetaObject(java.util.Map map, MetaClass metaClass, MetaKit metaKit, boolean applyDefaults)
public MapMetaObject(TypedMap map, MetaKit metaKit)
Method Detail |
---|
protected void applyDefaults()
protected java.util.Map getMap()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
protected java.lang.Object setPropertyValue(java.lang.String name, java.lang.Object value)
setPropertyValue
in class AbstractMetaObject
protected java.lang.Object getPropertyValue(java.lang.String name)
getPropertyValue
in class AbstractMetaObject
protected java.lang.Object wrapPropertyValue(java.lang.String name, PropertyType type, java.lang.Object value)
wrapPropertyValue
in class AbstractMetaObject
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |