public class MemberConstraint extends SBase
| Constructor and Description |
|---|
MemberConstraint()
Creates a new MemberConstraint with the given level, version, and package version.
|
MemberConstraint(GroupsPkgNamespaces groupsns)
Creates a new MemberConstraint with the given
GroupsPkgNamespaces object. |
MemberConstraint(long level)
Creates a new MemberConstraint with the given level, version, and package version.
|
MemberConstraint(long level,
long version)
Creates a new MemberConstraint with the given level, version, and package version.
|
MemberConstraint(long level,
long version,
long pkgVersion)
Creates a new MemberConstraint with the given level, version, and package version.
|
MemberConstraint(MemberConstraint orig)
Copy constructor for MemberConstraint.
|
| Modifier and Type | Method and Description |
|---|---|
MemberConstraint |
cloneObject()
Creates and returns a deep copy of this MemberConstraint object.
|
void |
delete()
Explicitly deletes the underlying native object.
|
java.lang.String |
getDistinctAttribute()
Returns the value of the 'distinctAttribute' attribute of this MemberConstraint.
|
java.lang.String |
getElementName()
Returns the XML element name of this object, which for MemberConstraint, is
always
'memberConstraint'. |
java.lang.String |
getId()
Returns the value of the 'id' attribute of this MemberConstraint.
|
java.lang.String |
getIdenticalAttribute()
Returns the value of the 'identicalAttribute' attribute of this MemberConstraint.
|
java.lang.String |
getName()
Returns the value of the 'name' attribute of this MemberConstraint.
|
int |
getTypeCode()
Returns the libSBML type code for this SBML object.
|
boolean |
hasRequiredAttributes()
Predicate returning
true if all the required attributes
for this MemberConstraint object have been set. |
boolean |
isSetDistinctAttribute()
Predicate returning
true or false depending on whether this
MemberConstraint's 'distinctAttribute' attribute has been set. |
boolean |
isSetId()
Predicate returning
true or false depending on whether this
MemberConstraint's 'id' attribute has been set. |
boolean |
isSetIdenticalAttribute()
Predicate returning
true or false depending on whether this
MemberConstraint's 'identicalAttribute' attribute has been set. |
boolean |
isSetName()
Predicate returning
true or false depending on whether this
MemberConstraint's 'name' attribute has been set. |
int |
setDistinctAttribute(java.lang.String distinctAttribute)
Sets the value of the 'distinctAttribute' attribute of this MemberConstraint.
|
int |
setId(java.lang.String id)
Sets the value of the 'id' attribute of this MemberConstraint.
|
int |
setIdenticalAttribute(java.lang.String identicalAttribute)
Sets the value of the 'identicalAttribute' attribute of this MemberConstraint.
|
int |
setName(java.lang.String name)
Sets the value of the 'name' attribute of this MemberConstraint.
|
int |
unsetDistinctAttribute()
Unsets the value of the 'distinctAttribute' attribute of this MemberConstraint.
|
int |
unsetId()
Unsets the value of the 'id' attribute of this MemberConstraint.
|
int |
unsetIdenticalAttribute()
Unsets the value of the 'identicalAttribute' attribute of this MemberConstraint.
|
int |
unsetName()
Unsets the value of the 'name' attribute of this MemberConstraint.
|
addCVTerm, addCVTerm, appendAnnotation, appendAnnotation, appendNotes, appendNotes, connectToChild, deleteDisabledPlugins, deleteDisabledPlugins, disablePackage, enablePackage, equals, getAncestorOfType, getAncestorOfType, getAnnotation, getAnnotationString, getColumn, getCVTerm, getCVTerms, getDisabledPlugin, getElementByMetaId, getElementBySId, 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, 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, unsetUserDatapublic MemberConstraint(long level, long version, long pkgVersion) throws SBMLConstructorException
level - a long integer, the SBML Level to assign to this MemberConstraint
version - a long integer, the SBML Version to assign to this MemberConstraint
pkgVersion - a long integer, the SBML Groups Version to assign to this MemberConstraintSBMLConstructorExceptionpublic MemberConstraint(long level, long version) throws SBMLConstructorException
level - a long integer, the SBML Level to assign to this MemberConstraint
version - a long integer, the SBML Version to assign to this MemberConstraint
pkgVersion - a long integer, the SBML Groups Version to assign to this MemberConstraintSBMLConstructorExceptionpublic MemberConstraint(long level) throws SBMLConstructorException
level - a long integer, the SBML Level to assign to this MemberConstraint
version - a long integer, the SBML Version to assign to this MemberConstraint
pkgVersion - a long integer, the SBML Groups Version to assign to this MemberConstraintSBMLConstructorExceptionpublic MemberConstraint() throws SBMLConstructorException
level - a long integer, the SBML Level to assign to this MemberConstraint
version - a long integer, the SBML Version to assign to this MemberConstraint
pkgVersion - a long integer, the SBML Groups Version to assign to this MemberConstraintSBMLConstructorExceptionpublic MemberConstraint(GroupsPkgNamespaces groupsns) throws SBMLConstructorException
GroupsPkgNamespaces object.
groupsns - the GroupsPkgNamespaces objectSBMLConstructorExceptionpublic MemberConstraint(MemberConstraint orig) throws SBMLConstructorException
orig - the MemberConstraint instance to copy.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 MemberConstraint.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 MemberConstraint.delete() themselves.
public MemberConstraint cloneObject()
cloneObject in class SBasepublic java.lang.String getId()
public boolean isSetId()
true or false depending on whether this
MemberConstraint's 'id' attribute has been set.
public int setId(java.lang.String id)
public int unsetId()
public java.lang.String getName()
public boolean isSetName()
true or false depending on whether this
MemberConstraint's 'name' attribute has been set.
public int setName(java.lang.String name)
public int unsetName()
public java.lang.String getDistinctAttribute()
public boolean isSetDistinctAttribute()
true or false depending on whether this
MemberConstraint's 'distinctAttribute' attribute has been set.
true if this MemberConstraint's 'distinctAttribute' attribute has been set,
otherwise false is returned.public int setDistinctAttribute(java.lang.String distinctAttribute)
distinctAttribute - String value of the 'distinctAttribute' attribute to be set
public int unsetDistinctAttribute()
public java.lang.String getIdenticalAttribute()
public boolean isSetIdenticalAttribute()
true or false depending on whether this
MemberConstraint's 'identicalAttribute' attribute has been set.
true if this MemberConstraint's 'identicalAttribute' attribute has been set,
otherwise false is returned.public int setIdenticalAttribute(java.lang.String identicalAttribute)
identicalAttribute - String value of the 'identicalAttribute' attribute to be set
public int unsetIdenticalAttribute()
public java.lang.String getElementName()
'memberConstraint'.
getElementName in class SBase'memberConstraint'.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 SBaseSBML_UNKNOWN (default).
MemberConstraint.getElementName()public boolean hasRequiredAttributes()
true if all the required attributes
for this MemberConstraint object have been set.
hasRequiredAttributes in class SBase