public class ListOfGlobalRenderInformation extends ListOf
GlobalRenderInformation
objects.
The ListOfLayouts
in the SBML model contains a ListOfGlobalRenderInformation
which holds all GlobalRenderInformation
objects.
Constructor and Description |
---|
ListOfGlobalRenderInformation()
Constructor which instantiates an empty
ListOfGlobalRenderInformation object. |
ListOfGlobalRenderInformation(ListOfGlobalRenderInformation source)
Copy constructor for
ListOfGlobalRenderInformation objects. |
ListOfGlobalRenderInformation(long level)
Constructor which instantiates an empty
ListOfGlobalRenderInformation object. |
ListOfGlobalRenderInformation(long level,
long version)
Constructor which instantiates an empty
ListOfGlobalRenderInformation object. |
ListOfGlobalRenderInformation(long level,
long version,
long pkgVersion)
Constructor which instantiates an empty
ListOfGlobalRenderInformation object. |
ListOfGlobalRenderInformation(RenderPkgNamespaces renderns)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
ListOfGlobalRenderInformation |
cloneObject()
Creates and returns a deep copy of the
ListOfGlobalRenderInformation object. |
void |
delete()
Explicitly deletes the underlying native object.
|
SBase |
get(long i)
Returns a pointer to the
GlobalRenderInformation with the given index or null if
the index is invalid. |
GlobalRenderInformation |
get(String id)
|
String |
getElementName()
Returns the XML element name of this object, which for
ListOfGlobalRenderInformation , is always 'listOfGlobalRenderInformation'. |
int |
getItemTypeCode()
Get the type code of the objects contained in this
ListOf . |
long |
getMajorVersion()
Returns the major version of the render information list.
|
long |
getMinorVersion()
Returns the minor version of the render information list.
|
String |
getVersionString()
Returns the version as a string.
|
boolean |
isValidTypeForList(SBase item)   |
void |
parseXML(XMLNode node)
Parses the xml information in the given node and sets the attributes.
|
SBase |
remove(long n)
Removes the nth item from this
ListOfGlobalRenderInformation items and returns a pointer to
it. |
GlobalRenderInformation |
remove(String sid)
Removes item in this
ListOfGlobalRenderInformation items with the given identifier. |
void |
setVersion(long major,
long minor)
Sets the version of the render information list.
|
XMLNode |
toXML()
Creates an
XMLNode object from this ListOfGlobalRenderInformation object. |
append, appendAndOwn, appendFrom, clear, clear, connectToChild, getElementByMetaId, getElementBySId, getTypeCode, insert, insertAndOwn, removeFromParentAndDelete, size
addCVTerm, addCVTerm, appendAnnotation, appendAnnotation, appendNotes, appendNotes, deleteDisabledPlugins, deleteDisabledPlugins, disablePackage, enablePackage, equals, getAncestorOfType, getAncestorOfType, getAnnotation, getAnnotationString, getColumn, getCVTerm, getCVTerms, getDisabledPlugin, getLevel, getLine, getListOfAllElements, getListOfAllElements, getListOfAllElementsFromPlugins, getListOfAllElementsFromPlugins, getMetaId, getModel, getModelHistory, getNamespaces, getNotes, getNotesString, getNumCVTerms, getNumDisabledPlugins, getNumPlugins, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getPlugin, getPrefix, getResourceBiologicalQualifier, getResourceModelQualifier, getSBMLDocument, getSBOTerm, getSBOTermAsURL, getSBOTermID, getURI, getVersion, hashCode, hasValidLevelVersionNamespaceCombination, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetMetaId, isSetModelHistory, isSetNotes, isSetSBOTerm, isSetUserData, matchesRequiredSBMLNamespacesForAddition, matchesSBMLNamespaces, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, renameMetaIdRefs, renameSIdRefs, renameUnitSIdRefs, replaceTopLevelAnnotationElement, replaceTopLevelAnnotationElement, setAnnotation, setAnnotation, setMetaId, setModelHistory, setNamespaces, setNotes, setNotes, setNotes, setSBOTerm, setSBOTerm, toSBML, toXMLNode, unsetAnnotation, unsetCVTerms, unsetId, unsetMetaId, unsetModelHistory, unsetName, unsetNotes, unsetSBOTerm, unsetUserData
public ListOfGlobalRenderInformation(long level, long version, long pkgVersion) throws SBMLConstructorException
ListOfGlobalRenderInformation
object.SBMLConstructorException
public ListOfGlobalRenderInformation(long level, long version) throws SBMLConstructorException
ListOfGlobalRenderInformation
object.SBMLConstructorException
public ListOfGlobalRenderInformation(long level) throws SBMLConstructorException
ListOfGlobalRenderInformation
object.SBMLConstructorException
public ListOfGlobalRenderInformation() throws SBMLConstructorException
ListOfGlobalRenderInformation
object.SBMLConstructorException
public ListOfGlobalRenderInformation(RenderPkgNamespaces renderns) throws SBMLConstructorException
SBMLConstructorException
public ListOfGlobalRenderInformation(ListOfGlobalRenderInformation source) throws SBMLConstructorException
ListOfGlobalRenderInformation
objects.SBMLConstructorException
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 ListOfGlobalRenderInformation.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 ListOfGlobalRenderInformation.delete()
themselves.
public ListOfGlobalRenderInformation cloneObject()
ListOfGlobalRenderInformation
object.
cloneObject
 in class ListOf
ListOfGlobalRenderInformation
public void parseXML(XMLNode node)
node
- the XMLNode
object reference that describes the ListOfGlobalRenderInformation
object to be instantiated.public int getItemTypeCode()
ListOf
.
LibSBML attaches an identifying code to every
kind of SBML object. These are known as SBML type codes. In
other languages, the set of type codes is stored in an enumeration in
the Java language interface for libSBML, the type codes are defined as
static integer constants in the interface class libsbmlConstants
. The names of the type codes all begin with the
characters SBML_.
getItemTypeCode
 in class ListOf
ListOf
instance, or SBML_UNKNOWN
(default).ListOf.getElementName()
,
SBase.getPackageName()
public boolean isValidTypeForList(SBase item)
public String getElementName()
ListOfGlobalRenderInformation
, is always 'listOfGlobalRenderInformation'.
getElementName
 in class ListOf
'listOfGlobalRenderInformation'.
public XMLNode toXML()
XMLNode
object from this ListOfGlobalRenderInformation
object.
XMLNode
with the XML representation for the
ListOfGlobalRenderInformation
object.public void setVersion(long major, long minor)
major
- major version numberminor
- minor version numberpublic long getMajorVersion()
public long getMinorVersion()
public String getVersionString()
GlobalRenderInformation
object
as a stringpublic SBase get(long i)
GlobalRenderInformation
with the given index or null if
the index is invalid.
get
 in class ListOf
i
- index of the GlobalRenderInformation
object to be returned
GlobalRenderInformation
at the given index or null.ListOf.size()
public GlobalRenderInformation get(String id)
id
- id of the GlobalRenderInformation
object to be returned
GlobalRenderInformation
at the given id
or null.
public SBase remove(long n)
ListOfGlobalRenderInformation
items and returns a pointer to
it.
The caller owns the returned item and is responsible for deleting it.
remove
 in class ListOf
n
- the index of the item to remove
ListOf.size()
public GlobalRenderInformation remove(String sid)
ListOfGlobalRenderInformation
items with the given identifier.
The caller owns the returned item and is responsible for deleting it.
If none of the items in this list have the identifier sid
, then @c
null is returned.
sid
- the identifier of the item to remove