org.jboss.shrinkwrap.descriptor.api.facesconfig20.FacesConfigManagedBeanType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Client View of the ShrinkWrap Descriptors Project
The newest version!
package org.jboss.shrinkwrap.descriptor.api.facesconfig20;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.facesconfig20.FacesConfigManagedPropertyType;
import org.jboss.shrinkwrap.descriptor.api.facesconfig20.FacesConfigMapEntriesType;
import org.jboss.shrinkwrap.descriptor.api.facesconfig20.FacesConfigListEntriesType;
import org.jboss.shrinkwrap.descriptor.api.javaee5.IconType;
import org.jboss.shrinkwrap.descriptor.api.facesconfig.*;
import org.jboss.shrinkwrap.descriptor.api.facesconfig.JavaeeFacesConfigManagedBeanCommonType;
import org.jboss.shrinkwrap.descriptor.api.facesconfig20.FacesConfigManagedPropertyType;
import org.jboss.shrinkwrap.descriptor.api.facesconfig20.FacesConfigMapEntriesType;
import org.jboss.shrinkwrap.descriptor.api.facesconfig20.FacesConfigListEntriesType;/**
* This interface defines the contract for the faces-config-managed-beanType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface FacesConfigManagedBeanType extends Child,
JavaeeFacesConfigManagedBeanCommonType,
FacesConfigManagedPropertyType>,
FacesConfigMapEntriesType>,
FacesConfigListEntriesType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigManagedBeanType ElementName: xsd:string ElementType : description
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing description
elements,
* a new description
element
* @param values list of description
objects
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigManagedBeanType ElementName: xsd:token ElementType : display-name
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing display-name
elements,
* a new display-name
element
* @param values list of display-name
objects
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType displayName(String ... values);
/**
* Returns all display-name
elements
* @return list of display-name
*/
public List getAllDisplayName();
/**
* Removes the display-name
element
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType removeAllDisplayName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigManagedBeanType ElementName: javaee:iconType ElementType : icon
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new icon
element will be created and returned.
* Otherwise, the first existing icon
element will be returned.
* @return the instance defined for the element icon
*/
public IconType> getOrCreateIcon();
/**
* Creates a new icon
element
* @return the new created instance of IconType>
*/
public IconType> createIcon();
/**
* Returns all icon
elements
* @return list of icon
*/
public List>> getAllIcon();
/**
* Removes all icon
elements
* @return the current instance of IconType>
*/
public FacesConfigManagedBeanType removeAllIcon();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigManagedBeanType ElementName: xsd:token ElementType : managed-bean-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the managed-bean-name
element
* @param managedBeanName the value for the element managed-bean-name
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType managedBeanName(String managedBeanName);
/**
* Returns the managed-bean-name
element
* @return the node defined for the element managed-bean-name
*/
public String getManagedBeanName();
/**
* Removes the managed-bean-name
element
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType removeManagedBeanName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigManagedBeanType ElementName: xsd:token ElementType : managed-bean-class
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the managed-bean-class
element
* @param managedBeanClass the value for the element managed-bean-class
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType managedBeanClass(String managedBeanClass);
/**
* Returns the managed-bean-class
element
* @return the node defined for the element managed-bean-class
*/
public String getManagedBeanClass();
/**
* Removes the managed-bean-class
element
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType removeManagedBeanClass();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigManagedBeanType ElementName: javaee:string ElementType : managed-bean-scope
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the managed-bean-scope
element
* @param managedBeanScope the value for the element managed-bean-scope
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType managedBeanScope(String managedBeanScope);
/**
* Returns the managed-bean-scope
element
* @return the node defined for the element managed-bean-scope
*/
public String getManagedBeanScope();
/**
* Removes the managed-bean-scope
element
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType removeManagedBeanScope();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigManagedBeanType ElementName: javaee:faces-config-managed-propertyType ElementType : managed-property
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new managed-property
element will be created and returned.
* Otherwise, the first existing managed-property
element will be returned.
* @return the instance defined for the element managed-property
*/
public FacesConfigManagedPropertyType> getOrCreateManagedProperty();
/**
* Creates a new managed-property
element
* @return the new created instance of FacesConfigManagedPropertyType>
*/
public FacesConfigManagedPropertyType> createManagedProperty();
/**
* Returns all managed-property
elements
* @return list of managed-property
*/
public List>> getAllManagedProperty();
/**
* Removes all managed-property
elements
* @return the current instance of FacesConfigManagedPropertyType>
*/
public FacesConfigManagedBeanType removeAllManagedProperty();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigManagedBeanType ElementName: javaee:faces-config-map-entriesType ElementType : map-entries
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new map-entries
element with the given value will be created.
* Otherwise, the existing map-entries
element will be returned.
* @return a new or existing instance of FacesConfigMapEntriesType>
*/
public FacesConfigMapEntriesType> getOrCreateMapEntries();
/**
* Removes the map-entries
element
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType removeMapEntries();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigManagedBeanType ElementName: javaee:faces-config-list-entriesType ElementType : list-entries
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new list-entries
element with the given value will be created.
* Otherwise, the existing list-entries
element will be returned.
* @return a new or existing instance of FacesConfigListEntriesType>
*/
public FacesConfigListEntriesType> getOrCreateListEntries();
/**
* Removes the list-entries
element
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType removeListEntries();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigManagedBeanType ElementName: javaee:faces-config-managed-bean-extensionType ElementType : managed-bean-extension
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the managed-bean-extension
element
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType managedBeanExtension();
/**
* Removes the managed-bean-extension
element
* @return the current instance of FacesConfigManagedBeanType
*/
public Boolean isManagedBeanExtension();
/**
* Removes the managed-bean-extension
element
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType removeManagedBeanExtension();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigManagedBeanType ElementName: xsd:boolean ElementType : eager
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the eager
attribute
* @param eager the value for the attribute eager
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType eager(Boolean eager);
/**
* Returns the eager
attribute
* @return the value defined for the attribute eager
*/
public Boolean isEager();
/**
* Removes the eager
attribute
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType removeEager();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigManagedBeanType ElementName: xsd:ID ElementType : id
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the id
attribute
* @param id the value for the attribute id
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType id(String id);
/**
* Returns the id
attribute
* @return the value defined for the attribute id
*/
public String getId();
/**
* Removes the id
attribute
* @return the current instance of FacesConfigManagedBeanType
*/
public FacesConfigManagedBeanType removeId();
}