Class FileT
java.lang.Object
org.bremersee.garmin.devicedownload.v1.model.FileT
- All Implemented Interfaces:
Serializable
Information about a file that can be downloaded. The Destination should
not include the drive letter of the mass storage device.
Java class for File_t complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="File_t">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Source" type="{http://www.garmin.com/xmlschemas/DeviceDownload/v1}Source_t" maxOccurs="unbounded"/>
</sequence>
<attribute name="Destination" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="IsRegionPackage" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="RegionId" type="{http://www.w3.org/2001/XMLSchema}byte" />
<attribute name="ContentMD5" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="ContentLength" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
<attribute name="ContentType" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="ContentEncoding" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the contentEncoding property.Gets the value of the contentLength property.Gets the value of the contentMD5 property.Gets the value of the contentType property.Gets the value of the destination property.Gets the value of the regionId property.Gets the value of the sources property.Gets the value of the isRegionPackage property.voidsetContentEncoding(String value) Sets the value of the contentEncoding property.voidsetContentLength(BigInteger value) Sets the value of the contentLength property.voidsetContentMD5(String value) Sets the value of the contentMD5 property.voidsetContentType(String value) Sets the value of the contentType property.voidsetDestination(String value) Sets the value of the destination property.voidsetIsRegionPackage(Boolean value) Sets the value of the isRegionPackage property.voidsetRegionId(Byte value) Sets the value of the regionId property.
-
Field Details
-
sources
-
destination
-
isRegionPackage
-
regionId
-
contentMD5
-
contentLength
-
contentType
-
contentEncoding
-
-
Constructor Details
-
FileT
public FileT()
-
-
Method Details
-
getSources
Gets the value of the sources 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 sources property.For example, to add a new item, do as follows:
getSources().add(newItem);Objects of the following type(s) are allowed in the list
SourceT- Returns:
- The value of the sources property.
-
getDestination
Gets the value of the destination property.- Returns:
- possible object is
String
-
setDestination
Sets the value of the destination property.- Parameters:
value- allowed object isString
-
isIsRegionPackage
Gets the value of the isRegionPackage property.- Returns:
- possible object is
Boolean
-
setIsRegionPackage
Sets the value of the isRegionPackage property.- Parameters:
value- allowed object isBoolean
-
getRegionId
Gets the value of the regionId property.- Returns:
- possible object is
Byte
-
setRegionId
Sets the value of the regionId property.- Parameters:
value- allowed object isByte
-
getContentMD5
Gets the value of the contentMD5 property.- Returns:
- possible object is
String
-
setContentMD5
Sets the value of the contentMD5 property.- Parameters:
value- allowed object isString
-
getContentLength
Gets the value of the contentLength property.- Returns:
- possible object is
BigInteger
-
setContentLength
Sets the value of the contentLength property.- Parameters:
value- allowed object isBigInteger
-
getContentType
Gets the value of the contentType property.- Returns:
- possible object is
String
-
setContentType
Sets the value of the contentType property.- Parameters:
value- allowed object isString
-
getContentEncoding
Gets the value of the contentEncoding property.- Returns:
- possible object is
String
-
setContentEncoding
Sets the value of the contentEncoding property.- Parameters:
value- allowed object isString
-