org.apache.openejb.jee.FacesConfig Maven / Gradle / Ivy
The newest version!
/**
* 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;
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.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;
import java.util.ArrayList;
import java.util.List;
/**
* web-facesconfig_2_0.xsd
*
* Java class for faces-configType complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="faces-configType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice maxOccurs="unbounded" minOccurs="0">
* <element name="application" type="{http://java.sun.com/xml/ns/javaee}faces-config-applicationType"/>
* <element name="ordering" type="{http://java.sun.com/xml/ns/javaee}faces-config-orderingType"/>
* <element name="absolute-ordering" type="{http://java.sun.com/xml/ns/javaee}faces-config-absoluteOrderingType" minOccurs="0"/>
* <element name="factory" type="{http://java.sun.com/xml/ns/javaee}faces-config-factoryType"/>
* <element name="component" type="{http://java.sun.com/xml/ns/javaee}faces-config-componentType"/>
* <element name="converter" type="{http://java.sun.com/xml/ns/javaee}faces-config-converterType"/>
* <element name="managed-bean" type="{http://java.sun.com/xml/ns/javaee}faces-config-managed-beanType"/>
* <element name="name" type="{http://java.sun.com/xml/ns/javaee}java-identifierType" minOccurs="0"/>
* <element name="navigation-rule" type="{http://java.sun.com/xml/ns/javaee}faces-config-navigation-ruleType"/>
* <element name="referenced-bean" type="{http://java.sun.com/xml/ns/javaee}faces-config-referenced-beanType"/>
* <element name="render-kit" type="{http://java.sun.com/xml/ns/javaee}faces-config-render-kitType"/>
* <element name="lifecycle" type="{http://java.sun.com/xml/ns/javaee}faces-config-lifecycleType"/>
* <element name="validator" type="{http://java.sun.com/xml/ns/javaee}faces-config-validatorType"/>
* <element name="behavior" type="{http://java.sun.com/xml/ns/javaee}faces-config-behaviorType"/>
* <element name="faces-config-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-extensionType" maxOccurs="unbounded" minOccurs="0"/>
* </choice>
* <attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* <attribute name="version" use="required" type="{http://java.sun.com/xml/ns/javaee}faces-config-versionType" />
* </restriction>
* </complexContent>
* </complexType>
*
* 59 *
*/
@XmlRootElement(name = "faces-config")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "faces-configType", propOrder = {
"application",
"ordering",
"absoluteOrdering",
"factory",
"component",
"converter",
"managedBean",
"name",
"navigationRule",
"referencedBean",
"renderKit",
"lifecycle",
"validator",
"behavior",
"facesConfigExtension",
"flowDefinitions",
"protectedViews"
})
public class FacesConfig {
protected List application;
protected List ordering;
@XmlElement(name = "absolute-ordering")
protected List absoluteOrdering;
protected List factory;
protected List component;
protected List converter;
@XmlElement(name = "managed-bean")
protected List managedBean;
protected List name;
@XmlElement(name = "navigation-rule")
protected List navigationRule;
@XmlElement(name = "referenced-bean")
protected List referencedBean;
@XmlElement(name = "render-kit")
protected List renderKit;
protected List lifecycle;
protected List validator;
protected List behavior;
@XmlElement(name = "faces-config-extension")
protected List facesConfigExtension;
@XmlElement(name = "flow-definition")
protected List flowDefinitions;
@XmlElement(name = "protected-views")
protected List protectedViews;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected java.lang.String id;
@XmlAttribute(required = true)
protected java.lang.String version;
@XmlAttribute(name = "metadata-complete")
protected Boolean metadataComplete;
/**
* Gets the value of the application 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 application property.
*
*
* For example, to add a new item, do as follows:
*
* getApplication().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FacesApplication }
*/
public List getApplication() {
if (application == null) {
application = new ArrayList();
}
return this.application;
}
public List getFlowDefinitions() {
if (flowDefinitions == null) {
flowDefinitions = new ArrayList();
}
return flowDefinitions;
}
public List getProtectedViews() {
if (protectedViews == null) {
protectedViews = new ArrayList();
}
return protectedViews;
}
public List getOrdering() {
if (ordering == null) {
ordering = new ArrayList();
}
return ordering;
}
public List getAbsoluteOrdering() {
if (absoluteOrdering == null) {
absoluteOrdering = new ArrayList();
}
return absoluteOrdering;
}
/**
* Gets the value of the factory 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 factory property.
*
*
* For example, to add a new item, do as follows:
*
* getFactory().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FacesFactory }
*/
public List getFactory() {
if (factory == null) {
factory = new ArrayList();
}
return this.factory;
}
/**
* Gets the value of the component 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 component property.
*
*
* For example, to add a new item, do as follows:
*
* getComponent().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FacesComponent }
*/
public List getComponent() {
if (component == null) {
component = new ArrayList();
}
return this.component;
}
/**
* Gets the value of the converter 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 converter property.
*
*
* For example, to add a new item, do as follows:
*
* getConverter().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FacesConverter }
*/
public List getConverter() {
if (converter == null) {
converter = new ArrayList();
}
return this.converter;
}
/**
* Gets the value of the managedBean 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 managedBean property.
*
*
* For example, to add a new item, do as follows:
*
* getManagedBean().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FacesManagedBean }
*/
public List getManagedBean() {
if (managedBean == null) {
managedBean = new ArrayList();
}
return this.managedBean;
}
public List getName() {
if (name == null) {
name = new ArrayList();
}
return name;
}
/**
* Gets the value of the navigationRule 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 navigationRule property.
*
*
* For example, to add a new item, do as follows:
*
* getNavigationRule().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FacesNavigationRule }
*/
public List getNavigationRule() {
if (navigationRule == null) {
navigationRule = new ArrayList();
}
return this.navigationRule;
}
/**
* Gets the value of the referencedBean 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 referencedBean property.
*
*
* For example, to add a new item, do as follows:
*
* getReferencedBean().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FacesReferencedBean }
*/
public List getReferencedBean() {
if (referencedBean == null) {
referencedBean = new ArrayList();
}
return this.referencedBean;
}
/**
* Gets the value of the renderKit 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 renderKit property.
*
*
* For example, to add a new item, do as follows:
*
* getRenderKit().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FacesRenderKit }
*/
public List getRenderKit() {
if (renderKit == null) {
renderKit = new ArrayList();
}
return this.renderKit;
}
/**
* Gets the value of the lifecycle 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 lifecycle property.
*
*
* For example, to add a new item, do as follows:
*
* getLifecycle().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FacesLifecycle }
*/
public List getLifecycle() {
if (lifecycle == null) {
lifecycle = new ArrayList();
}
return this.lifecycle;
}
/**
* Gets the value of the validator 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 validator property.
*
*
* For example, to add a new item, do as follows:
*
* getValidator().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FacesValidator }
*/
public List getValidator() {
if (validator == null) {
validator = new ArrayList();
}
return this.validator;
}
public List getBehavior() {
if (behavior == null) {
behavior = new ArrayList();
}
return behavior;
}
/**
* Gets the value of the facesConfigExtension 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 facesConfigExtension property.
*
*
* For example, to add a new item, do as follows:
*
* getFacesConfigExtension().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FacesExtension }
*/
public List getFacesConfigExtension() {
if (facesConfigExtension == null) {
facesConfigExtension = new ArrayList();
}
return this.facesConfigExtension;
}
/**
* 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(final java.lang.String value) {
this.id = value;
}
/**
* 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(final java.lang.String value) {
this.version = value;
}
public Boolean isMetadataComplete() {
return metadataComplete != null && metadataComplete;
}
public void setMetadataComplete(final Boolean value) {
this.metadataComplete = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy