phenote.edit
Class CharChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by phenote.edit.CharChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class CharChangeEvent
extends java.util.EventObject

This actually is for a CharField change - rename this CharFieldChangeEvent? but its really the value of the field thats changed perhaps CharFieldValueChangeEvent - well thats verbose but wait this holds the transaction that could be an update to a char field val or a whole new char, or delete char... so maybe the name is proper

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CharChangeEvent(java.lang.Object source, TransactionI t)
           
 
Method Summary
 org.obo.datamodel.OBOClass getNewTerm()
           
 TransactionI getTransaction()
           
 boolean isAdd()
           
 boolean isUpdate()
           
 boolean isUpdateForCharField(CharField cf)
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CharChangeEvent

CharChangeEvent(java.lang.Object source,
                TransactionI t)
Method Detail

getNewTerm

public org.obo.datamodel.OBOClass getNewTerm()

isUpdate

public boolean isUpdate()

isAdd

public boolean isAdd()

getTransaction

public TransactionI getTransaction()

isUpdateForCharField

public boolean isUpdateForCharField(CharField cf)