Package org.uniprot.uniprot
Class LocationType
java.lang.Object
org.uniprot.uniprot.LocationType
Describes a sequence location as either a range with a begin and end or as a position. The 'sequence' attribute is only used when the location is not on the canonical sequence displayed in the current entry.
Java class for locationType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="locationType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<sequence>
<element name="begin" type="{https://uniprot.org/uniprot}positionType"/>
<element name="end" type="{https://uniprot.org/uniprot}positionType"/>
</sequence>
<element name="position" type="{https://uniprot.org/uniprot}positionType"/>
</choice>
<attribute name="sequence" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PositionTypeprotected PositionTypeprotected PositionTypeprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBegin()Gets the value of the begin property.getEnd()Gets the value of the end property.Gets the value of the position property.Gets the value of the sequence property.voidsetBegin(PositionType value) Sets the value of the begin property.voidsetEnd(PositionType value) Sets the value of the end property.voidsetPosition(PositionType value) Sets the value of the position property.voidsetSequence(String value) Sets the value of the sequence property.
-
Field Details
-
begin
-
end
-
position
-
sequence
-
-
Constructor Details
-
LocationType
public LocationType()
-
-
Method Details
-
getBegin
Gets the value of the begin property.- Returns:
- possible object is
PositionType
-
setBegin
Sets the value of the begin property.- Parameters:
value- allowed object isPositionType
-
getEnd
Gets the value of the end property.- Returns:
- possible object is
PositionType
-
setEnd
Sets the value of the end property.- Parameters:
value- allowed object isPositionType
-
getPosition
Gets the value of the position property.- Returns:
- possible object is
PositionType
-
setPosition
Sets the value of the position property.- Parameters:
value- allowed object isPositionType
-
getSequence
Gets the value of the sequence property.- Returns:
- possible object is
String
-
setSequence
Sets the value of the sequence property.- Parameters:
value- allowed object isString
-