|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.primix.tapestry.util.prop.MapHelper.MapAccessor
Method Summary | |
java.lang.Object |
get(java.lang.Object instance)
Returns the current value of the property in the instance. |
java.lang.String |
getName()
Returns the name of the property. |
java.lang.Class |
getType()
Returns Object .class, because we never know the
type of objects stored in a Map . |
boolean |
isReadable()
Returns true if a method exists to read the current value of the property. |
boolean |
isReadWrite()
Returns true if the property is readable and writable: it contains both accessor and mutator methods. |
boolean |
isWritable()
Returns true if a method exists to update the current value of the property. |
void |
set(java.lang.Object instance,
java.lang.Object value)
Sets the value of the property in the instance. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.Object get(java.lang.Object instance)
IPropertyAccessor
get
in interface IPropertyAccessor
public java.lang.String getName()
IPropertyAccessor
getName
in interface IPropertyAccessor
public boolean isReadable()
IPropertyAccessor
isReadable
in interface IPropertyAccessor
public boolean isWritable()
IPropertyAccessor
isWritable
in interface IPropertyAccessor
public boolean isReadWrite()
IPropertyAccessor
isReadWrite
in interface IPropertyAccessor
public java.lang.Class getType()
Object
.class, because we never know the
type of objects stored in a Map
.getType
in interface IPropertyAccessor
public void set(java.lang.Object instance, java.lang.Object value)
IPropertyAccessor
set
in interface IPropertyAccessor
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |