Class File
java.lang.Object
gov.nasa.arc.pds.xml.generated.File
- Direct Known Subclasses:
DocumentFile
The File class consists of attributes that
describe a file in a data store.
Java class for File complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="File">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="file_name" type="{http://pds.nasa.gov/pds4/pds/v1}file_name"/>
<element name="local_identifier" type="{http://pds.nasa.gov/pds4/pds/v1}local_identifier" minOccurs="0"/>
<element name="creation_date_time" type="{http://pds.nasa.gov/pds4/pds/v1}creation_date_time" minOccurs="0"/>
<element name="file_size" type="{http://pds.nasa.gov/pds4/pds/v1}file_size" minOccurs="0"/>
<element name="records" type="{http://pds.nasa.gov/pds4/pds/v1}records" minOccurs="0"/>
<element name="md5_checksum" type="{http://pds.nasa.gov/pds4/pds/v1}md5_checksum" minOccurs="0"/>
<element name="comment" type="{http://pds.nasa.gov/pds4/pds/v1}comment" minOccurs="0"/>
<element name="file_URL" type="{http://pds.nasa.gov/pds4/pds/v1}file_URL" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the comment property.Gets the value of the creationDateTime property.Gets the value of the fileName property.Gets the value of the fileSize property.Gets the value of the fileURLs property.Gets the value of the localIdentifier property.Gets the value of the md5Checksum property.Gets the value of the records property.voidsetComment(String value) Sets the value of the comment property.voidsetCreationDateTime(String value) Sets the value of the creationDateTime property.voidsetFileName(String value) Sets the value of the fileName property.voidsetFileSize(FileSize value) Sets the value of the fileSize property.voidsetLocalIdentifier(String value) Sets the value of the localIdentifier property.voidsetMd5Checksum(String value) Sets the value of the md5Checksum property.voidsetRecords(BigInteger value) Sets the value of the records property.
-
Field Details
-
fileName
-
localIdentifier
-
creationDateTime
-
fileSize
-
records
-
md5Checksum
-
comment
-
fileURLs
-
-
Constructor Details
-
File
public File()
-
-
Method Details
-
getFileName
-
setFileName
-
getLocalIdentifier
-
setLocalIdentifier
-
getCreationDateTime
-
setCreationDateTime
-
getFileSize
-
setFileSize
-
getRecords
Gets the value of the records property.- Returns:
- possible object is
BigInteger
-
setRecords
Sets the value of the records property.- Parameters:
value- allowed object isBigInteger
-
getMd5Checksum
-
setMd5Checksum
-
getComment
-
setComment
-
getFileURLs
Gets the value of the fileURLs 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 fileURLs property.For example, to add a new item, do as follows:
getFileURLs().add(newItem);
Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the fileURLs property.
-