org.apache.cxf.binding.corba.wsdl.TypeMappingType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.04.12 at 01:36:17 PM EDT
//
package org.apache.cxf.binding.corba.wsdl;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import org.apache.cxf.wsdl.TExtensibilityElementImpl;
/**
* CXF CORBA WSDL binding type map.
*
* Java class for typeMappingType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="typeMappingType">
* <complexContent>
* <extension base="{http://schemas.xmlsoap.org/wsdl/}tExtensibilityElement">
* <sequence>
* <choice maxOccurs="unbounded">
* <element name="struct" type="{http://cxf.apache.org/bindings/corba}struct"/>
* <element name="exception" type="{http://cxf.apache.org/bindings/corba}exception"/>
* <element name="union" type="{http://cxf.apache.org/bindings/corba}union"/>
* <element name="alias" type="{http://cxf.apache.org/bindings/corba}alias"/>
* <element name="sequence" type="{http://cxf.apache.org/bindings/corba}sequence"/>
* <element name="array" type="{http://cxf.apache.org/bindings/corba}array"/>
* <element name="enum" type="{http://cxf.apache.org/bindings/corba}enum"/>
* <element name="fixed" type="{http://cxf.apache.org/bindings/corba}fixed"/>
* <element name="anonsequence" type="{http://cxf.apache.org/bindings/corba}anonsequence"/>
* <element name="anonarray" type="{http://cxf.apache.org/bindings/corba}anonarray"/>
* <element name="anonstring" type="{http://cxf.apache.org/bindings/corba}anonstring"/>
* <element name="anonwstring" type="{http://cxf.apache.org/bindings/corba}anonwstring"/>
* <element name="anonfixed" type="{http://cxf.apache.org/bindings/corba}anonfixed"/>
* <element name="const" type="{http://cxf.apache.org/bindings/corba}const"/>
* <element name="object" type="{http://cxf.apache.org/bindings/corba}object"/>
* </choice>
* </sequence>
* <attribute name="targetNamespace" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "typeMappingType", propOrder = {
"structOrExceptionOrUnion"
})
public class TypeMappingType
extends TExtensibilityElementImpl
{
@XmlElements({
@XmlElement(name = "fixed", type = Fixed.class),
@XmlElement(name = "anonarray", type = Anonarray.class),
@XmlElement(name = "array", type = Array.class),
@XmlElement(name = "anonsequence", type = Anonsequence.class),
@XmlElement(name = "anonstring", type = Anonstring.class),
@XmlElement(name = "const", type = Const.class),
@XmlElement(name = "sequence", type = Sequence.class),
@XmlElement(name = "union", type = Union.class),
@XmlElement(name = "enum", type = Enum.class),
@XmlElement(name = "anonwstring", type = Anonwstring.class),
@XmlElement(name = "anonfixed", type = Anonfixed.class),
@XmlElement(name = "alias", type = Alias.class),
@XmlElement(name = "struct", type = Struct.class),
@XmlElement(name = "exception", type = Exception.class),
@XmlElement(name = "object", type = Object.class)
})
protected List structOrExceptionOrUnion;
@XmlAttribute(name = "targetNamespace", required = true)
@XmlSchemaType(name = "anyURI")
protected String targetNamespace;
/**
* Gets the value of the structOrExceptionOrUnion 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 structOrExceptionOrUnion property.
*
*
* For example, to add a new item, do as follows:
*
* getStructOrExceptionOrUnion().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Fixed }
* {@link Anonarray }
* {@link Array }
* {@link Anonsequence }
* {@link Anonstring }
* {@link Const }
* {@link Sequence }
* {@link Union }
* {@link Enum }
* {@link Anonwstring }
* {@link Anonfixed }
* {@link Alias }
* {@link Struct }
* {@link Exception }
* {@link Object }
*
*
*/
public List getStructOrExceptionOrUnion() {
if (structOrExceptionOrUnion == null) {
structOrExceptionOrUnion = new ArrayList();
}
return this.structOrExceptionOrUnion;
}
public boolean isSetStructOrExceptionOrUnion() {
return ((this.structOrExceptionOrUnion!= null)&&(!this.structOrExceptionOrUnion.isEmpty()));
}
public void unsetStructOrExceptionOrUnion() {
this.structOrExceptionOrUnion = null;
}
/**
* Gets the value of the targetNamespace property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetNamespace() {
return targetNamespace;
}
/**
* Sets the value of the targetNamespace property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetNamespace(String value) {
this.targetNamespace = value;
}
public boolean isSetTargetNamespace() {
return (this.targetNamespace!= null);
}
}