//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.07.04 at 03:51:35 PM CEST
//
package sun.security.ssl.xml;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
*
Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element ref="{}field"/>
* <element ref="{}block"/>
* </choice>
* </sequence>
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="longname" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="size" use="required" type="{http://www.w3.org/2001/XMLSchema}byte" />
* <attribute name="pos" use="required" type="{http://www.w3.org/2001/XMLSchema}byte" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"fieldOrBlock"
})
@XmlRootElement(name = "block")
public class Block {
@XmlElements({
@XmlElement(name = "field", type = Field.class),
@XmlElement(name = "block", type = Block.class)
})
protected List fieldOrBlock;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "longname")
protected String longname;
@XmlAttribute(name = "size", required = true)
protected byte size;
@XmlAttribute(name = "pos", required = true)
protected byte pos;
/**
* Gets the value of the fieldOrBlock 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 set
method for the fieldOrBlock property.
*
*
* For example, to add a new item, do as follows:
*
* getFieldOrBlock().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Field }
* {@link Block }
*
*
*/
public List getFieldOrBlock() {
if (fieldOrBlock == null) {
fieldOrBlock = new ArrayList();
}
return this.fieldOrBlock;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the longname property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLongname() {
return longname;
}
/**
* Sets the value of the longname property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLongname(String value) {
this.longname = value;
}
/**
* Gets the value of the size property.
*
*/
public byte getSize() {
return size;
}
/**
* Sets the value of the size property.
*
*/
public void setSize(byte value) {
this.size = value;
}
/**
* Gets the value of the pos property.
*
*/
public byte getPos() {
return pos;
}
/**
* Sets the value of the pos property.
*
*/
public void setPos(byte value) {
this.pos = value;
}
}