public class ListOfMemberConstraints extends ListOf
Constructor and Description |
---|
ListOfMemberConstraints()
Creates a new ListOfMemberConstraints with the given level, version, and package version.
|
ListOfMemberConstraints(GroupsPkgNamespaces groupsns)
Creates a new ListOfMemberConstraints with the given GroupsPkgNamespaces object.
|
ListOfMemberConstraints(long level)
Creates a new ListOfMemberConstraints with the given level, version, and package version.
|
ListOfMemberConstraints(long level,
long version)
Creates a new ListOfMemberConstraints with the given level, version, and package version.
|
ListOfMemberConstraints(long level,
long version,
long pkgVersion)
Creates a new ListOfMemberConstraints with the given level, version, and package version.
|
Modifier and Type | Method and Description |
---|---|
ListOfMemberConstraints |
cloneObject()
Creates and returns a deep copy of this ListOfMemberConstraints object.
|
void |
delete()
Explicitly deletes the underlying native object.
|
MemberConstraint |
get(long n)
Get a MemberConstraint from the ListOfMemberConstraints.
|
MemberConstraint |
get(java.lang.String sid)
Get a MemberConstraint from the ListOfMemberConstraints
based on its identifier.
|
java.lang.String |
getElementName()
Returns the XML element name of this object, which for ListOfMemberConstraints, is
always
'listOfMemberConstraints'. |
java.lang.String |
getId()
Returns the value of the 'id' attribute of this ListOfMemberConstraints.
|
int |
getItemTypeCode()
Returns the libSBML type code for the SBML objects
contained in this
ListOf object |
boolean |
getMembersShareType()
Returns the value of the 'membersShareType' attribute of this ListOfMemberConstraints.
|
java.lang.String |
getName()
Returns the value of the 'name' attribute of this ListOfMemberConstraints.
|
int |
getTypeCode()
Returns the libSBML type code for this SBML object.
|
boolean |
isSetId()
Predicate returning
true or false depending on whether this
ListOfMemberConstraints' 'id' attribute has been set. |
boolean |
isSetMembersShareType()
Predicate returning
true or false depending on whether this
ListOfMemberConstraints's 'membersShareType' attribute has been set. |
boolean |
isSetName()
Predicate returning
true or false depending on whether this
ListOfMemberConstraints' 'name' attribute has been set. |
MemberConstraint |
remove(long n)
Removes the nth MemberConstraint from this ListOfMemberConstraints
and returns a pointer to it.
|
MemberConstraint |
remove(java.lang.String sid)
Removes the MemberConstraint from this ListOfMemberConstraints with the given identifier
and returns a pointer to it.
|
int |
setId(java.lang.String id)
Sets the value of the 'id' attribute of this ListOfMemberConstraints.
|
int |
setMembersShareType(boolean membersShareType)
Sets the value of the 'membersShareType' attribute of this ListOfMemberConstraints.
|
int |
setName(java.lang.String name)
Sets the value of the 'name' attribute of this ListOfMemberConstraints.
|
int |
unsetId()
Unsets the value of the 'id' attribute of this ListOfMemberConstraints.
|
int |
unsetMembersShareType()
Unsets the value of the 'membersShareType' attribute of this ListOfMemberConstraints.
|
int |
unsetName()
Unsets the value of the 'name' attribute of this ListOfMemberConstraints.
|
append, appendAndOwn, appendFrom, clear, clear, getElementByMetaId, getElementBySId, insert, insertAndOwn, removeFromParentAndDelete, size
addCVTerm, addCVTerm, appendAnnotation, appendAnnotation, appendNotes, appendNotes, disablePackage, enablePackage, equals, getAncestorOfType, getAncestorOfType, getAnnotation, getAnnotationString, getColumn, getCVTerm, getCVTerms, getLevel, getLine, getListOfAllElements, getListOfAllElements, getListOfAllElementsFromPlugins, getListOfAllElementsFromPlugins, getMetaId, getModel, getModelHistory, getNamespaces, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getPlugin, getPrefix, getResourceBiologicalQualifier, getResourceModelQualifier, getSBMLDocument, getSBOTerm, getSBOTermAsURL, getSBOTermID, getURI, getVersion, hashCode, hasValidLevelVersionNamespaceCombination, isPackageEnabled, isPackageURIEnabled, isSetAnnotation, isSetMetaId, isSetModelHistory, isSetNotes, isSetSBOTerm, matchesRequiredSBMLNamespacesForAddition, matchesSBMLNamespaces, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, renameMetaIdRefs, renameSIdRefs, renameUnitSIdRefs, replaceTopLevelAnnotationElement, replaceTopLevelAnnotationElement, setAnnotation, setAnnotation, setMetaId, setModelHistory, setNamespaces, setNotes, setNotes, setNotes, setSBOTerm, setSBOTerm, toSBML, toXMLNode, unsetAnnotation, unsetCVTerms, unsetMetaId, unsetModelHistory, unsetNotes, unsetSBOTerm
public ListOfMemberConstraints() throws SBMLConstructorException
level
- a long integer, the SBML Level to assign to this ListOfMemberConstraints
version
- a long integer, the SBML Version to assign to this ListOfMemberConstraints
pkgVersion
- a long integer, the SBML Groups Version to assign to this ListOfMemberConstraintsSBMLConstructorException
public ListOfMemberConstraints(GroupsPkgNamespaces groupsns) throws SBMLConstructorException
groupsns
- the GroupsPkgNamespaces objectSBMLConstructorException
public ListOfMemberConstraints(long level) throws SBMLConstructorException
level
- a long integer, the SBML Level to assign to this ListOfMemberConstraints
version
- a long integer, the SBML Version to assign to this ListOfMemberConstraints
pkgVersion
- a long integer, the SBML Groups Version to assign to this ListOfMemberConstraintsSBMLConstructorException
public ListOfMemberConstraints(long level, long version) throws SBMLConstructorException
level
- a long integer, the SBML Level to assign to this ListOfMemberConstraints
version
- a long integer, the SBML Version to assign to this ListOfMemberConstraints
pkgVersion
- a long integer, the SBML Groups Version to assign to this ListOfMemberConstraintsSBMLConstructorException
public ListOfMemberConstraints(long level, long version, long pkgVersion) throws SBMLConstructorException
level
- a long integer, the SBML Level to assign to this ListOfMemberConstraints
version
- a long integer, the SBML Version to assign to this ListOfMemberConstraints
pkgVersion
- a long integer, the SBML Groups Version to assign to this ListOfMemberConstraintsSBMLConstructorException
public ListOfMemberConstraints cloneObject()
cloneObject
 in class ListOf
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 ListOfMemberConstraints.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 ListOfMemberConstraints.delete()
themselves.
public MemberConstraint get(long n)
get
 in class ListOf
