Class LocationType

java.lang.Object
org.uniprot.uniprot.LocationType

public class LocationType extends Object
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 Details

  • Constructor Details

    • LocationType

      public LocationType()
  • Method Details

    • getBegin

      public PositionType getBegin()
      Gets the value of the begin property.
      Returns:
      possible object is PositionType
    • setBegin

      public void setBegin(PositionType value)
      Sets the value of the begin property.
      Parameters:
      value - allowed object is PositionType
    • getEnd

      public PositionType getEnd()
      Gets the value of the end property.
      Returns:
      possible object is PositionType
    • setEnd

      public void setEnd(PositionType value)
      Sets the value of the end property.
      Parameters:
      value - allowed object is PositionType
    • getPosition

      public PositionType getPosition()
      Gets the value of the position property.
      Returns:
      possible object is PositionType
    • setPosition

      public void setPosition(PositionType value)
      Sets the value of the position property.
      Parameters:
      value - allowed object is PositionType
    • getSequence

      public String getSequence()
      Gets the value of the sequence property.
      Returns:
      possible object is String
    • setSequence

      public void setSequence(String value)
      Sets the value of the sequence property.
      Parameters:
      value - allowed object is String