Class Device
java.lang.Object
org.bremersee.garmin.garmindevice.v2.model.Device
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected ExtensionsTprotected GarminModeTprotected longprotected MassStorageModeTprotected ModelTprotected Stringprotected List<UnlockCodeT> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the displayName property.Gets the value of the extensions property.Gets the value of the garminMode property.longgetId()Gets the value of the id property.Gets the value of the massStorageMode property.getModel()Gets the value of the model property.Gets the value of the registrationCode property.Gets the value of the unlocks property.voidsetDisplayName(String value) Sets the value of the displayName property.voidsetExtensions(ExtensionsT value) Sets the value of the extensions property.voidsetGarminMode(GarminModeT value) Sets the value of the garminMode property.voidsetId(long value) Sets the value of the id property.voidSets the value of the massStorageMode property.voidSets the value of the model property.voidsetRegistrationCode(String value) Sets the value of the registrationCode property.
-
Field Details
-
model
-
id
protected long id -
registrationCode
-
unlocks
-
displayName
-
massStorageMode
-
garminMode
-
extensions
-
-
Constructor Details
-
Device
public Device()
-
-
Method Details
-
getModel
Gets the value of the model property.- Returns:
- possible object is
ModelT
-
setModel
Sets the value of the model property.- Parameters:
value- allowed object isModelT
-
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
Gets the value of the registrationCode property.- Returns:
- possible object is
String
-
setRegistrationCode
Sets the value of the registrationCode property.- Parameters:
value- allowed object isString
-
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
setmethod 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
Gets the value of the displayName property.- Returns:
- possible object is
String
-
setDisplayName
Sets the value of the displayName property.- Parameters:
value- allowed object isString
-
getMassStorageMode
Gets the value of the massStorageMode property.- Returns:
- possible object is
MassStorageModeT
-
setMassStorageMode
Sets the value of the massStorageMode property.- Parameters:
value- allowed object isMassStorageModeT
-
getGarminMode
Gets the value of the garminMode property.- Returns:
- possible object is
GarminModeT
-
setGarminMode
Sets the value of the garminMode property.- Parameters:
value- allowed object isGarminModeT
-
getExtensions
Gets the value of the extensions property.- Returns:
- possible object is
ExtensionsT
-
setExtensions
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensionsT
-