public class SequenceConstraint extends Identified
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Component |
getObject()
Returns the object component this sequence constraint refers to.
|
ComponentDefinition |
getObjectDefinition()
Returns the component definition that defines the object component of this sequence constraint.
|
URI |
getObjectIdentity()
Returns the object component identity this sequence constraint refers to.
|
URI |
getObjectURI()
Returns the object component's identity URI that this sequence constraint refers to.
|
RestrictionType |
getRestriction()
Returns the restriction property of this sequence constraint.
|
URI |
getRestrictionURI()
Returns the restriction property of this sequence constraint.
|
Component |
getSubject()
Returns the subject component this sequence constraint refers to.
|
ComponentDefinition |
getSubjectDefinition()
Returns the component definition that defines the subject component of this sequence constraint.
|
URI |
getSubjectIdentity()
Returns the subject component identity this sequence constraint refers to.
|
URI |
getSubjectURI()
Returns the subject component's identity URI that this sequence constraint refers to.
|
int |
hashCode() |
void |
setObject(URI objectURI)
Sets the reference object component's identity URI to the given one.
|
void |
setRestriction(RestrictionType restriction)
Sets the restriction property to the given one.
|
void |
setRestriction(URI restrictionURI)
Sets the reference subject component's identity URI to the given one.
|
void |
setSubject(URI subjectURI)
Sets the reference subject Component URI to the given
subjectURI. |
String |
toString() |
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, unsetWasDerivedFrompublic RestrictionType getRestriction()
public URI getRestrictionURI()
public void setRestriction(RestrictionType restriction) throws SBOLValidationException
restriction - the restriction type to set toSBOLValidationException - if either of the following SBOL validation rule was violated: 11407, 11412.public void setRestriction(URI restrictionURI) throws SBOLValidationException
restrictionURI - the identity URI of the restriction to set toSBOLValidationException - if the following SBOL validation rule was violated: 11407.public URI getSubjectURI()
public URI getSubjectIdentity()
If this sequence constraint's parent component definition is null, this method returns null.
Otherwise, it returns its child component which is also referenced by this sequence constraint.
public Component getSubject()
If this sequence constraint's parent component definition is null, this method returns null.
Otherwise, it returns its child component which is also referenced by this sequence constraint.
public ComponentDefinition getSubjectDefinition()
If this sequence constraint's parent component definition is null, this method returns null.
Otherwise, it returns the component definition that defines the subject component of this sequence constraint.
public void setSubject(URI subjectURI) throws SBOLValidationException
subjectURI.subjectURI - the reference subject's identity URI of the subject componentSBOLValidationException - if any of the following SBOL validation rules was violated: 11402, 11403, 11406.public URI getObjectURI()
public URI getObjectIdentity()
If this sequence constraint's parent component definition is null, this method returns null.
Otherwise, it returns its child component which is also referenced by this sequence constraint.
public Component getObject()
If this sequence constraint's parent component definition is null, this method returns null.
Otherwise, it returns its child component which is also referenced by this sequence constraint.
public ComponentDefinition getObjectDefinition()
If this sequence constraint's parent component definition is null, this method returns null.
Otherwise, it returns the component definition that defines the object component of this sequence constraint.
public void setObject(URI objectURI) throws SBOLValidationException
objectURI - the reference object component's identity URI to set toSBOLValidationException - if any of the following SBOL validation rules was violated: 11402, 11404, 11405.public int hashCode()
hashCode in class Identifiedpublic boolean equals(Object obj)
equals in class Identifiedpublic String toString()
toString in class Identified