|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.progeeks.meta.DefaultPropertyMutator
public class DefaultPropertyMutator
A default implementation of PropertyMutator that will work with any MetaObject. It can be used as an implementation on its own or subclassed to provide performance improvements in metakit specific cases.
| Constructor Summary | |
|---|---|
DefaultPropertyMutator(java.lang.String propertyName,
MetaObject metaObject)
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds the specified PropertyChangeListener to this mutator. |
MetaObject |
getParentObject()
Returns the object that contains this property. |
PropertyInfo |
getPropertyInfo()
Returns the info associated with this property. |
java.lang.String |
getPropertyName()
Returns the name of this property. |
java.lang.Object |
getValue()
Returns the value of this property. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes the specified PropertyChangeListener from this mutator. |
void |
setValue(java.lang.Object value)
Resets the value of this property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPropertyMutator(java.lang.String propertyName,
MetaObject metaObject)
| Method Detail |
|---|
public java.lang.String getPropertyName()
getPropertyName in interface PropertyMutatorpublic MetaObject getParentObject()
getParentObject in interface PropertyMutatorpublic PropertyInfo getPropertyInfo()
getPropertyInfo in interface PropertyMutatorpublic java.lang.Object getValue()
getValue in interface PropertyMutatorpublic void setValue(java.lang.Object value)
setValue in interface PropertyMutatorpublic void addPropertyChangeListener(java.beans.PropertyChangeListener l)
addPropertyChangeListener in interface PropertyMutatorpublic void removePropertyChangeListener(java.beans.PropertyChangeListener l)
removePropertyChangeListener in interface PropertyMutator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||