Version: 1.1.1

org.biomoby.shared
Class MobyDataTypeTemplate

java.lang.Object
  extended by org.biomoby.shared.MobyDataType
      extended by org.biomoby.shared.MobyDataTypeTemplate
All Implemented Interfaces:
Comparable<MobyDataType>, LSIDAccessible

public class MobyDataTypeTemplate
extends MobyDataType

You probably don't need to be looking at this class. This is a class with a highly specialized purpose: to allow runtime binding of a MobyDataType to a particular subclass of the data type, so that the object can be used in runtime templating of data types for object instances in the org.biomoby.shared.data package. For example, MobyServlet allows a data type definition such as <T extends GenericSequence> and at run time, the subclass actually instantiated must be enforced throughout the scope of the declaration.


Field Summary
 
Fields inherited from class org.biomoby.shared.MobyDataType
DUMMY_NAME
 
Constructor Summary
MobyDataTypeTemplate(MobyDataType mdt)
           
 
Method Summary
 void bindTemplate(MobyDataType subtype)
           
 boolean isBound()
           
 void unbindTemplate()
           
 
Methods inherited from class org.biomoby.shared.MobyDataType
addChild, addChild, addParentName, compareTo, equals, format, getAllChildren, getAuthority, getAuthorityComparator, getChild, getChildren, getComment, getDataType, getDataType, getDescription, getEmailContact, getId, getLineage, getLSID, getName, getParent, getParentName, getParentNames, getRegistry, inheritsFrom, inheritsFrom, setAuthority, setChildren, setComment, setDescription, setEmailContact, setId, setLSID, setName, setParentNames, setRegistry, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MobyDataTypeTemplate

public MobyDataTypeTemplate(MobyDataType mdt)
Method Detail

bindTemplate

public void bindTemplate(MobyDataType subtype)
                  throws Exception
Throws:
Exception

unbindTemplate

public void unbindTemplate()

isBound

public boolean isBound()

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010