Constructor and Description |
---|
Member()
Creates a new Member with the given level, version, and package version.
|
Member(GroupsPkgNamespaces groupsns)
Creates a new Member with the given GroupsPkgNamespaces object.
|
Member(long level)
Creates a new Member with the given level, version, and package version.
|
Member(long level,
long version)
Creates a new Member with the given level, version, and package version.
|
Member(long level,
long version,
long pkgVersion)
Creates a new Member with the given level, version, and package version.
|
Member(Member orig)
Copy constructor for Member.
|
Modifier and Type | Method and Description |
---|---|
Member |
cloneObject()
Creates and returns a deep copy of this Member object.
|
void |
delete()
Explicitly deletes the underlying native object.
|
java.lang.String |
getElementName()
Returns the XML element name of this object, which for Member, is
always
'member'. |
java.lang.String |
getId()
Returns the value of the 'id' attribute of this Member.
|
java.lang.String |
getIdRef()
Returns the value of the 'idRef' attribute of this Member.
|
java.lang.String |
getMetaIdRef()
Returns the value of the 'metaIdRef' attribute of this Member.
|
java.lang.String |
getName()
Returns the value of the 'name' attribute of this Member.
|
int |
getTypeCode()
Returns the libSBML type code for this SBML object.
|
boolean |
hasRequiredAttributes()
Predicate returning
true if all the required attributes
for this Member object have been set. |
boolean |
isSetId()
Predicate returning
true or false depending on whether this
Member's 'id' attribute has been set. |
boolean |
isSetIdRef()
Predicate returning
true or false depending on whether this
Member's 'idRef' attribute has been set. |
boolean |
isSetMetaIdRef()
Predicate returning
true or false depending on whether this
Member's 'metaIdRef' attribute has been set. |
boolean |
isSetName()
Predicate returning
true or false depending on whether this
Member's 'name' attribute has been set. |
int |
setId(java.lang.String id)
Sets the value of the 'id' attribute of this Member.
|
int |
setIdRef(java.lang.String idRef)
Sets the value of the 'idRef' attribute of this Member.
|
int |
setMetaIdRef(java.lang.String metaIdRef)
Sets the value of the 'metaIdRef' attribute of this Member.
|
int |
setName(java.lang.String name)
Sets the value of the 'name' attribute of this Member.
|
int |
unsetId()
Unsets the value of the 'id' attribute of this Member.
|
int |
unsetIdRef()
Unsets the value of the 'idRef' attribute of this Member.
|
int |
unsetMetaIdRef()
Unsets the value of the 'metaIdRef' attribute of this Member.
|
int |
unsetName()
Unsets the value of the 'name' attribute of this Member.
|
addCVTerm, addCVTerm, appendAnnotation, appendAnnotation, appendNotes, appendNotes, disablePackage, enablePackage, equals, getAncestorOfType, getAncestorOfType, getAnnotation, getAnnotationString, getColumn, getCVTerm, getCVTerms, getElementByMetaId, getElementBySId, 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, removeFromParentAndDelete, 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 Member() throws SBMLConstructorException
level
- a long integer, the SBML Level to assign to this Member
version
- a long integer, the SBML Version to assign to this Member
pkgVersion
- a long integer, the SBML Groups Version to assign to this MemberSBMLConstructorException
public Member(GroupsPkgNamespaces groupsns) throws SBMLConstructorException
groupsns
- the GroupsPkgNamespaces objectSBMLConstructorException
public Member(long level) throws SBMLConstructorException
level
- a long integer, the SBML Level to assign to this Member
version
- a long integer, the SBML Version to assign to this Member
pkgVersion
- a long integer, the SBML Groups Version to assign to this MemberSBMLConstructorException
public Member(long level, long version) throws SBMLConstructorException
level
- a long integer, the SBML Level to assign to this Member
version
- a long integer, the SBML Version to assign to this Member
pkgVersion
- a long integer, the SBML Groups Version to assign to this MemberSBMLConstructorException
public Member(long level, long version, long pkgVersion) throws SBMLConstructorException
level
- a long integer, the SBML Level to assign to this Member
version
- a long integer, the SBML Version to assign to this Member
pkgVersion
- a long integer, the SBML Groups Version to assign to this MemberSBMLConstructorException
public Member(Member orig) throws SBMLConstructorException
orig
- the Member instance to copy.SBMLConstructorException
public Member cloneObject()
cloneObject
 in class SBase
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 Member.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 Member.delete()
themselves.
public java.lang.String getElementName()
'member'.
getElementName
 in class SBase
'member'.
public java.lang.String getId()
public java.lang.String getIdRef()
public java.lang.String getMetaIdRef()
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 SBase
SBML_UNKNOWN
(default).
Member.getElementName()
public boolean hasRequiredAttributes()
true
if all the required attributes
for this Member object have been set.
hasRequiredAttributes
 in class SBase
public boolean isSetId()
true
or false
depending on whether this
Member's 'id' attribute has been set.
public boolean isSetIdRef()
true
or false
depending on whether this
Member's 'idRef' attribute has been set.
true
if this Member's 'idRef' attribute has been set,
otherwise false
is returned.public boolean isSetMetaIdRef()
true
or false
depending on whether this
Member's 'metaIdRef' attribute has been set.
true
if this Member's 'metaIdRef' attribute has been set,
otherwise false
is returned.public boolean isSetName()
true
or false
depending on whether this
Member's 'name' attribute has been set.
public int setId(java.lang.String id)
public int setIdRef(java.lang.String idRef)
idRef
- String value of the 'idRef' attribute to be set
public int setMetaIdRef(java.lang.String metaIdRef)
metaIdRef
- String value of the 'metaIdRef' attribute to be set
public int setName(java.lang.String name)
public int unsetId()
public int unsetIdRef()
public int unsetMetaIdRef()
public int unsetName()