public class Domain extends AbstractSpatialNamedSBase
ignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamelistOfListeners, parent, resourceBundle| Constructor and Description |
|---|
Domain() |
Domain(Domain dm) |
Domain(int level,
int version) |
Domain(String id,
int level,
int version) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addInteriorPoint(InteriorPoint interiorPoint)
Adds a new
InteriorPoint to the listOfInteriorPoints. |
Domain |
clone() |
InteriorPoint |
createInteriorPoint()
Creates a new
InteriorPoint element and adds it to the ListOfInteriorPoints list |
boolean |
equals(Object object) |
boolean |
getAllowsChildren() |
TreeNode |
getChildAt(int index) |
int |
getChildCount() |
String |
getDomainType()
Returns the value of domainType
|
ListOf<InteriorPoint> |
getListOfInteriorPoints()
Returns the listOfInteriorPoints.
|
int |
hashCode() |
boolean |
isSetDomainType()
Returns whether domainType is set
|
boolean |
isSetListOfInteriorPoints()
Returns
true, if listOfInteriorPoints contains at least one element. |
boolean |
readAttribute(String attributeName,
String prefix,
String value) |
void |
removeInteriorPoint(int i)
Removes an element from the listOfInteriorPoints at the given index.
|
boolean |
removeInteriorPoint(InteriorPoint interiorPoint)
Removes an element from the listOfInteriorPoints.
|
void |
setDomainType(String domainType)
Sets the value of domainType
|
void |
setListOfInteriorPoints(ListOf<InteriorPoint> listOfInteriorPoints)
Sets the given
ListOf<InteriorPoint>. |
boolean |
unsetDomainType()
Unsets the variable domainType
|
boolean |
unsetListOfInteriorPoints()
Returns
true, if listOfInteriorPoints contain at least one element,
otherwise false |
Map<String,String> |
writeXMLAttributes() |
getSpatialId, initDefaults, isSetSpatialId, setSpatialId, unsetSpatialIdaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkAttribute, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getId, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isIdMandatory, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetId, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetName, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, removeCVTerm, removeCVTerm, setAnnotation, setAnnotation, setAnnotation, setHistory, setId, setLevel, setMetaId, setName, setNamespace, setNotes, setNotes, setPackageVersion, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetId, unsetMetaId, unsetName, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isReadingInProgress, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, toString, userObjectKeySetfinalize, getClass, notify, notifyAll, wait, wait, waitaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getId, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isIdMandatory, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetId, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetName, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, registerChild, removeCVTerm, removeCVTerm, removeTreeNodeChangeListener, setAnnotation, setAnnotation, setAnnotation, setHistory, setId, setLevel, setMetaId, setName, setNotes, setNotes, setPackageVersion, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetId, unsetMetaId, unsetName, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetpublic Domain()
public Domain(int level,
int version)
level - version - public Domain(String id, int level, int version)
id - level - version - public Domain(Domain dm)
dm - public Domain clone()
clone in interface SBaseclone in class AbstractSpatialNamedSBasepublic String getDomainType()
public boolean isSetDomainType()
public void setDomainType(String domainType)
domainType - public boolean unsetDomainType()
true, if domainType was set before,
otherwise falsepublic boolean isSetListOfInteriorPoints()
true, if listOfInteriorPoints contains at least one element.true, if listOfInteriorPoints contains at least one element,
otherwise falsepublic ListOf<InteriorPoint> getListOfInteriorPoints()
public void setListOfInteriorPoints(ListOf<InteriorPoint> listOfInteriorPoints)
ListOf<InteriorPoint>. If listOfInteriorPoints
was defined before and contains some elements, they are all unset.listOfInteriorPoints - public boolean unsetListOfInteriorPoints()
true, if listOfInteriorPoints contain at least one element,
otherwise falsetrue, if listOfInteriorPoints contain at least one element,
otherwise falsepublic boolean addInteriorPoint(InteriorPoint interiorPoint)
InteriorPoint to the listOfInteriorPoints.
The listOfInteriorPoints is initialized if necessary.
interiorPoint - the element to add to the listtrue (as specified by Collection#add)public boolean removeInteriorPoint(InteriorPoint interiorPoint)
interiorPoint - the element to be removed from the listList#remove(Object)public void removeInteriorPoint(int i)
i - the index where to remove the InteriorPointIndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public InteriorPoint createInteriorPoint()
InteriorPoint element and adds it to the ListOfInteriorPoints listInteriorPoint elementpublic boolean getAllowsChildren()
getAllowsChildren in interface TreeNodegetAllowsChildren in class AbstractSpatialNamedSBasepublic int getChildCount()
getChildCount in interface TreeNodegetChildCount in class AbstractSpatialNamedSBasepublic TreeNode getChildAt(int index)
getChildAt in interface TreeNodegetChildAt in class AbstractSpatialNamedSBasepublic int hashCode()
hashCode in interface SBasehashCode in class AbstractSpatialNamedSBasepublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface SBasewriteXMLAttributes in class AbstractSpatialNamedSBasepublic boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface SBasereadAttribute in class AbstractSpatialNamedSBasepublic boolean equals(Object object)
equals in interface SBaseequals in class AbstractSpatialNamedSBaseCopyright © 2009–2016. All rights reserved.