//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// 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: 2012.07.24 at 11:42:28 PM CEST
//
package eu.prestoprime.model.ext.qa;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>
* Java class for UniqueIDType complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="UniqueIDType">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" default="URI" />
* <attribute name="organization" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* <attribute name="authority" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* <attribute name="encoding" default="text">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="text"/>
* <enumeration value="base16"/>
* <enumeration value="base64"/>
* </restriction>
* </simpleType>
* </attribute>
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UniqueIDType", propOrder = { "value" })
public class UniqueIDType implements Serializable {
private final static long serialVersionUID = 1L;
@XmlValue
protected String value;
@XmlAttribute(name = "type")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String type;
@XmlAttribute(name = "organization")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String organization;
@XmlAttribute(name = "authority")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String authority;
@XmlAttribute(name = "encoding")
protected String encoding;
/**
* 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;
}
/**
* Gets the value of the type property.
*
* @return possible object is {@link String }
*
*/
public String getType() {
if (type == null) {
return "URI";
} else {
return type;
}
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the organization property.
*
* @return possible object is {@link String }
*
*/
public String getOrganization() {
return organization;
}
/**
* Sets the value of the organization property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setOrganization(String value) {
this.organization = value;
}
/**
* Gets the value of the authority property.
*
* @return possible object is {@link String }
*
*/
public String getAuthority() {
return authority;
}
/**
* Sets the value of the authority property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAuthority(String value) {
this.authority = value;
}
/**
* Gets the value of the encoding property.
*
* @return possible object is {@link String }
*
*/
public String getEncoding() {
if (encoding == null) {
return "text";
} else {
return encoding;
}
}
/**
* Sets the value of the encoding property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setEncoding(String value) {
this.encoding = value;
}
}