
com.squeakysand.schema.javaee.WebApp Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.03.27 at 02:38:36 PM PDT
//
package com.squeakysand.schema.javaee;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for web-appType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="web-appType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice maxOccurs="unbounded" minOccurs="0">
* <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
* <element name="distributable" type="{http://java.sun.com/xml/ns/javaee}emptyType"/>
* <element name="context-param" type="{http://java.sun.com/xml/ns/javaee}param-valueType"/>
* <element name="filter" type="{http://java.sun.com/xml/ns/javaee}filterType"/>
* <element name="filter-mapping" type="{http://java.sun.com/xml/ns/javaee}filter-mappingType"/>
* <element name="listener" type="{http://java.sun.com/xml/ns/javaee}listenerType"/>
* <element name="servlet" type="{http://java.sun.com/xml/ns/javaee}servletType"/>
* <element name="servlet-mapping" type="{http://java.sun.com/xml/ns/javaee}servlet-mappingType"/>
* <element name="session-config" type="{http://java.sun.com/xml/ns/javaee}session-configType"/>
* <element name="mime-mapping" type="{http://java.sun.com/xml/ns/javaee}mime-mappingType"/>
* <element name="welcome-file-list" type="{http://java.sun.com/xml/ns/javaee}welcome-file-listType"/>
* <element name="error-page" type="{http://java.sun.com/xml/ns/javaee}error-pageType"/>
* <element name="jsp-config" type="{http://java.sun.com/xml/ns/javaee}jsp-configType"/>
* <element name="security-constraint" type="{http://java.sun.com/xml/ns/javaee}security-constraintType"/>
* <element name="login-config" type="{http://java.sun.com/xml/ns/javaee}login-configType"/>
* <element name="security-role" type="{http://java.sun.com/xml/ns/javaee}security-roleType"/>
* <group ref="{http://java.sun.com/xml/ns/javaee}jndiEnvironmentRefsGroup"/>
* <element name="message-destination" type="{http://java.sun.com/xml/ns/javaee}message-destinationType"/>
* <element name="locale-encoding-mapping-list" type="{http://java.sun.com/xml/ns/javaee}locale-encoding-mapping-listType"/>
* </choice>
* <attribute name="version" use="required" type="{http://java.sun.com/xml/ns/javaee}web-app-versionType" />
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* <attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "web-appType", propOrder = {
"descriptionsAndDisplayNamesAndIcons"
})
@XmlRootElement(name = "web-app")
public class WebApp {
@XmlElementRefs({
@XmlElementRef(name = "message-destination", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "servlet-mapping", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "filter-mapping", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "context-param", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "display-name", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "filter", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "post-construct", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "resource-env-ref", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "persistence-context-ref", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "session-config", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "env-entry", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "icon", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "security-constraint", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "welcome-file-list", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "description", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "mime-mapping", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "ejb-local-ref", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "servlet", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "persistence-unit-ref", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "service-ref", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "pre-destroy", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "message-destination-ref", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "login-config", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "resource-ref", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "distributable", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "jsp-config", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "error-page", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "security-role", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "listener", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "ejb-ref", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class),
@XmlElementRef(name = "locale-encoding-mapping-list", namespace = "http://java.sun.com/xml/ns/javaee", type = JAXBElement.class)
})
protected List> descriptionsAndDisplayNamesAndIcons;
@XmlAttribute(name = "version", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected java.lang.String version;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected java.lang.String id;
@XmlAttribute(name = "metadata-complete")
protected Boolean metadataComplete;
/**
* Gets the value of the descriptionsAndDisplayNamesAndIcons 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 descriptionsAndDisplayNamesAndIcons property.
*
*
* For example, to add a new item, do as follows:
*
* getDescriptionsAndDisplayNamesAndIcons().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link MessageDestinationType }{@code >}
* {@link JAXBElement }{@code <}{@link ServletMappingType }{@code >}
* {@link JAXBElement }{@code <}{@link FilterMappingType }{@code >}
* {@link JAXBElement }{@code <}{@link ParamValueType }{@code >}
* {@link JAXBElement }{@code <}{@link DisplayNameType }{@code >}
* {@link JAXBElement }{@code <}{@link FilterType }{@code >}
* {@link JAXBElement }{@code <}{@link LifecycleCallbackType }{@code >}
* {@link JAXBElement }{@code <}{@link ResourceEnvRefType }{@code >}
* {@link JAXBElement }{@code <}{@link PersistenceContextRefType }{@code >}
* {@link JAXBElement }{@code <}{@link SessionConfigType }{@code >}
* {@link JAXBElement }{@code <}{@link EnvEntryType }{@code >}
* {@link JAXBElement }{@code <}{@link IconType }{@code >}
* {@link JAXBElement }{@code <}{@link SecurityConstraintType }{@code >}
* {@link JAXBElement }{@code <}{@link WelcomeFileListType }{@code >}
* {@link JAXBElement }{@code <}{@link DescriptionType }{@code >}
* {@link JAXBElement }{@code <}{@link MimeMappingType }{@code >}
* {@link JAXBElement }{@code <}{@link EjbLocalRefType }{@code >}
* {@link JAXBElement }{@code <}{@link ServletType }{@code >}
* {@link JAXBElement }{@code <}{@link PersistenceUnitRefType }{@code >}
* {@link JAXBElement }{@code <}{@link ServiceRefType }{@code >}
* {@link JAXBElement }{@code <}{@link LifecycleCallbackType }{@code >}
* {@link JAXBElement }{@code <}{@link MessageDestinationRefType }{@code >}
* {@link JAXBElement }{@code <}{@link LoginConfigType }{@code >}
* {@link JAXBElement }{@code <}{@link ResourceRefType }{@code >}
* {@link JAXBElement }{@code <}{@link JspConfigType }{@code >}
* {@link JAXBElement }{@code <}{@link EmptyType }{@code >}
* {@link JAXBElement }{@code <}{@link ErrorPageType }{@code >}
* {@link JAXBElement }{@code <}{@link SecurityRoleType }{@code >}
* {@link JAXBElement }{@code <}{@link ListenerType }{@code >}
* {@link JAXBElement }{@code <}{@link EjbRefType }{@code >}
* {@link JAXBElement }{@code <}{@link LocaleEncodingMappingListType }{@code >}
*
*
*/
public List> getDescriptionsAndDisplayNamesAndIcons() {
if (descriptionsAndDisplayNamesAndIcons == null) {
descriptionsAndDisplayNamesAndIcons = new ArrayList>();
}
return this.descriptionsAndDisplayNamesAndIcons;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link java.lang.String }
*
*/
public java.lang.String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link java.lang.String }
*
*/
public void setVersion(java.lang.String value) {
this.version = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link java.lang.String }
*
*/
public java.lang.String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link java.lang.String }
*
*/
public void setId(java.lang.String value) {
this.id = value;
}
/**
* Gets the value of the metadataComplete property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMetadataComplete() {
return metadataComplete;
}
/**
* Sets the value of the metadataComplete property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMetadataComplete(Boolean value) {
this.metadataComplete = value;
}
}