public abstract class ComponentInstance extends Identified
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 |
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() |
addWasDerivedFrom, clearAnnotations, clearWasDerivedFroms, containsWasDerivedFrom, createAnnotation, createAnnotation, createAnnotation, createAnnotation, createAnnotation, createAnnotation, getAnnotation, getAnnotations, getDescription, getDisplayId, getIdentity, getName, getPersistentIdentity, getVersion, getWasDerivedFrom, getWasDerivedFroms, hasAnnotations, isSetDescription, isSetDisplayId, isSetName, isSetPersistentIdentity, isSetVersion, isSetWasDerivedFrom, removeAnnotation, removeWasDerivedFrom, setDescription, setName, setWasDerivedFrom, setWasDerivedFroms, 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 ComponentDefinition getDefinition()
null
if the associated SBOLDocument instance is null
or no matching
component definition referenced by this component or functional component exits;
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.public int hashCode()
hashCode
in class Identified
public boolean equals(Object obj)
equals
in class Identified
public String toString()
toString
in class Identified
Copyright © 2017. All rights reserved.