apollo.editor
Class TransactionUtil

java.lang.Object
  extended by apollo.editor.TransactionUtil

public class TransactionUtil
extends java.lang.Object

Does all the retrieving of subpart stuff - im contemplating subclasses - it would be a lot of subclasses - or there could be a separate subclass for each type this is getting slowly phased out for TransactionSubpart subclasses


Constructor Summary
TransactionUtil()
           
 
Method Summary
static void flipBoolean(AnnotatedFeatureI annot, TransactionSubpart subpart)
           
static boolean getBoolean(AnnotatedFeatureI annot, TransactionSubpart subpart)
           
static void setId(AnnotatedFeatureI ann, java.lang.String newId, ApolloNameAdapterI nameAdapter)
          This belongs in Transaction but gene edit panel still does some of this internally - this is called by UpdateTransaction for type changes that cause id changes, eventually capture with compound trans
static void undoUpdateComment(Transaction trans, AnnotatedFeatureI ann)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionUtil

public TransactionUtil()
Method Detail

getBoolean

public static boolean getBoolean(AnnotatedFeatureI annot,
                                 TransactionSubpart subpart)

flipBoolean

public static void flipBoolean(AnnotatedFeatureI annot,
                               TransactionSubpart subpart)

undoUpdateComment

public static void undoUpdateComment(Transaction trans,
                                     AnnotatedFeatureI ann)

setId

public static void setId(AnnotatedFeatureI ann,
                         java.lang.String newId,
                         ApolloNameAdapterI nameAdapter)
This belongs in Transaction but gene edit panel still does some of this internally - this is called by UpdateTransaction for type changes that cause id changes, eventually capture with compound trans