public class ListOfLocalRenderInformation extends ListOf
LocalRenderInformation objects.
Layouts can contain ListOfLocalRenderInformation which holds all
LocalRenderInformation objects for a certain layout.
| Constructor and Description |
|---|
ListOfLocalRenderInformation()
Constructor which instantiates an empty
ListOfLocalRenderInformation object. |
ListOfLocalRenderInformation(ListOfLocalRenderInformation source)
Copy constructor for
ListOfLocalRenderInformation objects. |
ListOfLocalRenderInformation(long level)
Constructor which instantiates an empty
ListOfLocalRenderInformation object. |
ListOfLocalRenderInformation(long level,
long version)
Constructor which instantiates an empty
ListOfLocalRenderInformation object. |
ListOfLocalRenderInformation(long level,
long version,
long pkgVersion)
Constructor which instantiates an empty
ListOfLocalRenderInformation object. |
ListOfLocalRenderInformation(RenderPkgNamespaces renderns)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
ListOfLocalRenderInformation |
cloneObject()
Creates and returns a deep copy of the
ListOfLocalRenderInformation object. |
void |
delete()
Explicitly deletes the underlying native object.
|
SBase |
get(long i)
Returns a pointer to the
LocalRenderInformation with the given index or null if
the index is invalid. |
LocalRenderInformation |
get(java.lang.String id)
|
java.lang.String |
getElementName()
Returns the XML element name of this object, which for
ListOfLocalRenderInformation, is always 'listOfRenderInformation'. |
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.
|
java.lang.String |
getVersionString()
Returns the version as a string.
|
boolean |
isValidTypeForList(SBase item)  |
SBase |
remove(long n)
Removes the nth item from this
ListOfLocalRenderInformation items and returns a pointer to
it. |
LocalRenderInformation |
remove(java.lang.String sid)
Removes item in this
ListOfLocalRenderInformation 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 ListOfGradientDefinitions object. |
append, appendAndOwn, appendFrom, clear, clear, connectToChild, getElementByMetaId, getElementBySId, getTypeCode, insert, insertAndOwn, removeFromParentAndDelete, sizeaddCVTerm, 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, unsetUserDatapublic ListOfLocalRenderInformation(long level, long version, long pkgVersion) throws SBMLConstructorException
ListOfLocalRenderInformation object.SBMLConstructorExceptionpublic ListOfLocalRenderInformation(long level, long version) throws SBMLConstructorException
ListOfLocalRenderInformation object.SBMLConstructorExceptionpublic ListOfLocalRenderInformation(long level) throws SBMLConstructorException
ListOfLocalRenderInformation object.SBMLConstructorExceptionpublic ListOfLocalRenderInformation() throws SBMLConstructorException
ListOfLocalRenderInformation object.SBMLConstructorExceptionpublic ListOfLocalRenderInformation(RenderPkgNamespaces renderns) throws SBMLConstructorException
SBMLConstructorExceptionpublic ListOfLocalRenderInformation(ListOfLocalRenderInformation source) throws SBMLConstructorException
ListOfLocalRenderInformation objects.SBMLConstructorExceptionpublic 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 ListOfLocalRenderInformation.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 ListOfLocalRenderInformation.delete() themselves.
public ListOfLocalRenderInformation cloneObject()
ListOfLocalRenderInformation object.
cloneObject in class ListOfListOfLocalRenderInformationpublic java.lang.String getElementName()
ListOfLocalRenderInformation, is always 'listOfRenderInformation'.
getElementName in class ListOf'listOfRenderInformation'.public XMLNode toXML()
XMLNode object from this ListOfGradientDefinitions object.
XMLNode with the XML representation for the
ListOfGradientDefinitions object.public void setVersion(long major, long minor)
major - major version numberminor - minor version numberpublic long getMajorVersion()
public long getMinorVersion()
public java.lang.String getVersionString()
LocalRenderInformation object
as a stringpublic SBase get(long i)
LocalRenderInformation with the given index or null if
the index is invalid.
get in class ListOfi - index of the LocalRenderInformation object to be returned
LocalRenderInformation at the given index or null.ListOf.size()public LocalRenderInformation get(java.lang.String id)
id - id of the LocalRenderInformation object to be returned
LocalRenderInformation at the given id or null.public SBase remove(long n)
ListOfLocalRenderInformation items and returns a pointer to
it.
The caller owns the returned item and is responsible for deleting it.
remove in class ListOfn - the index of the item to remove
ListOf.size()public LocalRenderInformation remove(java.lang.String sid)
ListOfLocalRenderInformation 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
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 ListOfListOf
instance, or SBML_UNKNOWN (default).ListOf.getElementName(),
SBase.getPackageName()public boolean isValidTypeForList(SBase item)