java.io.Serializable, java.lang.Cloneable, javax.swing.tree.TreeNode, SpatialNamedSBase, NamedSBase, SBase, TreeNodeWithChangeSupportpublic class Domain extends AbstractSpatialNamedSBase
ignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamelistOfListeners, parent, resourceBundle| Constructor | Description |
|---|---|
Domain() |
|
Domain(int level,
int version) |
|
Domain(java.lang.String id,
int level,
int version) |
|
Domain(Domain dm) |
| Modifier and Type | Method | 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(java.lang.Object object) |
|
boolean |
getAllowsChildren() |
|
javax.swing.tree.TreeNode |
getChildAt(int index) |
|
int |
getChildCount() |
|
java.lang.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(java.lang.String attributeName,
java.lang.String prefix,
java.lang.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(java.lang.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 |
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes() |
addCVTerm, addDeclaredNamespace, addExtension, addPlugin, addResources, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkAttribute, checkIdentifier, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllDeclaredNamespaces, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getFirstElementIndex, getHistory, getId, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasExtension, 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, removeDeclaredNamespaceByNamespace, removeDeclaredNamespaceByPrefix, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, replaceTopLevelAnnotationElement, replaceTopLevelAnnotationElement, setAnnotation, setAnnotation, setAnnotation, setHistory, setId, setLevel, setMetaId, setName, setNamespace, setNotes, setNotes, setPackageVersion, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, toString, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetId, unsetMetaId, unsetName, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTermgetSpatialId, initDefaults, isSetSpatialId, setSpatialId, unsetSpatialIdaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isCloningInProgress, isInvalidSBMLAllowed, isLeaf, isReadingInProgress, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, userObjectKeySetgetId, getName, isIdMandatory, isSetId, isSetName, setId, setName, unsetId, unsetNamefinalize, 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, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasExtension, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, registerChild, removeCVTerm, removeCVTerm, removeDeclaredNamespaceByNamespace, removeDeclaredNamespaceByPrefix, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTreeNodeChangeListener, replaceTopLevelAnnotationElement, replaceTopLevelAnnotationElement, setAnnotation, setAnnotation, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setPackageVersion, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, 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(java.lang.String id,
int level,
int version)
id - level - version - public Domain(Domain dm)
dm - public Domain clone()
clone in interface SBaseclone in class AbstractSpatialNamedSBasepublic java.lang.String getDomainType()
public boolean isSetDomainType()
public void setDomainType(java.lang.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(E))public boolean removeInteriorPoint(InteriorPoint interiorPoint)
interiorPoint - the element to be removed from the listtrue if the list contained the specified elementList.remove(Object)public void removeInteriorPoint(int i)
i - the index where to remove the InteriorPointjava.lang.IndexOutOfBoundsException - 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 javax.swing.tree.TreeNodegetAllowsChildren in class AbstractSpatialNamedSBasepublic int getChildCount()
getChildCount in interface javax.swing.tree.TreeNodegetChildCount in class AbstractSpatialNamedSBasepublic javax.swing.tree.TreeNode getChildAt(int index)
getChildAt in interface javax.swing.tree.TreeNodegetChildAt in class AbstractSpatialNamedSBasepublic int hashCode()
hashCode in interface SBasehashCode in class AbstractSpatialNamedSBasepublic java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
writeXMLAttributes in interface SBasewriteXMLAttributes in class AbstractSpatialNamedSBasepublic boolean readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
readAttribute in interface SBasereadAttribute in class AbstractSBasepublic boolean equals(java.lang.Object object)
equals in interface SBaseequals in class AbstractSpatialNamedSBaseCopyright © 2009–2022. All rights reserved.