phenote.edit
Class AddTransaction

java.lang.Object
  extended by phenote.edit.AddTransaction
All Implemented Interfaces:
TransactionI

public class AddTransaction
extends java.lang.Object
implements TransactionI

For adding a character (not a char field/subpart - thats an update)


Constructor Summary
AddTransaction(CharacterI chr, CharacterListManager clManager)
           
 
Method Summary
 void editModel()
           
 java.util.List<CharacterI> getCharacters()
           
 java.util.List<CharacterI> getDeletedAnnotations()
           
 org.obo.datamodel.OBOClass getNewTerm()
           
 boolean isAdd()
           
 boolean isUpdate()
           
 boolean isUpdateForCharField(CharField cf)
          this is for update trans - return false
 void undo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddTransaction

public AddTransaction(CharacterI chr,
                      CharacterListManager clManager)
Method Detail

getDeletedAnnotations

public java.util.List<CharacterI> getDeletedAnnotations()
Specified by:
getDeletedAnnotations in interface TransactionI

isUpdate

public boolean isUpdate()
Specified by:
isUpdate in interface TransactionI

isAdd

public boolean isAdd()
Specified by:
isAdd in interface TransactionI

editModel

public void editModel()
Specified by:
editModel in interface TransactionI

undo

public void undo()
Specified by:
undo in interface TransactionI

getCharacters

public java.util.List<CharacterI> getCharacters()
Specified by:
getCharacters in interface TransactionI

isUpdateForCharField

public boolean isUpdateForCharField(CharField cf)
this is for update trans - return false

Specified by:
isUpdateForCharField in interface TransactionI

getNewTerm

public org.obo.datamodel.OBOClass getNewTerm()
Specified by:
getNewTerm in interface TransactionI