org.weda.property.impl
Class AbstractPropertyOperation<L>

java.lang.Object
  extended by org.weda.property.impl.AbstractPropertyOperation<L>
All Implemented Interfaces:
PropertyOperation<L>
Direct Known Subclasses:
PropertyGetOperation, PropertySetOperation

public abstract class AbstractPropertyOperation<L>
extends java.lang.Object
implements PropertyOperation<L>

Author:
Mikhail Titov

Field Summary
protected  java.util.List<L> listeners
           
protected  java.lang.reflect.Method method
           
protected  java.lang.String propertyName
           
 
Constructor Summary
AbstractPropertyOperation(java.lang.Class propOwnerClass, java.lang.String propertyName, boolean isGetter)
           
 
Method Summary
 void addListener(L listener)
           
 boolean equals(java.lang.Object o)
           
 java.lang.reflect.Method getMethod()
           
 int hashCode()
           
 void removeListener(L listener)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.weda.property.PropertyOperation
invoke
 

Field Detail

propertyName

protected java.lang.String propertyName

method

protected java.lang.reflect.Method method

listeners

protected java.util.List<L> listeners
Constructor Detail

AbstractPropertyOperation

public AbstractPropertyOperation(java.lang.Class propOwnerClass,
                                 java.lang.String propertyName,
                                 boolean isGetter)
                          throws java.beans.IntrospectionException
Throws:
java.beans.IntrospectionException
Method Detail

addListener

public void addListener(L listener)
Specified by:
addListener in interface PropertyOperation<L>

removeListener

public void removeListener(L listener)
Specified by:
removeListener in interface PropertyOperation<L>

getMethod

public java.lang.reflect.Method getMethod()
Specified by:
getMethod in interface PropertyOperation<L>

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2005-2006 . All Rights Reserved.