public class ReplacedBy extends SBaseRef
ignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamelistOfListeners, parent, resourceBundle| Constructor and Description |
|---|
ReplacedBy()
Creates a ReplacedBy instance
|
ReplacedBy(int level,
int version)
Creates a ReplacedBy instance with a level and version.
|
ReplacedBy(ReplacedBy obj)
Clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
ReplacedBy |
clone()
clones this class
|
boolean |
equals(Object obj) |
String |
getSubmodelRef()
Returns the value of submodelRef
|
int |
hashCode() |
void |
initDefaults()
Initializes the default values using the namespace.
|
boolean |
isSetSubmodelRef()
Returns whether submodelRef is set
|
boolean |
readAttribute(String attributeName,
String prefix,
String value) |
boolean |
removeFromParent() |
void |
setSubmodelRef(String submodelRef)
Sets the value of the required submodelRef attribute.
|
boolean |
unsetSubmodelRef()
Unsets the variable submodelRef
|
Map<String,String> |
writeXMLAttributes() |
createSBaseRef, getAllowsChildren, getChildAt, getChildCount, getIdRef, getMetaIdRef, getPortRef, getSBaseRef, getUnitRef, isSetIdRef, isSetMetaIdRef, isSetPortRef, isSetSBaseRef, isSetUnitRef, setIdRef, setMetaIdRef, setPortRef, setSBaseRef, setUnitRef, unsetIdRef, unsetMetaIdRef, unsetPortRef, unsetSBaseRef, unsetUnitRefaddCVTerm, 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, toString, 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, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, userObjectKeySetfinalize, getClass, notify, notifyAll, wait, wait, waitremoveTreeNodeChangeListeneraddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetpublic ReplacedBy()
public ReplacedBy(int level,
int version)
level - the SBML levelversion - the SBML versionpublic ReplacedBy(ReplacedBy obj)
obj - the instance to clonepublic ReplacedBy clone()
public void initDefaults()
initDefaults in class SBaseRefpublic int hashCode()
public boolean equals(Object obj)
public String getSubmodelRef()
public boolean isSetSubmodelRef()
public void setSubmodelRef(String submodelRef)
The required attribute submodelRef takes a value which must be
the identifier of a Submodel object in the containing model.
This attribute is analogous to the corresponding attribute on
ReplacedElement; that is, the model referenced by the
Submodel object establishes the object namespaces for the portRef,
idRef, unitRef and metaIdRef attributes: only objects within the Model
object may be referenced by those attributes.
submodelRef - the value of submodelRefpublic boolean unsetSubmodelRef()
true, if submodelRef was set before,
otherwise falsepublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface SBasewriteXMLAttributes in class SBaseRefpublic boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface SBasereadAttribute in class SBaseRefpublic boolean removeFromParent()
removeFromParent in interface TreeNodeWithChangeSupportremoveFromParent in class AbstractTreeNodeCopyright © 2009–2016. All rights reserved.