apollo.editor
Class TransactionSubpart
java.lang.Object
apollo.editor.TransactionSubpart
- All Implemented Interfaces:
- java.io.Serializable
public class TransactionSubpart
- extends java.lang.Object
- implements java.io.Serializable
Enumeration/value class that captures the subpart of the feature that is
effected by the transaction. This is an optional part of a Transaction as
some transactions effect the whole feature (e.g. delete transcript). Do I
go too far with this enumeration stuff? I think its nice to have a strongly
typed enumeration over a loose string but it is more work to add more subparts
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
logger
protected static final org.apache.log4j.Logger logger
PARENT
public static TransactionSubpart PARENT
ID
public static TransactionSubpart ID
NAME
public static TransactionSubpart NAME
TYPE
public static TransactionSubpart TYPE
COMMENT
public static TransactionSubpart COMMENT
SYNONYM
public static TransactionSubpart SYNONYM
LIMITS
public static TransactionSubpart LIMITS
PEPTIDE_LIMITS
public static TransactionSubpart PEPTIDE_LIMITS
PEPTIDE_NAME
public static TransactionSubpart PEPTIDE_NAME
- Yuck! we need a Peptide feature! this subpart is just a hack around a lack
of peptide feature. This is SequenceI's displayId
PEPTIDE_ID
public static TransactionSubpart PEPTIDE_ID
- This maps to SequenceI accessionNo
CDNA_NAME
public static TransactionSubpart CDNA_NAME
REPLACE_STOP
public static TransactionSubpart REPLACE_STOP
PLUS_1_FRAMESHIFT
public static TransactionSubpart PLUS_1_FRAMESHIFT
MINUS_1_FRAMESHIFT
public static TransactionSubpart MINUS_1_FRAMESHIFT
NON_CONSENSUS_SPLICE_OKAY
public static TransactionSubpart NON_CONSENSUS_SPLICE_OKAY
IS_DICISTRONIC
public static TransactionSubpart IS_DICISTRONIC
IS_PROBLEMATIC
public static TransactionSubpart IS_PROBLEMATIC
FINISHED
public static TransactionSubpart FINISHED
DBXREF
public static TransactionSubpart DBXREF
DESCRIPTION
public static TransactionSubpart DESCRIPTION
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
stringToSubpart
public static TransactionSubpart stringToSubpart(java.lang.String subpartString)
isBoolean
public boolean isBoolean()
isString
public boolean isString()
isType
public boolean isType()
isId
public boolean isId()
isInt
public boolean isInt()
isName
public boolean isName()
isComment
public boolean isComment()
isSynonym
public boolean isSynonym()
isLimits
public boolean isLimits()
isFinished
public boolean isFinished()
isProblematic
public boolean isProblematic()
isDbXref
public boolean isDbXref()
isDescription
public boolean isDescription()
setValue
public void setValue(SeqFeatureI feat,
java.lang.Object value)
setValue
public void setValue(SeqFeatureI feat,
java.lang.Object value,
boolean isAdd)