java.io.Serializable, java.lang.Cloneable, javax.swing.tree.TreeNode, SpatialNamedSBase, NamedSBase, SBase, TreeNodeWithChangeSupportpublic class CSGSetOperator extends CSGNode
ignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamelistOfListeners, parent, resourceBundle| Constructor | Description |
|---|---|
CSGSetOperator() |
|
CSGSetOperator(int level,
int version) |
|
CSGSetOperator(java.lang.String id,
int level,
int version) |
|
CSGSetOperator(CSGSetOperator csgso) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
addCSGNode(CSGNode csgNode) |
Adds a new
CSGNode to the listOfCSGNodes. |
CSGSetOperator |
clone() |
|
CSGHomogeneousTransformation |
createCSGHomogeneousTransformation() |
|
CSGHomogeneousTransformation |
createCSGHomogeneousTransformation(java.lang.String id) |
Creates a new
CSGHomogeneousTransformation element and adds it to the ListOfCSGNodes list |
CSGPrimitive |
createCSGPrimitive() |
Creates a new CSGNode element and adds it to the ListOfCSGNodes list
|
CSGPrimitive |
createCSGPrimitive(java.lang.String id) |
Creates a new
CSGPrimitive element and adds it to the ListOfCSGNodes list |
CSGPseudoPrimitive |
createCSGPseudoPrimitive() |
|
CSGPseudoPrimitive |
createCSGPseudoPrimitive(java.lang.String id) |
Creates a new
CSGPseudoPrimitive element and adds it to the ListOfCSGNodes list |
CSGRotation |
createCSGRotation() |
|
CSGRotation |
createCSGRotation(java.lang.String id) |
Creates a new
CSGRotation element and adds it to the ListOfCSGNodes list |
CSGScale |
createCSGScale() |
|
CSGScale |
createCSGScale(java.lang.String id) |
Creates a new
CSGScale element and adds it to the ListOfCSGNodes list |
CSGSetOperator |
createCSGSetOperator() |
|
CSGSetOperator |
createCSGSetOperator(java.lang.String id) |
Creates a new
CSGSetOperator element and adds it to the ListOfCSGNodes list |
CSGTranslation |
createCSGTranslation() |
|
CSGTranslation |
createCSGTranslation(java.lang.String id) |
Creates a new
CSGTranslation element and adds it to the ListOfCSGNodes list |
boolean |
equals(java.lang.Object object) |
|
boolean |
getAllowsChildren() |
|
javax.swing.tree.TreeNode |
getChildAt(int index) |
|
int |
getChildCount() |
|
java.lang.String |
getComplementA() |
Returns the value of complementA
|
java.lang.String |
getComplementB() |
Returns the value of complementB
|
java.lang.String |
getElementName() |
|
ListOf<CSGNode> |
getListOfCSGNodes() |
Returns the listOfCSGNodes.
|
SetOperation |
getOperationType() |
Returns the value of operationType
|
int |
hashCode() |
|
boolean |
isSetComplementA() |
Returns whether complementA is set
|
boolean |
isSetComplementB() |
Returns whether complementB is set
|
boolean |
isSetListOfCSGNodes() |
Returns
true, if listOfCSGNodes contains at least one element. |
boolean |
isSetOperationType() |
Returns whether operationType is set
|
boolean |
readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value) |
|
void |
removeCSGNode(int i) |
Removes an element from the listOfCSGNodes at the given index.
|
void |
removeCSGNode(java.lang.String id) |
|
boolean |
removeCSGNode(CSGNode csgNode) |
Removes an element from the listOfCSGNodes.
|
void |
setComplementA(java.lang.String complementA) |
Sets the value of complementA
|
void |
setComplementB(java.lang.String complementB) |
Sets the value of complementB
|
void |
setListOfCSGNodes(ListOf<CSGNode> listOfCSGNodes) |
Sets the given
ListOf<CSGNode>. |
void |
setOperationType(SetOperation operationType) |
Sets the value of operationType
|
boolean |
unsetComplementA() |
Unsets the variable complementA
|
boolean |
unsetComplementB() |
Unsets the variable complementB
|
boolean |
unsetListOfCSGNodes() |
Returns
true, if listOfCSGNodes contain at least one element,
otherwise false |
boolean |
unsetOperationType() |
Unsets the variable operationType
|
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, 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, 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 CSGSetOperator()
public CSGSetOperator(CSGSetOperator csgso)
csgso - public CSGSetOperator(int level,
int version)
level - version - public CSGSetOperator(java.lang.String id,
int level,
int version)
id - level - version - public CSGSetOperator clone()
clone in interface SBaseclone in class AbstractSpatialNamedSBasepublic boolean equals(java.lang.Object object)
public java.lang.String getComplementA()
public boolean isSetComplementA()
public void setComplementA(java.lang.String complementA)
complementA - public boolean unsetComplementA()
true, if complementA was set before,
otherwise falsepublic java.lang.String getComplementB()
public boolean isSetComplementB()
public void setComplementB(java.lang.String complementB)
complementB - public boolean unsetComplementB()
true, if complementB was set before,
otherwise falsepublic SetOperation getOperationType()
public boolean isSetOperationType()
public void setOperationType(SetOperation operationType)
operationType - public boolean unsetOperationType()
true, if operationType was set before,
otherwise falsepublic boolean isSetListOfCSGNodes()
true, if listOfCSGNodes contains at least one element.true, if listOfCSGNodes contains at least one element,
otherwise falsepublic ListOf<CSGNode> getListOfCSGNodes()
public void setListOfCSGNodes(ListOf<CSGNode> listOfCSGNodes)
ListOf<CSGNode>. If listOfCSGNodes
was defined before and contains some elements, they are all unset.listOfCSGNodes - public boolean unsetListOfCSGNodes()
true, if listOfCSGNodes contain at least one element,
otherwise falsetrue, if listOfCSGNodes contain at least one element,
otherwise falsepublic boolean addCSGNode(CSGNode csgNode)
CSGNode to the listOfCSGNodes.
The listOfCSGNodes is initialized if necessary.
csgNode - the element to add to the listtrue (as specified by Collection.add(E))public boolean removeCSGNode(CSGNode csgNode)
csgNode - the element to be removed from the listtrue if the list contained the specified elementList.remove(Object)public void removeCSGNode(int i)
i - the index where to remove the CSGNodejava.lang.IndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public void removeCSGNode(java.lang.String id)
id - public CSGPrimitive createCSGPrimitive()
public CSGPseudoPrimitive createCSGPseudoPrimitive()
public CSGSetOperator createCSGSetOperator()
public CSGTranslation createCSGTranslation()
public CSGRotation createCSGRotation()
public CSGScale createCSGScale()
public CSGHomogeneousTransformation createCSGHomogeneousTransformation()
public CSGHomogeneousTransformation createCSGHomogeneousTransformation(java.lang.String id)
CSGHomogeneousTransformation element and adds it to the ListOfCSGNodes listid - CSGHomogeneousTransformation elementpublic CSGScale createCSGScale(java.lang.String id)
CSGScale element and adds it to the ListOfCSGNodes listid - CSGScale elementpublic CSGRotation createCSGRotation(java.lang.String id)
CSGRotation element and adds it to the ListOfCSGNodes listid - CSGRotation elementpublic CSGTranslation createCSGTranslation(java.lang.String id)
CSGTranslation element and adds it to the ListOfCSGNodes listid - CSGTranslation elementpublic CSGSetOperator createCSGSetOperator(java.lang.String id)
CSGSetOperator element and adds it to the ListOfCSGNodes listid - CSGSetOperator elementpublic CSGPseudoPrimitive createCSGPseudoPrimitive(java.lang.String id)
CSGPseudoPrimitive element and adds it to the ListOfCSGNodes listid - CSGPseudoPrimitive elementpublic CSGPrimitive createCSGPrimitive(java.lang.String id)
CSGPrimitive element and adds it to the ListOfCSGNodes listid - CSGPrimitive 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 java.lang.String getElementName()
getElementName in interface SBasegetElementName in class AbstractSBaseCopyright © 2009–2022. All rights reserved.