|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bdgp.io.AbstractDataAdapter
apollo.dataadapter.AbstractApolloAdapter
apollo.dataadapter.ensj19.EnsJAdapter
apollo.dataadapter.ensj19.AnnotationEnsJAdapter
public class AnnotationEnsJAdapter
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
logger
|
| Fields inherited from class apollo.dataadapter.ensj19.EnsJAdapter |
|---|
STABLE_ID_PREFIX, stateInformation, tend, tstart |
| Fields inherited from class apollo.dataadapter.AbstractApolloAdapter |
|---|
curation_set, style |
| Fields inherited from class org.bdgp.io.AbstractDataAdapter |
|---|
listeners |
| Fields inherited from interface apollo.dataadapter.ApolloDataAdapterI |
|---|
OP_APPEND_DATA, OP_READ_DATA, OP_READ_RAW_ANALYSIS, OP_READ_SEQUENCE, OP_WRITE_DATA |
| Constructor Summary | |
|---|---|
AnnotationEnsJAdapter()
|
|
| Method Summary | |
|---|---|
java.lang.Boolean |
addToCurationSet()
|
void |
clearStateInformation()
This SHOULD reset all the contents of the stateInformation being held by an adapter: with setStateInformation, this is not guaranteed. |
void |
commitChanges(CurationSet curationSet)
Write the (now edited) curation set back to the otter server or file, depending on what was nominated. |
CurationSet |
getExistingCurationSet()
|
java.io.InputStream |
getInputStream()
|
DataInputType |
getInputType()
This is an arcane requirement to get the File->Save menu to light up. |
java.lang.String |
getName()
Name label for use in Data Adapter Chooser. |
java.io.OutputStream |
getOutputStream()
|
SequenceI |
getSequence(DbXref dbxref)
We will either draw our sequence from the main database, or from another sequence database, if it was passed in. |
org.bdgp.io.IOOperation[] |
getSupportedOperations()
Returns a list of all operations supported by this data adapter |
org.bdgp.io.DataAdapterUI |
getUI(org.bdgp.io.IOOperation op)
need to cache guis. |
protected boolean |
rollbackAnnotations(CurationSet curationSet)
Overridden by AnnotationEnsJAdapter and EfeatchSequenceAdapter |
void |
setInputStream(java.io.InputStream newValue)
|
void |
setOutputStream(java.io.OutputStream newValue)
|
void |
setStateInformation(java.util.Properties stateInformation)
In addition to superclass processing, We will be passed otter-i/o file names. |
void |
setWritingStateInformation(java.util.Properties stateInformation)
|
| Methods inherited from class apollo.dataadapter.ensj19.EnsJAdapter |
|---|
getAnnotatedRegion, getCurationSet, getCurationSetWithoutClearingData, getDriver, getDriverConf, getInput, getLocation, getLoggingFile, getMode, getOrganism, getRawAnalysisResults, getReferenceSequence, getRegion, getSequence, getSequence, getSequences, getSequences, getStateInformation, getType, init, main, printTime, setDriverConf, setLoggingFile, setRegion, validateRegionSpecified |
| Methods inherited from class org.bdgp.io.AbstractDataAdapter |
|---|
addProgressListener, fireProgressEvent, removeProgressListener, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.bdgp.io.VisualDataAdapter |
|---|
addProgressListener, fireProgressEvent, removeProgressListener |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public AnnotationEnsJAdapter()
| Method Detail |
|---|
public org.bdgp.io.IOOperation[] getSupportedOperations()
org.bdgp.io.DataAdapter
getSupportedOperations in interface org.bdgp.io.DataAdaptergetSupportedOperations in class EnsJAdapterpublic DataInputType getInputType()
getInputType in interface ApolloDataAdapterIgetInputType in class EnsJAdapterShould this go into org.bdgp.io.DataAdapter?public java.lang.String getName()
AbstractApolloAdapter
getName in interface org.bdgp.io.DataAdaptergetName in class EnsJAdapterpublic java.io.InputStream getInputStream()
public void setInputStream(java.io.InputStream newValue)
public java.io.OutputStream getOutputStream()
public void setOutputStream(java.io.OutputStream newValue)
public SequenceI getSequence(DbXref dbxref)
throws ApolloAdapterException
getSequence in interface ApolloDataAdapterIgetSequence in class AbstractApolloAdapterApolloAdapterExceptionpublic org.bdgp.io.DataAdapterUI getUI(org.bdgp.io.IOOperation op)
public void commitChanges(CurationSet curationSet)
throws ApolloAdapterException
commitChanges in interface ApolloDataAdapterIcommitChanges in class EnsJAdapterApolloAdapterExceptionpublic void setStateInformation(java.util.Properties stateInformation)
setStateInformation in interface ApolloDataAdapterIsetStateInformation in class EnsJAdapterpublic void setWritingStateInformation(java.util.Properties stateInformation)
public void clearStateInformation()
AbstractApolloAdapter
clearStateInformation in class EnsJAdapterprotected boolean rollbackAnnotations(CurationSet curationSet)
AbstractApolloAdapter
rollbackAnnotations in class AbstractApolloAdapter
public java.lang.Boolean addToCurationSet()
throws ApolloAdapterException
addToCurationSet in interface ApolloDataAdapterIaddToCurationSet in class AbstractApolloAdapterApolloAdapterExceptionpublic CurationSet getExistingCurationSet()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||