com.github.maybeec.lexeme.mergeschema.Definition Maven / Gradle / Ivy
Show all versions of lexeme Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.06.02 at 03:01:33 PM CEST
//
package com.github.maybeec.lexeme.mergeschema;
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.XmlType;
/**
* Java class for definition complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="definition">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="additional-namespace" type="{http://maybeec.github.io/lexeme/mergeschema}additional-namespace" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="location" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
* <attribute name="type" type="{http://maybeec.github.io/lexeme/mergeschema}schema" default="xsd" />
* <attribute name="namespace" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "definition", propOrder = {
"additionalNamespace"
})
public class Definition {
@XmlElement(name = "additional-namespace")
protected List additionalNamespace;
@XmlAttribute(name = "location")
protected String location;
@XmlAttribute(name = "type")
protected Schema type;
@XmlAttribute(name = "namespace", required = true)
protected String namespace;
/**
* Gets the value of the additionalNamespace 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 additionalNamespace property.
*
*
* For example, to add a new item, do as follows:
*
* getAdditionalNamespace().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalNamespace }
*
*
*/
public List getAdditionalNamespace() {
if (additionalNamespace == null) {
additionalNamespace = new ArrayList();
}
return this.additionalNamespace;
}
/**
* Gets the value of the location property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLocation() {
if (location == null) {
return "";
} else {
return location;
}
}
/**
* Sets the value of the location property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLocation(String value) {
this.location = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link Schema }
*
*/
public Schema getType() {
if (type == null) {
return Schema.XSD;
} else {
return type;
}
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link Schema }
*
*/
public void setType(Schema value) {
this.type = value;
}
/**
* Gets the value of the namespace property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNamespace() {
return namespace;
}
/**
* Sets the value of the namespace property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNamespace(String value) {
this.namespace = value;
}
}