phenote.edit
Class AddTransaction
java.lang.Object
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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddTransaction
public AddTransaction(CharacterI chr,
CharacterListManager clManager)
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