Class FileT
java.lang.Object
org.bremersee.garmin.directorylisting.v1.model.FileT
- All Implemented Interfaces:
Serializable
A node in a directory listing which represents either a file or directory.
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="CreationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="FitId" type="{http://www.garmin.com/xmlschemas/DirectoryListing/v1}FITDeviceGlobalUniqueIdentifier_t" minOccurs="0"/>
<element name="File" type="{http://www.garmin.com/xmlschemas/DirectoryListing/v1}File_t" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="Path" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="IsDirectory" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="Size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
<attribute name="MD5Sum" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected XMLGregorianCalendarprotected FITDeviceGlobalUniqueIdentifierTprotected booleanprotected Stringprotected Stringprotected BigInteger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the creationTime property.getFiles()Gets the value of the files property.getFitId()Gets the value of the fitId property.Gets the value of the md5Sum property.getPath()Gets the value of the path property.getSize()Gets the value of the size property.booleanGets the value of the isDirectory property.voidSets the value of the creationTime property.voidSets the value of the fitId property.voidsetIsDirectory(boolean value) Sets the value of the isDirectory property.voidSets the value of the md5Sum property.voidSets the value of the path property.voidsetSize(BigInteger value) Sets the value of the size property.
-
Field Details
-
creationTime
-
fitId
-
files
-
path
-
isDirectory
protected boolean isDirectory -
size
-
md5Sum
-
-
Constructor Details
-
FileT
public FileT()
-
-
Method Details
-
getCreationTime
Gets the value of the creationTime property.- Returns:
- possible object is
XMLGregorianCalendar
-
setCreationTime
Sets the value of the creationTime property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getFitId
Gets the value of the fitId property.- Returns:
- possible object is
FITDeviceGlobalUniqueIdentifierT
-
setFitId
Sets the value of the fitId property.- Parameters:
value- allowed object isFITDeviceGlobalUniqueIdentifierT
-
getFiles
Gets the value of the files 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 files property.For example, to add a new item, do as follows:
getFiles().add(newItem);Objects of the following type(s) are allowed in the list
FileT- Returns:
- The value of the files property.
-
getPath
Gets the value of the path property.- Returns:
- possible object is
String
-
setPath
Sets the value of the path property.- Parameters:
value- allowed object isString
-
isIsDirectory
public boolean isIsDirectory()Gets the value of the isDirectory property. -
setIsDirectory
public void setIsDirectory(boolean value) Sets the value of the isDirectory property. -
getSize
Gets the value of the size property.- Returns:
- possible object is
BigInteger
-
setSize
Sets the value of the size property.- Parameters:
value- allowed object isBigInteger
-
getMD5Sum
Gets the value of the md5Sum property.- Returns:
- possible object is
String
-
setMD5Sum
Sets the value of the md5Sum property.- Parameters:
value- allowed object isString
-