public class SpeciesReferenceGlyph extends GraphicalObject
Constructor and Description |
---|
SpeciesReferenceGlyph()   |
SpeciesReferenceGlyph(LayoutPkgNamespaces layoutns)   |
SpeciesReferenceGlyph(LayoutPkgNamespaces layoutns,
String sid,
String speciesReferenceId,
String speciesGlyphId,
int role)   |
SpeciesReferenceGlyph(long level)   |
SpeciesReferenceGlyph(long level,
long version)   |
SpeciesReferenceGlyph(long level,
long version,
long pkgVersion)   |
SpeciesReferenceGlyph(SpeciesReferenceGlyph source)   |
SpeciesReferenceGlyph(XMLNode node)   |
SpeciesReferenceGlyph(XMLNode node,
long l2version)   |
Modifier and Type | Method and Description |
---|---|
SpeciesReferenceGlyph |
cloneObject()
Creates and returns a deep copy of this
SBase object. |
CubicBezier |
createCubicBezier()   |
LineSegment |
createLineSegment()   |
void |
delete()
Explicitly deletes the underlying native object.
|
Curve |
getCurve()   |
String |
getElementName()
Returns the XML element name of this object.
|
int |
getRole()   |
String |
getRoleString()   |
String |
getSpeciesGlyphId()   |
String |
getSpeciesReferenceId()   |
int |
getTypeCode()
Returns the libSBML type code for this object.
|
void |
initDefaults()   |
boolean |
isSetCurve()   |
boolean |
isSetRole()   |
boolean |
isSetSpeciesGlyphId()   |
boolean |
isSetSpeciesReferenceId()   |
void |
setCurve(Curve curve)   |
void |
setRole(int role)   |
void |
setRole(String role)   |
void |
setSpeciesGlyphId(String speciesGlyphId)   |
void |
setSpeciesReferenceId(String id)   |
XMLNode |
toXML()   |
getBoundingBox, getMetaIdRef, isSetMetaIdRef, setBoundingBox, setMetaIdRef, unsetId, unsetMetaIdRef
addCVTerm, addCVTerm, appendAnnotation, appendAnnotation, appendNotes, appendNotes, disablePackage, enablePackage, equals, getAncestorOfType, getAncestorOfType, getAnnotation, getAnnotationString, getColumn, getCVTerm, getCVTerms, getElementByMetaId, getElementBySId, getLevel, getLine, getListOfAllElements, getListOfAllElementsFromPlugins, getMetaId, getModel, getModelHistory, getNamespaces, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getPlugin, getResourceBiologicalQualifier, getResourceModelQualifier, getSBMLDocument, getSBOTerm, getSBOTermAsURL, getSBOTermID, getVersion, hashCode, hasValidLevelVersionNamespaceCombination, isPackageEnabled, isPackageURIEnabled, isSetAnnotation, isSetMetaId, isSetModelHistory, isSetNotes, isSetSBOTerm, matchesRequiredSBMLNamespacesForAddition, matchesSBMLNamespaces, removeFromParentAndDelete, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, renameMetaIdRefs, renameSIdRefs, renameUnitSIdRefs, replaceTopLevelAnnotationElement, replaceTopLevelAnnotationElement, setAnnotation, setAnnotation, setMetaId, setModelHistory, setNamespaces, setNotes, setNotes, setNotes, setSBOTerm, setSBOTerm, toSBML, unsetAnnotation, unsetCVTerms, unsetMetaId, unsetModelHistory, unsetName, unsetNotes, unsetSBOTerm
public SpeciesReferenceGlyph() throws SBMLConstructorException
SBMLConstructorException
public SpeciesReferenceGlyph(LayoutPkgNamespaces layoutns) throws SBMLConstructorException
SBMLConstructorException
public SpeciesReferenceGlyph(LayoutPkgNamespaces layoutns, String sid, String speciesReferenceId, String speciesGlyphId, int role) throws SBMLConstructorException
SBMLConstructorException
public SpeciesReferenceGlyph(long level) throws SBMLConstructorException
SBMLConstructorException
public SpeciesReferenceGlyph(long level, long version) throws SBMLConstructorException
SBMLConstructorException
public SpeciesReferenceGlyph(long level, long version, long pkgVersion) throws SBMLConstructorException
SBMLConstructorException
public SpeciesReferenceGlyph(SpeciesReferenceGlyph source) throws SBMLConstructorException
SBMLConstructorException
public SpeciesReferenceGlyph(XMLNode node) throws SBMLConstructorException
SBMLConstructorException
public SpeciesReferenceGlyph(XMLNode node, long l2version) throws SBMLConstructorException
SBMLConstructorException
public SpeciesReferenceGlyph cloneObject()
SBase
object.
cloneObject
 in class GraphicalObject
SBase
object.public CubicBezier createCubicBezier()
public LineSegment createLineSegment()
public void delete()
In general, application software will not need to call this method directly. The Java language binding for libSBML is implemented as a language wrapper that provides a Java interface to libSBML's underlying C++/C code. Some of the Java methods return objects that are linked to objects created not by Java code, but by C++ code. The Java objects wrapped around them will be deleted when the garbage collector invokes the corresponding C++ finalize()
methods for the objects. The finalize()
methods in turn call the SpeciesReferenceGlyph.delete()
method on the libSBML object.
This method is exposed in case calling programs want to ensure that the underlying object is freed immediately, and not at some arbitrary time determined by the Java garbage collector. In normal usage, callers do not need to invoke SpeciesReferenceGlyph.delete()
themselves.
delete
 in class GraphicalObject
public String getElementName()
This is overridden by subclasses to return a string appropriate to the
SBML component. For example, Model
defines it as returning
'model'
, CompartmentType
defines it as returning 'compartmentType'
,
and so on.
getElementName
 in class GraphicalObject
public int getRole()
public String getRoleString()
public String getSpeciesGlyphId()
public String getSpeciesReferenceId()
public int getTypeCode()
This method may return the type code of this SBML object, or it may
return SBML_UNKNOWN
. This
is because subclasses of SBase
are not required to implement this
method to return a type code. This method is meant primarily for the
LibSBML C interface, in which class and subclass information is not
readily available.
getTypeCode
 in class GraphicalObject
SBML_UNKNOWN
(the default).
SpeciesReferenceGlyph.getElementName()
,
SBase.getPackageName()
public void initDefaults()
initDefaults
 in class GraphicalObject
public boolean isSetCurve()
public boolean isSetRole()
public boolean isSetSpeciesGlyphId()
public boolean isSetSpeciesReferenceId()
public void setRole(int role)
public void setSpeciesGlyphId(String speciesGlyphId)
public void setSpeciesReferenceId(String id)
public XMLNode toXML()
toXML
 in class GraphicalObject