public class Range extends Location
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Location location) |
boolean |
equals(Object obj) |
int |
getEnd()
Returns the end position of this range.
|
int |
getStart()
Returns the start position of this range.
|
int |
hashCode() |
void |
setEnd(int value)
Sets the end position of this range.
|
void |
setStart(int value)
Sets the start position of this range.
|
String |
toString() |
getOrientation, getSequence, getSequenceIdentity, getSequenceURI, isSetOrientation, isSetSequence, setOrientation, setSequence, unsetOrientation, unsetSequence
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 void setStart(int value) throws SBOLValidationException
value
- the start position of this rangeSBOLValidationException
- if either of the following SBOL validation rules was violated: 11102, 11104.public int getStart()
public int getEnd()
public void setEnd(int value) throws SBOLValidationException
value
- the end position to set toSBOLValidationException
- if either of the following SBOL validation rules was violated: 11103, 11104.public int hashCode()
hashCode
in class Identified
public boolean equals(Object obj)
equals
in class Identified
public int compareTo(Location location)