uk.gov.legislation.namespaces.metadata.DocumentClassification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of legislation-gov-uk Show documentation
Show all versions of legislation-gov-uk Show documentation
Java library for consuming the Legislation.gov.uk API
The newest version!
//
// 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: 2015.08.07 at 06:17:52 PM CEST
//
package uk.gov.legislation.namespaces.metadata;
import javax.xml.bind.annotation.*;
/**
* 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>
* <element name="DocumentCategory">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="Value" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="primary"/>
* <enumeration value="secondary"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element ref="{http://www.legislation.gov.uk/namespaces/metadata}DocumentMainType"/>
* <element name="DocumentStatus">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="Value" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="draft"/>
* <enumeration value="final"/>
* <enumeration value="revised"/>
* <enumeration value="proposed"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="DocumentMinorType" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="Value" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="order"/>
* <enumeration value="regulation"/>
* <enumeration value="rule"/>
* <enumeration value="scheme"/>
* <enumeration value="resolution"/>
* <enumeration value="unknown"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentCategory",
"documentMainType",
"documentStatus",
"documentMinorType"
})
@XmlRootElement(name = "DocumentClassification")
public class DocumentClassification {
@XmlElement(name = "DocumentCategory", required = true)
protected DocumentClassification.DocumentCategory documentCategory;
@XmlElement(name = "DocumentMainType", required = true)
protected DocumentMainType documentMainType;
@XmlElement(name = "DocumentStatus", required = true)
protected DocumentClassification.DocumentStatus documentStatus;
@XmlElement(name = "DocumentMinorType")
protected DocumentClassification.DocumentMinorType documentMinorType;
/**
* Gets the value of the documentCategory property.
*
* @return
* possible object is
* {@link DocumentClassification.DocumentCategory }
*
*/
public DocumentClassification.DocumentCategory getDocumentCategory() {
return documentCategory;
}
/**
* Sets the value of the documentCategory property.
*
* @param value
* allowed object is
* {@link DocumentClassification.DocumentCategory }
*
*/
public void setDocumentCategory(DocumentClassification.DocumentCategory value) {
this.documentCategory = value;
}
/**
* Gets the value of the documentMainType property.
*
* @return
* possible object is
* {@link DocumentMainType }
*
*/
public DocumentMainType getDocumentMainType() {
return documentMainType;
}
/**
* Sets the value of the documentMainType property.
*
* @param value
* allowed object is
* {@link DocumentMainType }
*
*/
public void setDocumentMainType(DocumentMainType value) {
this.documentMainType = value;
}
/**
* Gets the value of the documentStatus property.
*
* @return
* possible object is
* {@link DocumentClassification.DocumentStatus }
*
*/
public DocumentClassification.DocumentStatus getDocumentStatus() {
return documentStatus;
}
/**
* Sets the value of the documentStatus property.
*
* @param value
* allowed object is
* {@link DocumentClassification.DocumentStatus }
*
*/
public void setDocumentStatus(DocumentClassification.DocumentStatus value) {
this.documentStatus = value;
}
/**
* Gets the value of the documentMinorType property.
*
* @return
* possible object is
* {@link DocumentClassification.DocumentMinorType }
*
*/
public DocumentClassification.DocumentMinorType getDocumentMinorType() {
return documentMinorType;
}
/**
* Sets the value of the documentMinorType property.
*
* @param value
* allowed object is
* {@link DocumentClassification.DocumentMinorType }
*
*/
public void setDocumentMinorType(DocumentClassification.DocumentMinorType value) {
this.documentMinorType = value;
}
/**
* 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">
* <attribute name="Value" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="primary"/>
* <enumeration value="secondary"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class DocumentCategory {
@XmlAttribute(name = "Value", required = true)
protected String value;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
}
/**
* 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">
* <attribute name="Value" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="order"/>
* <enumeration value="regulation"/>
* <enumeration value="rule"/>
* <enumeration value="scheme"/>
* <enumeration value="resolution"/>
* <enumeration value="unknown"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class DocumentMinorType {
@XmlAttribute(name = "Value", required = true)
protected String value;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
}
/**
* 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">
* <attribute name="Value" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="draft"/>
* <enumeration value="final"/>
* <enumeration value="revised"/>
* <enumeration value="proposed"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class DocumentStatus {
@XmlAttribute(name = "Value", required = true)
protected String value;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
}
}