Package gov.nasa.arc.pds.xml.generated
Class File
- java.lang.Object
- 
- gov.nasa.arc.pds.xml.generated.File
 
- 
- Direct Known Subclasses:
- DocumentFile
 
 public class File extends java.lang.ObjectThe 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 SummaryFields Modifier and Type Field Description protected java.lang.Stringcommentprotected java.lang.StringcreationDateTimeprotected java.lang.StringfileNameprotected FileSizefileSizeprotected java.util.List<java.lang.String>fileURLsprotected java.lang.StringlocalIdentifierprotected java.lang.Stringmd5Checksumprotected java.math.BigIntegerrecords
 - 
Constructor SummaryConstructors Constructor Description File()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetComment()Gets the value of the comment property.java.lang.StringgetCreationDateTime()Gets the value of the creationDateTime property.java.lang.StringgetFileName()Gets the value of the fileName property.FileSizegetFileSize()Gets the value of the fileSize property.java.util.List<java.lang.String>getFileURLs()Gets the value of the fileURLs property.java.lang.StringgetLocalIdentifier()Gets the value of the localIdentifier property.java.lang.StringgetMd5Checksum()Gets the value of the md5Checksum property.java.math.BigIntegergetRecords()Gets the value of the records property.voidsetComment(java.lang.String value)Sets the value of the comment property.voidsetCreationDateTime(java.lang.String value)Sets the value of the creationDateTime property.voidsetFileName(java.lang.String value)Sets the value of the fileName property.voidsetFileSize(FileSize value)Sets the value of the fileSize property.voidsetLocalIdentifier(java.lang.String value)Sets the value of the localIdentifier property.voidsetMd5Checksum(java.lang.String value)Sets the value of the md5Checksum property.voidsetRecords(java.math.BigInteger value)Sets the value of the records property.
 
- 
- 
- 
Field Detail- 
fileNameprotected java.lang.String fileName 
 - 
localIdentifierprotected java.lang.String localIdentifier 
 - 
creationDateTimeprotected java.lang.String creationDateTime 
 - 
fileSizeprotected FileSize fileSize 
 - 
recordsprotected java.math.BigInteger records 
 - 
md5Checksumprotected java.lang.String md5Checksum 
 - 
commentprotected java.lang.String comment 
 - 
fileURLsprotected java.util.List<java.lang.String> fileURLs 
 
- 
 - 
Method Detail- 
getFileNamepublic java.lang.String getFileName() Gets the value of the fileName property.- Returns:
- possible object is
     String
 
 - 
setFileNamepublic void setFileName(java.lang.String value) Sets the value of the fileName property.- Parameters:
- value- allowed object is- String
 
 - 
getLocalIdentifierpublic java.lang.String getLocalIdentifier() Gets the value of the localIdentifier property.- Returns:
- possible object is
     String
 
 - 
setLocalIdentifierpublic void setLocalIdentifier(java.lang.String value) Sets the value of the localIdentifier property.- Parameters:
- value- allowed object is- String
 
 - 
getCreationDateTimepublic java.lang.String getCreationDateTime() Gets the value of the creationDateTime property.- Returns:
- possible object is
     String
 
 - 
setCreationDateTimepublic void setCreationDateTime(java.lang.String value) Sets the value of the creationDateTime property.- Parameters:
- value- allowed object is- String
 
 - 
getFileSizepublic FileSize getFileSize() Gets the value of the fileSize property.- Returns:
- possible object is
     FileSize
 
 - 
setFileSizepublic void setFileSize(FileSize value) Sets the value of the fileSize property.- Parameters:
- value- allowed object is- FileSize
 
 - 
getRecordspublic java.math.BigInteger getRecords() Gets the value of the records property.- Returns:
- possible object is
     BigInteger
 
 - 
setRecordspublic void setRecords(java.math.BigInteger value) Sets the value of the records property.- Parameters:
- value- allowed object is- BigInteger
 
 - 
getMd5Checksumpublic java.lang.String getMd5Checksum() Gets the value of the md5Checksum property.- Returns:
- possible object is
     String
 
 - 
setMd5Checksumpublic void setMd5Checksum(java.lang.String value) Sets the value of the md5Checksum property.- Parameters:
- value- allowed object is- String
 
 - 
getCommentpublic java.lang.String getComment() Gets the value of the comment property.- Returns:
- possible object is
     String
 
 - 
setCommentpublic void setComment(java.lang.String value) Sets the value of the comment property.- Parameters:
- value- allowed object is- String
 
 - 
getFileURLspublic java.util.List<java.lang.String> 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 JAXB 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.
 
 
- 
 
-