public class WebFragmentType extends Object
Java class for web-fragmentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="web-fragmentType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded" minOccurs="0">
<element name="name" type="{http://java.sun.com/xml/ns/javaee}java-identifierType"/>
<group ref="{http://java.sun.com/xml/ns/javaee}web-commonType"/>
<element name="ordering" type="{http://java.sun.com/xml/ns/javaee}orderingType"/>
</choice>
<attGroup ref="{http://java.sun.com/xml/ns/javaee}web-common-attributes"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected Boolean |
metadataComplete |
protected List<JAXBElement<?>> |
nameOrDescriptionAndDisplayName |
protected String |
version |
| Constructor and Description |
|---|
WebFragmentType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Gets the value of the id property.
|
Boolean |
getMetadataComplete()
Gets the value of the metadataComplete property.
|
List<JAXBElement<?>> |
getNameOrDescriptionAndDisplayName()
Gets the value of the nameOrDescriptionAndDisplayName property.
|
String |
getVersion()
Gets the value of the version 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.
|
WebFragmentType |
withId(String value) |
WebFragmentType |
withMetadataComplete(Boolean value) |
WebFragmentType |
withNameOrDescriptionAndDisplayName(Collection<JAXBElement<?>> values) |
WebFragmentType |
withNameOrDescriptionAndDisplayName(JAXBElement<?>... values) |
WebFragmentType |
withVersion(String value) |
protected List<JAXBElement<?>> nameOrDescriptionAndDisplayName
protected String version
protected String id
protected Boolean metadataComplete
public List<JAXBElement<?>> getNameOrDescriptionAndDisplayName()
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 nameOrDescriptionAndDisplayName property.
For example, to add a new item, do as follows:
getNameOrDescriptionAndDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<JavaIdentifierType>
JAXBElement<DescriptionType>
JAXBElement<DisplayNameType>
JAXBElement<IconType>
JAXBElement<EmptyType>
JAXBElement<ParamValueType>
JAXBElement<FilterType>
JAXBElement<FilterMappingType>
JAXBElement<ListenerType>
JAXBElement<ServletType>
JAXBElement<ServletMappingType>
JAXBElement<SessionConfigType>
JAXBElement<MimeMappingType>
JAXBElement<WelcomeFileListType>
JAXBElement<ErrorPageType>
JAXBElement<JspConfigType>
JAXBElement<SecurityConstraintType>
JAXBElement<LoginConfigType>
JAXBElement<SecurityRoleType>
JAXBElement<EnvEntryType>
JAXBElement<EjbRefType>
JAXBElement<EjbLocalRefType>
JAXBElement<ServiceRefType>
JAXBElement<ResourceRefType>
JAXBElement<ResourceEnvRefType>
JAXBElement<MessageDestinationRefType>
JAXBElement<PersistenceContextRefType>
JAXBElement<PersistenceUnitRefType>
JAXBElement<LifecycleCallbackType>
JAXBElement<LifecycleCallbackType>
JAXBElement<DataSourceType>
JAXBElement<MessageDestinationType>
JAXBElement<LocaleEncodingMappingListType>
JAXBElement<OrderingType>
public String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic void setId(String value)
value - allowed object is
Stringpublic Boolean getMetadataComplete()
Booleanpublic void setMetadataComplete(Boolean value)
value - allowed object is
Booleanpublic WebFragmentType withNameOrDescriptionAndDisplayName(JAXBElement<?>... values)
public WebFragmentType withNameOrDescriptionAndDisplayName(Collection<JAXBElement<?>> values)
public WebFragmentType withVersion(String value)
public WebFragmentType withId(String value)
public WebFragmentType withMetadataComplete(Boolean value)
Copyright © 2019. All rights reserved.