java.lang.Object
org.bremersee.garmin.garmindevice.v2.model.Device
All Implemented Interfaces:
Serializable

public class Device extends Object implements Serializable

Java class for Device_t complex type.

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


 <complexType name="Device_t">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Model" type="{http://www.garmin.com/xmlschemas/GarminDevice/v2}Model_t"/>
         <element name="Id" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>
         <element name="RegistrationCode" type="{http://www.garmin.com/xmlschemas/GarminDevice/v2}RegistrationCode_t" minOccurs="0"/>
         <element name="Unlock" type="{http://www.garmin.com/xmlschemas/GarminDevice/v2}UnlockCode_t" maxOccurs="unbounded" minOccurs="0"/>
         <element name="DisplayName" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="MassStorageMode" type="{http://www.garmin.com/xmlschemas/GarminDevice/v2}MassStorageMode_t" minOccurs="0"/>
         <element name="GarminMode" type="{http://www.garmin.com/xmlschemas/GarminDevice/v2}GarminMode_t" minOccurs="0"/>
         <element name="Extensions" type="{http://www.garmin.com/xmlschemas/GarminDevice/v2}Extensions_t" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • Device

      public Device()
  • Method Details

    • getModel

      public ModelT getModel()
      Gets the value of the model property.
      Returns:
      possible object is ModelT
    • setModel

      public void setModel(ModelT value)
      Sets the value of the model property.
      Parameters:
      value - allowed object is ModelT
    • getId

      public long getId()
      Gets the value of the id property.
    • setId

      public void setId(long value)
      Sets the value of the id property.
    • getRegistrationCode

      public String getRegistrationCode()
      Gets the value of the registrationCode property.
      Returns:
      possible object is String
    • setRegistrationCode

      public void setRegistrationCode(String value)
      Sets the value of the registrationCode property.
      Parameters:
      value - allowed object is String
    • getUnlocks

      public List<UnlockCodeT> getUnlocks()
      Gets the value of the unlocks property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the unlocks property.

      For example, to add a new item, do as follows:

          getUnlocks().add(newItem);
       

      Objects of the following type(s) are allowed in the list UnlockCodeT

      Returns:
      The value of the unlocks property.
    • getDisplayName

      public String getDisplayName()
      Gets the value of the displayName property.
      Returns:
      possible object is String
    • setDisplayName

      public void setDisplayName(String value)
      Sets the value of the displayName property.
      Parameters:
      value - allowed object is String
    • getMassStorageMode

      public MassStorageModeT getMassStorageMode()
      Gets the value of the massStorageMode property.
      Returns:
      possible object is MassStorageModeT
    • setMassStorageMode

      public void setMassStorageMode(MassStorageModeT value)
      Sets the value of the massStorageMode property.
      Parameters:
      value - allowed object is MassStorageModeT
    • getGarminMode

      public GarminModeT getGarminMode()
      Gets the value of the garminMode property.
      Returns:
      possible object is GarminModeT
    • setGarminMode

      public void setGarminMode(GarminModeT value)
      Sets the value of the garminMode property.
      Parameters:
      value - allowed object is GarminModeT
    • getExtensions

      public ExtensionsT getExtensions()
      Gets the value of the extensions property.
      Returns:
      possible object is ExtensionsT
    • setExtensions

      public void setExtensions(ExtensionsT value)
      Sets the value of the extensions property.
      Parameters:
      value - allowed object is ExtensionsT