com.sun.grizzly.http.webxml.schema.version_3_0
Class WebAppType

java.lang.Object
  extended by com.sun.grizzly.http.webxml.schema.version_3_0.WebAppType

public class WebAppType
extends Object

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>
 


Field Summary
protected  List<javax.xml.bind.JAXBElement<?>> descriptionAndDisplayNameAndIcon
           
protected  String id
           
protected  Boolean metadataComplete
           
protected  String version
           
 
Constructor Summary
WebAppType()
           
 
Method Summary
 List<javax.xml.bind.JAXBElement<?>> getDescriptionAndDisplayNameAndIcon()
          Gets the value of the descriptionAndDisplayNameAndIcon property.
 String getId()
          Gets the value of the id property.
 String getVersion()
          Gets the value of the version property.
 Boolean isMetadataComplete()
          Gets the value of the metadataComplete property.
 void setId(String value)
          Sets the value of the id property.
 void setMetadataComplete(Boolean value)
          Sets the value of the metadataComplete property.
 void setVersion(String value)
          Sets the value of the version property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

descriptionAndDisplayNameAndIcon

protected List<javax.xml.bind.JAXBElement<?>> descriptionAndDisplayNameAndIcon

version

protected String version

id

protected String id

metadataComplete

protected Boolean metadataComplete
Constructor Detail

WebAppType

public WebAppType()
Method Detail

getDescriptionAndDisplayNameAndIcon

public List<javax.xml.bind.JAXBElement<?>> getDescriptionAndDisplayNameAndIcon()
Gets the value of the descriptionAndDisplayNameAndIcon 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 descriptionAndDisplayNameAndIcon property.

For example, to add a new item, do as follows:

    getDescriptionAndDisplayNameAndIcon().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<FilterType> JAXBElement<EnvEntryType> JAXBElement<SecurityRoleType> JAXBElement<PersistenceContextRefType> JAXBElement<ServiceRefType> JAXBElement<SecurityConstraintType> JAXBElement<ServletType> JAXBElement<ListenerType> JAXBElement<LocaleEncodingMappingListType> JAXBElement<MessageDestinationRefType> JAXBElement<LifecycleCallbackType> JAXBElement<ResourceEnvRefType> JAXBElement<DescriptionType> JAXBElement<LifecycleCallbackType> JAXBElement<MessageDestinationType> JAXBElement<JspConfigType> JAXBElement<EjbRefType> JAXBElement<ResourceRefType> JAXBElement<MimeMappingType> JAXBElement<FilterMappingType> JAXBElement<SessionConfigType> JAXBElement<PersistenceUnitRefType> JAXBElement<DisplayNameType> JAXBElement<LoginConfigType> JAXBElement<ParamValueType> JAXBElement<EjbLocalRefType> JAXBElement<WelcomeFileListType> JAXBElement<EmptyType> JAXBElement<ServletMappingType> JAXBElement<IconType> JAXBElement<ErrorPageType>


getVersion

public String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

isMetadataComplete

public Boolean isMetadataComplete()
Gets the value of the metadataComplete property.

Returns:
possible object is Boolean

setMetadataComplete

public void setMetadataComplete(Boolean value)
Sets the value of the metadataComplete property.

Parameters:
value - allowed object is Boolean


Copyright © 2013 Oracle Corporation. All Rights Reserved.