org.jboss.shrinkwrap.descriptor.api.facesconfig22.FacesConfigFacetType 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.facesconfig22;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.javaee7.IconType;
import org.jboss.shrinkwrap.descriptor.api.facesconfig.*;
import org.jboss.shrinkwrap.descriptor.api.facesconfig.JavaeeFacesConfigFacetCommonType;
/**
* This interface defines the contract for the faces-config-facetType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface FacesConfigFacetType extends Child,
JavaeeFacesConfigFacetCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigFacetType 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 FacesConfigFacetType
*/
public FacesConfigFacetType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of FacesConfigFacetType
*/
public FacesConfigFacetType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigFacetType 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 FacesConfigFacetType
*/
public FacesConfigFacetType 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 FacesConfigFacetType
*/
public FacesConfigFacetType removeAllDisplayName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigFacetType 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 FacesConfigFacetType removeAllIcon();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigFacetType ElementName: xsd:token ElementType : facet-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the facet-name
element
* @param facetName the value for the element facet-name
* @return the current instance of FacesConfigFacetType
*/
public FacesConfigFacetType facetName(String facetName);
/**
* Returns the facet-name
element
* @return the node defined for the element facet-name
*/
public String getFacetName();
/**
* Removes the facet-name
element
* @return the current instance of FacesConfigFacetType
*/
public FacesConfigFacetType removeFacetName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigFacetType ElementName: javaee:faces-config-facet-extensionType ElementType : facet-extension
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the facet-extension
element
* @return the current instance of FacesConfigFacetType
*/
public FacesConfigFacetType facetExtension();
/**
* Removes the facet-extension
element
* @return the current instance of FacesConfigFacetType
*/
public Boolean isFacetExtension();
/**
* Removes the facet-extension
element
* @return the current instance of FacesConfigFacetType
*/
public FacesConfigFacetType removeFacetExtension();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigFacetType 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 FacesConfigFacetType
*/
public FacesConfigFacetType 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 FacesConfigFacetType
*/
public FacesConfigFacetType removeId();
}