Class DeviceT


public class DeviceT extends AbstractSourceT
Identifies the originating GPS device that tracked a run or used to identify the type of device capable of handling the data for loading.

Java class for Device_t complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="Device_t">
   <complexContent>
     <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}AbstractSource_t">
       <sequence>
         <element name="UnitId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>
         <element name="ProductID" type="{http://www.w3.org/2001/XMLSchema}unsignedShort"/>
         <element name="Version" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Version_t"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • unitId

      protected long unitId
    • productID

      protected int productID
    • version

      protected VersionT version
  • Constructor Details

    • DeviceT

      public DeviceT()
  • Method Details

    • getUnitId

      public long getUnitId()
      Gets the value of the unitId property.
    • setUnitId

      public void setUnitId(long value)
      Sets the value of the unitId property.
    • getProductID

      public int getProductID()
      Gets the value of the productID property.
    • setProductID

      public void setProductID(int value)
      Sets the value of the productID property.
    • getVersion

      public VersionT getVersion()
      Gets the value of the version property.
      Returns:
      possible object is VersionT
    • setVersion

      public void setVersion(VersionT value)
      Sets the value of the version property.
      Parameters:
      value - allowed object is VersionT