org.biomoby.shared
Class MobyDataTypeTemplate
java.lang.Object
org.biomoby.shared.MobyDataType
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.
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 |
MobyDataTypeTemplate
public MobyDataTypeTemplate(MobyDataType mdt)
bindTemplate
public void bindTemplate(MobyDataType subtype)
throws Exception
- Throws:
Exception
unbindTemplate
public void unbindTemplate()
isBound
public boolean isBound()
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010