public class CSGSetOperator extends CSGNode
ignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamelistOfListeners, parent, resourceBundle| Constructor and Description |
|---|
CSGSetOperator() |
CSGSetOperator(CSGSetOperator csgso) |
CSGSetOperator(int level,
int version) |
CSGSetOperator(String id,
int level,
int version) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addCSGNode(CSGNode csgNode)
Adds a new
CSGNode to the listOfCSGNodes. |
CSGSetOperator |
clone() |
CSGHomogeneousTransformation |
createCSGHomogeneousTransformation() |
CSGHomogeneousTransformation |
createCSGHomogeneousTransformation(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(String id)
Creates a new
CSGPrimitive element and adds it to the ListOfCSGNodes list |
CSGPseudoPrimitive |
createCSGPseudoPrimitive() |
CSGPseudoPrimitive |
createCSGPseudoPrimitive(String id)
Creates a new
CSGPseudoPrimitive element and adds it to the ListOfCSGNodes list |
CSGRotation |
createCSGRotation() |
CSGRotation |
createCSGRotation(String id)
Creates a new
CSGRotation element and adds it to the ListOfCSGNodes list |
CSGScale |
createCSGScale() |
CSGScale |
createCSGScale(String id)
Creates a new
CSGScale element and adds it to the ListOfCSGNodes list |
CSGSetOperator |
createCSGSetOperator() |
CSGSetOperator |
createCSGSetOperator(String id)
Creates a new
CSGSetOperator element and adds it to the ListOfCSGNodes list |
CSGTranslation |
createCSGTranslation() |
CSGTranslation |
createCSGTranslation(String id)
Creates a new
CSGTranslation element and adds it to the ListOfCSGNodes list |
boolean |
equals(Object object) |
boolean |
getAllowsChildren() |
TreeNode |
getChildAt(int index) |
int |
getChildCount() |
String |
getComplementA()
Returns the value of complementA
|
String |
getComplementB()
Returns the value of complementB
|
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(String attributeName,
String prefix,
String value) |
boolean |
removeCSGNode(CSGNode csgNode)
Removes an element from the listOfCSGNodes.
|
void |
removeCSGNode(int i)
Removes an element from the listOfCSGNodes at the given index.
|
void |
removeCSGNode(String id) |
void |
setComplementA(String complementA)
Sets the value of complementA
|
void |
setComplementB(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
|
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, 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, 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 CSGSetOperator()
public CSGSetOperator(CSGSetOperator csgso)
csgso - public CSGSetOperator(int level,
int version)
level - version - public CSGSetOperator(String id, int level, int version)
id - level - version - public CSGSetOperator clone()
clone in interface SBaseclone in class AbstractSpatialNamedSBasepublic boolean equals(Object object)
public String getComplementA()
public boolean isSetComplementA()
public void setComplementA(String complementA)
complementA - public boolean unsetComplementA()
true, if complementA was set before,
otherwise falsepublic String getComplementB()
public boolean isSetComplementB()
public void setComplementB(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 listCollection#add)public boolean removeCSGNode(CSGNode csgNode)
csgNode - the element to be removed from the listList#remove(Object)public void removeCSGNode(int i)
i - the index where to remove the CSGNodeIndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public void removeCSGNode(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(String id)
CSGHomogeneousTransformation element and adds it to the ListOfCSGNodes listid - CSGHomogeneousTransformation elementpublic CSGScale createCSGScale(String id)
CSGScale element and adds it to the ListOfCSGNodes listid - CSGScale elementpublic CSGRotation createCSGRotation(String id)
CSGRotation element and adds it to the ListOfCSGNodes listid - CSGRotation elementpublic CSGTranslation createCSGTranslation(String id)
CSGTranslation element and adds it to the ListOfCSGNodes listid - CSGTranslation elementpublic CSGSetOperator createCSGSetOperator(String id)
CSGSetOperator element and adds it to the ListOfCSGNodes listid - CSGSetOperator elementpublic CSGPseudoPrimitive createCSGPseudoPrimitive(String id)
CSGPseudoPrimitive element and adds it to the ListOfCSGNodes listid - CSGPseudoPrimitive elementpublic CSGPrimitive createCSGPrimitive(String id)
CSGPrimitive element and adds it to the ListOfCSGNodes listid - CSGPrimitive 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 String getElementName()
getElementName in interface SBasegetElementName in class AbstractSBaseCopyright © 2009–2016. All rights reserved.