Added information specific to streaming digital tapes, like variable block size, partitions, files, etc
This commit is contained in:
216
java/generated/TapePartitionType.java
Normal file
216
java/generated/TapePartitionType.java
Normal file
@@ -0,0 +1,216 @@
|
||||
//
|
||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2016.10.12 at 12:03:44 AM WEST
|
||||
//
|
||||
|
||||
|
||||
package generated;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* Partition information
|
||||
*
|
||||
* <p>Java class for TapePartitionType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="TapePartitionType">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="Image" type="{}ImageType"/>
|
||||
* <element name="Size" type="{http://www.w3.org/2001/XMLSchema}long"/>
|
||||
* <element name="Sequence" type="{http://www.w3.org/2001/XMLSchema}long"/>
|
||||
* <element name="StartBlock" type="{http://www.w3.org/2001/XMLSchema}long"/>
|
||||
* <element name="EndBlock" type="{http://www.w3.org/2001/XMLSchema}long"/>
|
||||
* <element name="Checksums" type="{}ChecksumsType"/>
|
||||
* <sequence>
|
||||
* <element name="File" type="{}TapeFileType" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "TapePartitionType", propOrder = {
|
||||
"image",
|
||||
"size",
|
||||
"sequence",
|
||||
"startBlock",
|
||||
"endBlock",
|
||||
"checksums",
|
||||
"file"
|
||||
})
|
||||
public class TapePartitionType {
|
||||
|
||||
@XmlElement(name = "Image", required = true)
|
||||
protected ImageType image;
|
||||
@XmlElement(name = "Size")
|
||||
protected long size;
|
||||
@XmlElement(name = "Sequence")
|
||||
protected long sequence;
|
||||
@XmlElement(name = "StartBlock")
|
||||
protected long startBlock;
|
||||
@XmlElement(name = "EndBlock")
|
||||
protected long endBlock;
|
||||
@XmlElement(name = "Checksums", required = true)
|
||||
protected ChecksumsType checksums;
|
||||
@XmlElement(name = "File", required = true)
|
||||
protected List<TapeFileType> file;
|
||||
|
||||
/**
|
||||
* Gets the value of the image property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link ImageType }
|
||||
*
|
||||
*/
|
||||
public ImageType getImage() {
|
||||
return image;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the image property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link ImageType }
|
||||
*
|
||||
*/
|
||||
public void setImage(ImageType value) {
|
||||
this.image = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the size property.
|
||||
*
|
||||
*/
|
||||
public long getSize() {
|
||||
return size;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the size property.
|
||||
*
|
||||
*/
|
||||
public void setSize(long value) {
|
||||
this.size = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the sequence property.
|
||||
*
|
||||
*/
|
||||
public long getSequence() {
|
||||
return sequence;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the sequence property.
|
||||
*
|
||||
*/
|
||||
public void setSequence(long value) {
|
||||
this.sequence = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the startBlock property.
|
||||
*
|
||||
*/
|
||||
public long getStartBlock() {
|
||||
return startBlock;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the startBlock property.
|
||||
*
|
||||
*/
|
||||
public void setStartBlock(long value) {
|
||||
this.startBlock = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the endBlock property.
|
||||
*
|
||||
*/
|
||||
public long getEndBlock() {
|
||||
return endBlock;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the endBlock property.
|
||||
*
|
||||
*/
|
||||
public void setEndBlock(long value) {
|
||||
this.endBlock = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the checksums property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link ChecksumsType }
|
||||
*
|
||||
*/
|
||||
public ChecksumsType getChecksums() {
|
||||
return checksums;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the checksums property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link ChecksumsType }
|
||||
*
|
||||
*/
|
||||
public void setChecksums(ChecksumsType value) {
|
||||
this.checksums = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the file property.
|
||||
*
|
||||
* <p>
|
||||
* 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 <CODE>set</CODE> method for the file property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getFile().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link TapeFileType }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<TapeFileType> getFile() {
|
||||
if (file == null) {
|
||||
file = new ArrayList<TapeFileType>();
|
||||
}
|
||||
return this.file;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user