/**
* 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.oejb2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.w3c.dom.Element;
/**
* Mirrors the moduleType defined by application_1_4.xsd and adds an
* optional alt-dd element defining a Geronimo specific deployment descriptor.
* <p/>
* <p/>
* <p>Java class for ext-moduleType complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* <complexType name="ext-moduleType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <element name="connector" type="{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}pathType"/>
* <element name="ejb" type="{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}pathType"/>
* <element name="java" type="{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}pathType"/>
* <element name="web" type="{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}pathType"/>
* </choice>
* <choice>
* <element name="internal-path" type="{http://www.w3.org/2001/XMLSchema}token"/>
* <element name="external-path" type="{http://www.w3.org/2001/XMLSchema}token"/>
* </choice>
* <any/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ext-moduleType", namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-1.2", propOrder = {
"connector",
"ejb",
"java",
"web",
"internalPath",
"externalPath",
"any"
})
public class ExtModuleType {
@XmlElement(name = "connector", namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-1.2")
protected String connector;
@XmlElement(name = "ejb", namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-1.2")
protected String ejb;
@XmlElement(name = "java", namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-1.2")
protected String java;
@XmlElement(name = "web", namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-1.2")
protected String web;
@XmlElement(name = "internal-path", namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-1.2")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String internalPath;
@XmlElement(name = "external-path", namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-1.2")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String externalPath;
@XmlAnyElement(lax = true)
protected Object any;
/**
* Gets the value of the connector property.
*
* @return possible object is
* {@link String }
*/
public String getConnector() {
return connector;
}
/**
* Sets the value of the connector property.
*
* @param value allowed object is
* {@link String }
*/
public void setConnector(final String value) {
this.connector = value;
}
/**
* Gets the value of the ejb property.
*
* @return possible object is
* {@link String }
*/
public String getEjb() {
return ejb;
}
/**
* Sets the value of the ejb property.
*
* @param value allowed object is
* {@link String }
*/
public void setEjb(final String value) {
this.ejb = value;
}
/**
* Gets the value of the java property.
*
* @return possible object is
* {@link String }
*/
public String getJava() {
return java;
}
/**
* Sets the value of the java property.
*
* @param value allowed object is
* {@link String }
*/
public void setJava(final String value) {
this.java = value;
}
/**
* Gets the value of the web property.
*
* @return possible object is
* {@link String }
*/
public String getWeb() {
return web;
}
/**
* Sets the value of the web property.
*
* @param value allowed object is
* {@link String }
*/
public void setWeb(final String value) {
this.web = value;
}
/**
* Gets the value of the internalPath property.
*
* @return possible object is
* {@link String }
*/
public String getInternalPath() {
return internalPath;
}
/**
* Sets the value of the internalPath property.
*
* @param value allowed object is
* {@link String }
*/
public void setInternalPath(final String value) {
this.internalPath = value;
}
/**
* Gets the value of the externalPath property.
*
* @return possible object is
* {@link String }
*/
public String getExternalPath() {
return externalPath;
}
/**
* Sets the value of the externalPath property.
*
* @param value allowed object is
* {@link String }
*/
public void setExternalPath(final String value) {
this.externalPath = value;
}
/**
* Gets the value of the any property.
*
* @return possible object is
* {@link Object }
* {@link Element }
*/
public Object getAny() {
return any;
}
/**
* Sets the value of the any property.
*
* @param value allowed object is
* {@link Object }
* {@link Element }
*/
public void setAny(final Object value) {
this.any = value;
}
}