org.plasma.runtime.Namespace Maven / Gradle / Ivy
//
// 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: 2020.02.10 at 02:01:29 PM MST
//
package org.plasma.runtime;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Namespace complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Namespace">
* <complexContent>
* <extension base="{http://www.plasma.org/runtime}Configuration">
* <sequence>
* <element name="Provisioning" type="{http://www.plasma.org/runtime}NamespaceProvisioning" minOccurs="0"/>
* <element name="TypeBinding" type="{http://www.plasma.org/runtime}TypeBinding" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="artifact" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Namespace", propOrder = {
"provisioning",
"typeBindings"
})
@XmlRootElement(name = "Namespace")
public class Namespace
extends Configuration
{
@XmlElement(name = "Provisioning")
protected NamespaceProvisioning provisioning;
@XmlElement(name = "TypeBinding")
protected List typeBindings;
@XmlAttribute(name = "uri", required = true)
protected String uri;
@XmlAttribute(name = "artifact", required = true)
protected String artifact;
/**
* Gets the value of the provisioning property.
*
* @return
* possible object is
* {@link NamespaceProvisioning }
*
*/
public NamespaceProvisioning getProvisioning() {
return provisioning;
}
/**
* Sets the value of the provisioning property.
*
* @param value
* allowed object is
* {@link NamespaceProvisioning }
*
*/
public void setProvisioning(NamespaceProvisioning value) {
this.provisioning = value;
}
/**
* Gets the value of the typeBindings 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 typeBindings property.
*
*
* For example, to add a new item, do as follows:
*
* getTypeBindings().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TypeBinding }
*
*
*/
public List getTypeBindings() {
if (typeBindings == null) {
typeBindings = new ArrayList();
}
return this.typeBindings;
}
/**
* Gets the value of the uri property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUri() {
return uri;
}
/**
* Sets the value of the uri property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUri(String value) {
this.uri = value;
}
/**
* Gets the value of the artifact property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getArtifact() {
return artifact;
}
/**
* Sets the value of the artifact property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArtifact(String value) {
this.artifact = value;
}
}