n
- the index number of the MemberConstraint to get.
ListOf.size()
public MemberConstraint get(java.lang.String sid)
sid
- a string representing the identifier
of the MemberConstraint to get.
*
,
ListOf.size()
public java.lang.String getElementName()
'listOfMemberConstraints'.
getElementName
 in class ListOf
'listOfMemberConstraints'.
public java.lang.String getId()
public int getItemTypeCode()
ListOf
object
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).
ListOfMemberConstraints.getElementName()
public boolean getMembersShareType()
public java.lang.String getName()
public int getTypeCode()
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_.
getTypeCode
 in class ListOf
SBML_UNKNOWN
(default).
ListOfMemberConstraints.getElementName()
public boolean isSetId()
true
or false
depending on whether this
ListOfMemberConstraints' 'id' attribute has been set.
public boolean isSetMembersShareType()
true
or false
depending on whether this
ListOfMemberConstraints's 'membersShareType' attribute has been set.
true
if this ListOfMemberConstraints's 'membersShareType' attribute has been set,
otherwise false
is returned.public boolean isSetName()
true
or false
depending on whether this
ListOfMemberConstraints' 'name' attribute has been set.
public MemberConstraint remove(long n)
The caller owns the returned item and is responsible for deleting it.
remove
 in class ListOf
n
- the index of the MemberConstraint to remove.
ListOf.size()
public MemberConstraint remove(java.lang.String sid)
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
null
is returned.
sid
- the identifier of the MemberConstraint to remove.
public int setId(java.lang.String id)
public int setMembersShareType(boolean membersShareType)
membersShareType
- String value of the 'membersShareType' attribute to be set
public int setName(java.lang.String name)
public int unsetId()
public int unsetMembersShareType()
public int unsetName()