You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by mn...@apache.org on 2009/11/05 00:48:42 UTC
svn commit: r832913 [11/12] - in
/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was:
./ v6/ v6/common/ v6/commonbnd/ v6/ecore/ v6/ejb/ v6/ejbbnd/ v6/java/
v6/webservice/ v6/webservice/clientbnd/ v6/wsclient/ v6/xmi/
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/ComponentScopedRefs.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/ComponentScopedRefs.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/ComponentScopedRefs.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/ComponentScopedRefs.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,325 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.wsclient;
+
+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.XmlID;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ * @since J2EE1.4 deprecated
+ *
+ * <p>
+ * Java class for ComponentScopedRefs complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained
+ * within this class.
+ *
+ * <pre>
+ * <complexType name="ComponentScopedRefs">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="serviceRefs" type="{webservice_client.xmi}ServiceRef"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element ref="{http://www.omg.org/XMI}Extension"/>
+ * </choice>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute name="componentName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute ref="{http://www.omg.org/XMI}id"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ComponentScopedRefs", propOrder = { "serviceRefs",
+ "extensions" })
+public class ComponentScopedRefs {
+
+ protected List<ServiceRef> serviceRefs;
+ @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+ protected List<Extension> extensions;
+ @XmlAttribute
+ protected String componentName;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected String id;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the serviceRefs property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the serviceRefs property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getServiceRefs().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ServiceRef }
+ *
+ *
+ */
+ public List<ServiceRef> getServiceRefs() {
+ if (serviceRefs == null) {
+ serviceRefs = new ArrayList<ServiceRef>();
+ }
+ return this.serviceRefs;
+ }
+
+ /**
+ * Gets the value of the extensions property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the extensions property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getExtensions().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Extension }
+ *
+ *
+ */
+ public List<Extension> getExtensions() {
+ if (extensions == null) {
+ extensions = new ArrayList<Extension>();
+ }
+ return this.extensions;
+ }
+
+ /**
+ * Gets the value of the componentName property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getComponentName() {
+ return componentName;
+ }
+
+ /**
+ * Sets the value of the componentName property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setComponentName(String value) {
+ this.componentName = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return possible object is {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return possible object is {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/Handler.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/Handler.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/Handler.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/Handler.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,283 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.wsclient;
+
+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;
+import org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup;
+import org.apache.openejb.jee.was.v6.common.ParamValue;
+import org.apache.openejb.jee.was.v6.common.QName;
+import org.apache.openejb.jee.was.v6.java.JavaClass;
+
+/**
+ * Declares the handler for a port-component. Handlers can access the init-param
+ * name/value pairs using the HandlerInfo interface. If port-name is not
+ * specified, the handler is assumed to be associated with all ports of the
+ * service.
+ *
+ * Used in: service-ref
+ *
+ * <p>
+ * Java class for Handler complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="Handler">
+ * <complexContent>
+ * <extension base="{common.xmi}CompatibilityDescriptionGroup">
+ * <choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="soapRoles" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="portNames" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="handlerClass" type="{java.xmi}JavaClass"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="initParams" type="{common.xmi}ParamValue"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="soapHeaders" type="{common.xmi}QName"/>
+ * </choice>
+ * </choice>
+ * <attribute name="handlerClass" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="handlerName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Handler", propOrder = { "soapRoles", "portNames",
+ "handlerClasses", "initParams", "soapHeaders" })
+public class Handler extends CompatibilityDescriptionGroup {
+
+ @XmlElement(nillable = true)
+ protected List<String> soapRoles;
+ @XmlElement(nillable = true)
+ protected List<String> portNames;
+ @XmlElement(name = "handlerClass")
+ protected List<JavaClass> handlerClasses;
+ protected List<ParamValue> initParams;
+ protected List<QName> soapHeaders;
+ @XmlAttribute(name = "handlerClass")
+ protected String handlerClassString;
+ @XmlAttribute
+ protected String handlerName;
+
+ /**
+ * Gets the value of the soapRoles property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the soapRoles property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getSoapRoles().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list {@link String }
+ *
+ *
+ */
+ public List<String> getSoapRoles() {
+ if (soapRoles == null) {
+ soapRoles = new ArrayList<String>();
+ }
+ return this.soapRoles;
+ }
+
+ /**
+ * Gets the value of the portNames property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the portNames property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getPortNames().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list {@link String }
+ *
+ *
+ */
+ public List<String> getPortNames() {
+ if (portNames == null) {
+ portNames = new ArrayList<String>();
+ }
+ return this.portNames;
+ }
+
+ /**
+ * Gets the value of the handlerClasses property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the handlerClasses property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getHandlerClasses().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JavaClass }
+ *
+ *
+ */
+ public List<JavaClass> getHandlerClasses() {
+ if (handlerClasses == null) {
+ handlerClasses = new ArrayList<JavaClass>();
+ }
+ return this.handlerClasses;
+ }
+
+ /**
+ * Gets the value of the initParams property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the initParams property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getInitParams().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ParamValue }
+ *
+ *
+ */
+ public List<ParamValue> getInitParams() {
+ if (initParams == null) {
+ initParams = new ArrayList<ParamValue>();
+ }
+ return this.initParams;
+ }
+
+ /**
+ * Gets the value of the soapHeaders property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the soapHeaders property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getSoapHeaders().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list {@link QName }
+ *
+ *
+ */
+ public List<QName> getSoapHeaders() {
+ if (soapHeaders == null) {
+ soapHeaders = new ArrayList<QName>();
+ }
+ return this.soapHeaders;
+ }
+
+ /**
+ * Gets the value of the handlerClassString property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getHandlerClassString() {
+ return handlerClassString;
+ }
+
+ /**
+ * Sets the value of the handlerClassString property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setHandlerClassString(String value) {
+ this.handlerClassString = value;
+ }
+
+ /**
+ * Gets the value of the handlerName property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getHandlerName() {
+ return handlerName;
+ }
+
+ /**
+ * Sets the value of the handlerName property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setHandlerName(String value) {
+ this.handlerName = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/ObjectFactory.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/ObjectFactory.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/ObjectFactory.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/ObjectFactory.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,157 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.wsclient;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+/**
+ * This object contains factory methods for each Java content interface and Java
+ * element interface generated in the org.apache.openejb.jee.was.v6.wsclient
+ * package.
+ * <p>
+ * An ObjectFactory allows you to programatically construct new instances of the
+ * Java representation for XML content. The Java representation of XML content
+ * can consist of schema derived interfaces and classes representing the binding
+ * of schema type definitions, element declarations and model groups. Factory
+ * methods for each of these are provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _WebServicesClient_QNAME = new QName(
+ "webservice_client.xmi", "WebServicesClient");
+ private final static QName _ComponentScopedRefs_QNAME = new QName(
+ "webservice_client.xmi", "ComponentScopedRefs");
+ private final static QName _Handler_QNAME = new QName(
+ "webservice_client.xmi", "Handler");
+ private final static QName _PortComponentRef_QNAME = new QName(
+ "webservice_client.xmi", "PortComponentRef");
+ private final static QName _ServiceRef_QNAME = new QName(
+ "webservice_client.xmi", "ServiceRef");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of
+ * schema derived classes for package:
+ * org.apache.openejb.jee.was.v6.wsclient
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link PortComponentRef }
+ *
+ */
+ public PortComponentRef createPortComponentRef() {
+ return new PortComponentRef();
+ }
+
+ /**
+ * Create an instance of {@link ServiceRef }
+ *
+ */
+ public ServiceRef createServiceRef() {
+ return new ServiceRef();
+ }
+
+ /**
+ * Create an instance of {@link ComponentScopedRefs }
+ *
+ */
+ public ComponentScopedRefs createComponentScopedRefs() {
+ return new ComponentScopedRefs();
+ }
+
+ /**
+ * Create an instance of {@link WebServicesClient }
+ *
+ */
+ public WebServicesClient createWebServicesClient() {
+ return new WebServicesClient();
+ }
+
+ /**
+ * Create an instance of {@link Handler }
+ *
+ */
+ public Handler createHandler() {
+ return new Handler();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}
+ * {@link WebServicesClient }{@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "webservice_client.xmi", name = "WebServicesClient")
+ public JAXBElement<WebServicesClient> createWebServicesClient(
+ WebServicesClient value) {
+ return new JAXBElement<WebServicesClient>(_WebServicesClient_QNAME,
+ WebServicesClient.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}
+ * {@link ComponentScopedRefs }{@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "webservice_client.xmi", name = "ComponentScopedRefs")
+ public JAXBElement<ComponentScopedRefs> createComponentScopedRefs(
+ ComponentScopedRefs value) {
+ return new JAXBElement<ComponentScopedRefs>(_ComponentScopedRefs_QNAME,
+ ComponentScopedRefs.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Handler }{@code
+ * >}
+ *
+ */
+ @XmlElementDecl(namespace = "webservice_client.xmi", name = "Handler")
+ public JAXBElement<Handler> createHandler(Handler value) {
+ return new JAXBElement<Handler>(_Handler_QNAME, Handler.class, null,
+ value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}
+ * {@link PortComponentRef }{@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "webservice_client.xmi", name = "PortComponentRef")
+ public JAXBElement<PortComponentRef> createPortComponentRef(
+ PortComponentRef value) {
+ return new JAXBElement<PortComponentRef>(_PortComponentRef_QNAME,
+ PortComponentRef.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ServiceRef }
+ * {@code >}
+ *
+ */
+ @XmlElementDecl(namespace = "webservice_client.xmi", name = "ServiceRef")
+ public JAXBElement<ServiceRef> createServiceRef(ServiceRef value) {
+ return new JAXBElement<ServiceRef>(_ServiceRef_QNAME, ServiceRef.class,
+ null, value);
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/PortComponentRef.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/PortComponentRef.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/PortComponentRef.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/PortComponentRef.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,355 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.wsclient;
+
+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.XmlID;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.apache.openejb.jee.was.v6.java.JavaClass;
+import org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ * The port-component-ref element declares a client dependency on the container
+ * for resolving a Service Endpoint Interface to a WSDL port. It optionally
+ * associates the Service Endpoint Interface with a particular port-component.
+ * This is only used by the container for a Service.getPort(Class) method call.
+ *
+ *
+ * <p>
+ * Java class for PortComponentRef complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="PortComponentRef">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="serviceEndpointInterface" type="{java.xmi}JavaClass"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element ref="{http://www.omg.org/XMI}Extension"/>
+ * </choice>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute name="portComponentLink" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="serviceEndpointInterface" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute ref="{http://www.omg.org/XMI}id"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "PortComponentRef", propOrder = { "serviceEndpointInterfaces",
+ "extensions" })
+public class PortComponentRef {
+
+ @XmlElement(name = "serviceEndpointInterface")
+ protected List<JavaClass> serviceEndpointInterfaces;
+ @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+ protected List<Extension> extensions;
+ @XmlAttribute
+ protected String portComponentLink;
+ @XmlAttribute(name = "serviceEndpointInterface")
+ protected String serviceEndpointInterfaceString;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected String id;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the serviceEndpointInterfaces property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the serviceEndpointInterfaces property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getServiceEndpointInterfaces().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JavaClass }
+ *
+ *
+ */
+ public List<JavaClass> getServiceEndpointInterfaces() {
+ if (serviceEndpointInterfaces == null) {
+ serviceEndpointInterfaces = new ArrayList<JavaClass>();
+ }
+ return this.serviceEndpointInterfaces;
+ }
+
+ /**
+ * Gets the value of the extensions property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the extensions property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getExtensions().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Extension }
+ *
+ *
+ */
+ public List<Extension> getExtensions() {
+ if (extensions == null) {
+ extensions = new ArrayList<Extension>();
+ }
+ return this.extensions;
+ }
+
+ /**
+ * Gets the value of the portComponentLink property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getPortComponentLink() {
+ return portComponentLink;
+ }
+
+ /**
+ * Sets the value of the portComponentLink property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setPortComponentLink(String value) {
+ this.portComponentLink = value;
+ }
+
+ /**
+ * Gets the value of the serviceEndpointInterfaceString property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getServiceEndpointInterfaceString() {
+ return serviceEndpointInterfaceString;
+ }
+
+ /**
+ * Sets the value of the serviceEndpointInterfaceString property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setServiceEndpointInterfaceString(String value) {
+ this.serviceEndpointInterfaceString = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return possible object is {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return possible object is {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/ServiceRef.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/ServiceRef.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/ServiceRef.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/ServiceRef.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,297 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.wsclient;
+
+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;
+import org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup;
+import org.apache.openejb.jee.was.v6.common.QName;
+import org.apache.openejb.jee.was.v6.java.JavaClass;
+
+/**
+ * The service-ref element declares a reference to a Web service. It contains
+ * optional description, display name and icons, a declaration of the required
+ * Service interface, an optional WSDL document location, an optional set of
+ * JAX-RPC mappings, an optional QName for the service element, an optional set
+ * of Service Endpoint Interfaces to be resolved by the container to a WSDL
+ * port, and an optional set of handlers.
+ *
+ *
+ * <p>
+ * Java class for ServiceRef complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="ServiceRef">
+ * <complexContent>
+ * <extension base="{common.xmi}CompatibilityDescriptionGroup">
+ * <choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="serviceInterface" type="{java.xmi}JavaClass"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="portComponentRefs" type="{webservice_client.xmi}PortComponentRef"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="handlers" type="{webservice_client.xmi}Handler"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="serviceQname" type="{common.xmi}QName"/>
+ * </choice>
+ * </choice>
+ * <attribute name="jaxrpcMappingFile" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="serviceInterface" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="serviceRefName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="wsdlFile" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ServiceRef", propOrder = { "serviceInterfaces",
+ "portComponentRefs", "handlers", "serviceQnames" })
+public class ServiceRef extends CompatibilityDescriptionGroup {
+
+ @XmlElement(name = "serviceInterface")
+ protected List<JavaClass> serviceInterfaces;
+ protected List<PortComponentRef> portComponentRefs;
+ protected List<Handler> handlers;
+ @XmlElement(name = "serviceQname")
+ protected List<QName> serviceQnames;
+ @XmlAttribute
+ protected String jaxrpcMappingFile;
+ @XmlAttribute(name = "serviceInterface")
+ protected String serviceInterfaceString;
+ @XmlAttribute
+ protected String serviceRefName;
+ @XmlAttribute
+ protected String wsdlFile;
+
+ /**
+ * Gets the value of the serviceInterfaces property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the serviceInterfaces property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getServiceInterfaces().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JavaClass }
+ *
+ *
+ */
+ public List<JavaClass> getServiceInterfaces() {
+ if (serviceInterfaces == null) {
+ serviceInterfaces = new ArrayList<JavaClass>();
+ }
+ return this.serviceInterfaces;
+ }
+
+ /**
+ * Gets the value of the portComponentRefs property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the portComponentRefs property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getPortComponentRefs().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PortComponentRef }
+ *
+ *
+ */
+ public List<PortComponentRef> getPortComponentRefs() {
+ if (portComponentRefs == null) {
+ portComponentRefs = new ArrayList<PortComponentRef>();
+ }
+ return this.portComponentRefs;
+ }
+
+ /**
+ * Gets the value of the handlers property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the handlers property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getHandlers().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list {@link Handler }
+ *
+ *
+ */
+ public List<Handler> getHandlers() {
+ if (handlers == null) {
+ handlers = new ArrayList<Handler>();
+ }
+ return this.handlers;
+ }
+
+ /**
+ * Gets the value of the serviceQnames property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the serviceQnames property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getServiceQnames().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list {@link QName }
+ *
+ *
+ */
+ public List<QName> getServiceQnames() {
+ if (serviceQnames == null) {
+ serviceQnames = new ArrayList<QName>();
+ }
+ return this.serviceQnames;
+ }
+
+ /**
+ * Gets the value of the jaxrpcMappingFile property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getJaxrpcMappingFile() {
+ return jaxrpcMappingFile;
+ }
+
+ /**
+ * Sets the value of the jaxrpcMappingFile property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setJaxrpcMappingFile(String value) {
+ this.jaxrpcMappingFile = value;
+ }
+
+ /**
+ * Gets the value of the serviceInterfaceString property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getServiceInterfaceString() {
+ return serviceInterfaceString;
+ }
+
+ /**
+ * Sets the value of the serviceInterfaceString property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setServiceInterfaceString(String value) {
+ this.serviceInterfaceString = value;
+ }
+
+ /**
+ * Gets the value of the serviceRefName property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getServiceRefName() {
+ return serviceRefName;
+ }
+
+ /**
+ * Sets the value of the serviceRefName property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setServiceRefName(String value) {
+ this.serviceRefName = value;
+ }
+
+ /**
+ * Gets the value of the wsdlFile property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getWsdlFile() {
+ return wsdlFile;
+ }
+
+ /**
+ * Sets the value of the wsdlFile property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setWsdlFile(String value) {
+ this.wsdlFile = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/WebServicesClient.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/WebServicesClient.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/WebServicesClient.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/WebServicesClient.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,335 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.wsclient;
+
+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.XmlID;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ * @since J2EE1.4 deprecated
+ *
+ * <p>
+ * Java class for WebServicesClient complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained
+ * within this class.
+ *
+ * <pre>
+ * <complexType name="WebServicesClient">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="componentScopedRefs" type="{webservice_client.xmi}ComponentScopedRefs"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="serviceRefs" type="{webservice_client.xmi}ServiceRef"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element ref="{http://www.omg.org/XMI}Extension"/>
+ * </choice>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute ref="{http://www.omg.org/XMI}id"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "WebServicesClient", propOrder = { "componentScopedRefs",
+ "serviceRefs", "extensions" })
+public class WebServicesClient {
+
+ protected List<ComponentScopedRefs> componentScopedRefs;
+ protected List<ServiceRef> serviceRefs;
+ @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+ protected List<Extension> extensions;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected String id;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the componentScopedRefs property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the componentScopedRefs property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getComponentScopedRefs().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ComponentScopedRefs }
+ *
+ *
+ */
+ public List<ComponentScopedRefs> getComponentScopedRefs() {
+ if (componentScopedRefs == null) {
+ componentScopedRefs = new ArrayList<ComponentScopedRefs>();
+ }
+ return this.componentScopedRefs;
+ }
+
+ /**
+ * Gets the value of the serviceRefs property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the serviceRefs property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getServiceRefs().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ServiceRef }
+ *
+ *
+ */
+ public List<ServiceRef> getServiceRefs() {
+ if (serviceRefs == null) {
+ serviceRefs = new ArrayList<ServiceRef>();
+ }
+ return this.serviceRefs;
+ }
+
+ /**
+ * Gets the value of the extensions property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the extensions property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getExtensions().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Extension }
+ *
+ *
+ */
+ public List<Extension> getExtensions() {
+ if (extensions == null) {
+ extensions = new ArrayList<Extension>();
+ }
+ return this.extensions;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return possible object is {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return possible object is {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/package-info.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/package-info.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/package-info.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/wsclient/package-info.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,19 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+@javax.xml.bind.annotation.XmlSchema(namespace = "webservice_client.xmi")
+package org.apache.openejb.jee.was.v6.wsclient;
+
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Add.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Add.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Add.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Add.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,108 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.xmi;
+
+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.XmlIDREF;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for Add complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="Add">
+ * <complexContent>
+ * <extension base="{http://www.omg.org/XMI}Difference">
+ * <attribute name="addition" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
+ * <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Add")
+public class Add extends Difference {
+
+ @XmlAttribute(name = "addition")
+ @XmlIDREF
+ protected List<Object> additions;
+ @XmlAttribute
+ protected String position;
+
+ /**
+ * Gets the value of the additions property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the additions property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getAdditions().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list {@link Object }
+ *
+ *
+ */
+ public List<Object> getAdditions() {
+ if (additions == null) {
+ additions = new ArrayList<Object>();
+ }
+ return this.additions;
+ }
+
+ /**
+ * Gets the value of the position property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getPosition() {
+ return position;
+ }
+
+ /**
+ * Sets the value of the position property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setPosition(String value) {
+ this.position = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Any.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Any.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Any.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Any.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,109 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.xmi;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+/**
+ * <p>
+ * Java class for Any complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="Any">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Any", propOrder = { "elements" })
+public class Any {
+
+ @XmlAnyElement
+ protected List<Element> elements;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the elements property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the elements property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getElements().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list {@link Element }
+ *
+ *
+ */
+ public List<Element> getElements() {
+ if (elements == null) {
+ elements = new ArrayList<Element>();
+ }
+ return this.elements;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed
+ * property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and the value is the string
+ * value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute by
+ * updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Delete.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Delete.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Delete.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Delete.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,46 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.xmi;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for Delete complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="Delete">
+ * <complexContent>
+ * <extension base="{http://www.omg.org/XMI}Difference">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Delete")
+public class Delete extends Difference {
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Difference.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Difference.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Difference.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Difference.java Wed Nov 4 23:48:38 2009
@@ -0,0 +1,468 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.xmi;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+/**
+ * <p>
+ * Java class for Difference complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="Difference">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="target">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="difference" type="{http://www.omg.org/XMI}Difference"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="container" type="{http://www.omg.org/XMI}Difference"/>
+ * </choice>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute name="container" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
+ * <attribute name="target" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Difference", propOrder = { "differenceTargets", "differences",
+ "differenceContainers" })
+public class Difference {
+
+ @XmlElement(name = "target")
+ protected List<Difference.Target> differenceTargets;
+ @XmlElement(name = "difference")
+ protected List<Difference> differences;
+ @XmlElement(name = "container")
+ protected List<Difference> differenceContainers;
+ @XmlAttribute(name = "container")
+ @XmlIDREF
+ protected List<Object> containers;
+ @XmlAttribute(name = "target")
+ @XmlIDREF
+ protected List<Object> targets;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the differenceTargets property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the differenceTargets property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getDifferenceTargets().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Difference.Target }
+ *
+ *
+ */
+ public List<Difference.Target> getDifferenceTargets() {
+ if (differenceTargets == null) {
+ differenceTargets = new ArrayList<Difference.Target>();
+ }
+ return this.differenceTargets;
+ }
+
+ /**
+ * Gets the value of the differences property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the differences property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getDifferences().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Difference }
+ *
+ *
+ */
+ public List<Difference> getDifferences() {
+ if (differences == null) {
+ differences = new ArrayList<Difference>();
+ }
+ return this.differences;
+ }
+
+ /**
+ * Gets the value of the differenceContainers property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the differenceContainers property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getDifferenceContainers().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Difference }
+ *
+ *
+ */
+ public List<Difference> getDifferenceContainers() {
+ if (differenceContainers == null) {
+ differenceContainers = new ArrayList<Difference>();
+ }
+ return this.differenceContainers;
+ }
+
+ /**
+ * Gets the value of the containers property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the containers property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getContainers().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list {@link Object }
+ *
+ *
+ */
+ public List<Object> getContainers() {
+ if (containers == null) {
+ containers = new ArrayList<Object>();
+ }
+ return this.containers;
+ }
+
+ /**
+ * Gets the value of the targets property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the targets property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getTargets().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list {@link Object }
+ *
+ *
+ */
+ public List<Object> getTargets() {
+ if (targets == null) {
+ targets = new ArrayList<Object>();
+ }
+ return this.targets;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return possible object is {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return possible object is {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return possible object is {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+ /**
+ * <p>
+ * Java class for anonymous complex type.
+ *
+ * <p>
+ * The following schema fragment specifies the expected content contained
+ * within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = { "elements" })
+ public static class Target {
+
+ @XmlAnyElement
+ protected List<Element> elements;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the elements property.
+ *
+ * <p>
+ * 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
+ * <CODE>set</CODE> method for the elements property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ *
+ * <pre>
+ * getElements().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ *
+ *
+ */
+ public List<Element> getElements() {
+ if (elements == null) {
+ elements = new ArrayList<Element>();
+ }
+ return this.elements;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed
+ * property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and the value is the
+ * string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new
+ * attribute by updating the map directly. Because of this design,
+ * there's no setter.
+ *
+ *
+ * @return always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+}