org.jboss.shrinkwrap.descriptor.api.facesconfig22.FacesConfigBehaviorType 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.facesconfig22.FacesConfigAttributeType;
import org.jboss.shrinkwrap.descriptor.api.facesconfig22.FacesConfigPropertyType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.IconType;
import org.jboss.shrinkwrap.descriptor.api.facesconfig.*;
import org.jboss.shrinkwrap.descriptor.api.facesconfig.JavaeeFacesConfigBehaviorCommonType;
import org.jboss.shrinkwrap.descriptor.api.facesconfig22.FacesConfigAttributeType;
import org.jboss.shrinkwrap.descriptor.api.facesconfig22.FacesConfigPropertyType;/**
* This interface defines the contract for the faces-config-behaviorType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface FacesConfigBehaviorType extends Child,
JavaeeFacesConfigBehaviorCommonType,
FacesConfigAttributeType>,
FacesConfigPropertyType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigBehaviorType 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 FacesConfigBehaviorType
*/
public FacesConfigBehaviorType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of FacesConfigBehaviorType
*/
public FacesConfigBehaviorType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigBehaviorType 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 FacesConfigBehaviorType
*/
public FacesConfigBehaviorType 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 FacesConfigBehaviorType
*/
public FacesConfigBehaviorType removeAllDisplayName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigBehaviorType 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 FacesConfigBehaviorType removeAllIcon();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigBehaviorType ElementName: xsd:token ElementType : behavior-id
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the behavior-id
element
* @param behaviorId the value for the element behavior-id
* @return the current instance of FacesConfigBehaviorType
*/
public FacesConfigBehaviorType behaviorId(String behaviorId);
/**
* Returns the behavior-id
element
* @return the node defined for the element behavior-id
*/
public String getBehaviorId();
/**
* Removes the behavior-id
element
* @return the current instance of FacesConfigBehaviorType
*/
public FacesConfigBehaviorType removeBehaviorId();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigBehaviorType ElementName: xsd:token ElementType : behavior-class
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the behavior-class
element
* @param behaviorClass the value for the element behavior-class
* @return the current instance of FacesConfigBehaviorType
*/
public FacesConfigBehaviorType behaviorClass(String behaviorClass);
/**
* Returns the behavior-class
element
* @return the node defined for the element behavior-class
*/
public String getBehaviorClass();
/**
* Removes the behavior-class
element
* @return the current instance of FacesConfigBehaviorType
*/
public FacesConfigBehaviorType removeBehaviorClass();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigBehaviorType ElementName: javaee:faces-config-attributeType ElementType : attribute
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new attribute
element will be created and returned.
* Otherwise, the first existing attribute
element will be returned.
* @return the instance defined for the element attribute
*/
public FacesConfigAttributeType> getOrCreateAttribute();
/**
* Creates a new attribute
element
* @return the new created instance of FacesConfigAttributeType>
*/
public FacesConfigAttributeType> createAttribute();
/**
* Returns all attribute
elements
* @return list of attribute
*/
public List>> getAllAttribute();
/**
* Removes all attribute
elements
* @return the current instance of FacesConfigAttributeType>
*/
public FacesConfigBehaviorType removeAllAttribute();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigBehaviorType ElementName: javaee:faces-config-propertyType ElementType : property
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new property
element will be created and returned.
* Otherwise, the first existing property
element will be returned.
* @return the instance defined for the element property
*/
public FacesConfigPropertyType> getOrCreateProperty();
/**
* Creates a new property
element
* @return the new created instance of FacesConfigPropertyType>
*/
public FacesConfigPropertyType> createProperty();
/**
* Returns all property
elements
* @return list of property
*/
public List>> getAllProperty();
/**
* Removes all property
elements
* @return the current instance of FacesConfigPropertyType>
*/
public FacesConfigBehaviorType removeAllProperty();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigBehaviorType ElementName: javaee:faces-config-behavior-extensionType ElementType : behavior-extension
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the behavior-extension
element
* @return the current instance of FacesConfigBehaviorType
*/
public FacesConfigBehaviorType behaviorExtension();
/**
* Removes the behavior-extension
element
* @return the current instance of FacesConfigBehaviorType
*/
public Boolean isBehaviorExtension();
/**
* Removes the behavior-extension
element
* @return the current instance of FacesConfigBehaviorType
*/
public FacesConfigBehaviorType removeBehaviorExtension();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigBehaviorType 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 FacesConfigBehaviorType
*/
public FacesConfigBehaviorType 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 FacesConfigBehaviorType
*/
public FacesConfigBehaviorType removeId();
}