public abstract class ComponentInstance extends Measured
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
AccessType |
getAccess()
Returns the access property.
|
ComponentDefinition |
getDefinition()
Returns the component definition referenced by this component or functional component.
|
URI |
getDefinitionIdentity()
Returns the component definition identity referenced by this component or functional component.
|
URI |
getDefinitionURI()
Returns the reference component definition URI.
|
int |
hashCode() |
void |
setAccess(AccessType access)
Sets the access property to the given one.
|
void |
setDefinition(URI definition)
Sets the definition property to the given one.
|
String |
toString() |
clearMeasures, createMeasure, getMeasure, getMeasure, getMeasures, removeMeasure
addWasDerivedFrom, addWasGeneratedBy, clearAnnotations, clearWasDerivedFroms, clearWasGeneratedBys, containsWasDerivedFrom, containsWasGeneratedBy, createAnnotation, createAnnotation, createAnnotation, createAnnotation, createAnnotation, createAnnotation, getAnnotation, getAnnotations, getDescription, getDisplayId, getIdentity, getName, getPersistentIdentity, getVersion, getWasDerivedFrom, getWasDerivedFroms, getWasGeneratedBys, hasAnnotations, isSetDescription, isSetDisplayId, isSetName, isSetPersistentIdentity, isSetVersion, isSetWasDerivedFrom, removeAnnotation, removeWasDerivedFrom, removeWasGeneratedBy, setDescription, setName, setWasDerivedFrom, setWasDerivedFroms, setWasGeneratedBys, unsetDescription, unsetName, unsetWasDerivedFrom
public AccessType getAccess()
public void setAccess(AccessType access) throws SBOLValidationException
access
- the given access type ›to set toSBOLValidationException
- if the following SBOL validation rule was violated: 10607public URI getDefinitionURI()
public URI getDefinitionIdentity()
null
if the associated SBOLDocument instance is null
or no matching
component definition referenced by this component or functional component exists;
or the matching component definition otherwise.public ComponentDefinition getDefinition()
null
if the associated SBOLDocument instance is null
or no matching
component definition referenced by this component or functional component exists;
or the matching component definition otherwise.public void setDefinition(URI definition) throws SBOLValidationException
definition
- the given definition URI to set toSBOLValidationException
- if either of the following SBOL validation rules was violated: 10602, 10604.