Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.bdgp.apps.dagedit.dataadapter
Class DefaultIDAdapter  view DefaultIDAdapter download DefaultIDAdapter.java

java.lang.Object
  extended byorg.bdgp.apps.dagedit.dataadapter.DefaultIDAdapter
All Implemented Interfaces:
DEDataAdapterI

public class DefaultIDAdapter
extends java.lang.Object
implements DEDataAdapterI


Field Summary
protected static java.util.Vector categories
           
(package private)  org.bdgp.apps.dagedit.datamodel.Term currentRoot
           
protected static org.bdgp.apps.dagedit.datamodel.TermRelationshipType ISA_TYPE
           
protected static org.bdgp.apps.dagedit.datamodel.TermRelationshipType PARTOF_TYPE
           
protected static java.util.Vector types
           
 
Fields inherited from interface org.bdgp.apps.dagedit.dataadapter.DEDataAdapterI
CONFIGURE, EXPORT_TERMS, FIND_PRODUCTS, GET_HISTORY, GET_ID, IMPORT_TERMS, READ_TERMS, WRITE_TERMS
 
Constructor Summary
DefaultIDAdapter()
           
 
Method Summary
 void delegateToIDAdapter(DEDataAdapterI idAdapter)
           
 java.util.Vector getHistories()
           
 java.lang.String[] getIDs(org.bdgp.apps.dagedit.datamodel.Term root, org.bdgp.apps.dagedit.datamodel.Term term, java.lang.String prefix, int length, int count)
           
 java.lang.String[] getIDs(org.bdgp.apps.dagedit.datamodel.Term root, org.bdgp.apps.dagedit.datamodel.Term term, java.lang.String prefix, int minID, int maxID, int length, int count)
           
 java.lang.String getName()
           
 java.util.Vector getRelationshipTypes()
           
 org.bdgp.apps.dagedit.datamodel.DEEditHistory getRoot()
           
 java.util.Properties getStateInformation()
           
 IOOperation[] getSupportedOperations()
           
 java.util.Vector getTermCategories()
           
 java.lang.String getType()
           
 void init()
           
 void setStateInformation(java.util.Properties props)
           
 org.bdgp.apps.dagedit.datamodel.DEEditHistory write(org.bdgp.apps.dagedit.datamodel.DEEditHistory term)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentRoot

org.bdgp.apps.dagedit.datamodel.Term currentRoot

types

protected static java.util.Vector types

categories

protected static java.util.Vector categories

ISA_TYPE

protected static org.bdgp.apps.dagedit.datamodel.TermRelationshipType ISA_TYPE

PARTOF_TYPE

protected static org.bdgp.apps.dagedit.datamodel.TermRelationshipType PARTOF_TYPE
Constructor Detail

DefaultIDAdapter

public DefaultIDAdapter()
Method Detail

getRelationshipTypes

public java.util.Vector getRelationshipTypes()
Specified by:
getRelationshipTypes in interface DEDataAdapterI

getTermCategories

public java.util.Vector getTermCategories()
                                   throws DataAdapterException
Specified by:
getTermCategories in interface DEDataAdapterI

delegateToIDAdapter

public void delegateToIDAdapter(DEDataAdapterI idAdapter)
Specified by:
delegateToIDAdapter in interface DEDataAdapterI

getIDs

public java.lang.String[] getIDs(org.bdgp.apps.dagedit.datamodel.Term root,
                                 org.bdgp.apps.dagedit.datamodel.Term term,
                                 java.lang.String prefix,
                                 int length,
                                 int count)
                          throws DataAdapterException
Specified by:
getIDs in interface DEDataAdapterI

getIDs

public java.lang.String[] getIDs(org.bdgp.apps.dagedit.datamodel.Term root,
                                 org.bdgp.apps.dagedit.datamodel.Term term,
                                 java.lang.String prefix,
                                 int minID,
                                 int maxID,
                                 int length,
                                 int count)
                          throws DataAdapterException
Specified by:
getIDs in interface DEDataAdapterI

getName

public java.lang.String getName()

getType

public java.lang.String getType()

getSupportedOperations

public IOOperation[] getSupportedOperations()

init

public void init()

write

public org.bdgp.apps.dagedit.datamodel.DEEditHistory write(org.bdgp.apps.dagedit.datamodel.DEEditHistory term)
                                                    throws DataAdapterException
Specified by:
write in interface DEDataAdapterI

getRoot

public org.bdgp.apps.dagedit.datamodel.DEEditHistory getRoot()
                                                      throws DataAdapterException
Specified by:
getRoot in interface DEDataAdapterI

getHistories

public java.util.Vector getHistories()
                              throws DataAdapterException
Specified by:
getHistories in interface DEDataAdapterI

getStateInformation

public java.util.Properties getStateInformation()
Specified by:
getStateInformation in interface DEDataAdapterI

setStateInformation

public void setStateInformation(java.util.Properties props)
Specified by:
setStateInformation in interface DEDataAdapterI