org.jboss.shrinkwrap.descriptor.api.facesconfig20.FacesConfigPropertyType Maven / Gradle / Ivy
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.javaee5.IconType;
import org.jboss.shrinkwrap.descriptor.api.facesconfig.*;
import org.jboss.shrinkwrap.descriptor.api.facesconfig.JavaeeFacesConfigPropertyCommonType;
/**
* This interface defines the contract for the faces-config-propertyType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface FacesConfigPropertyType extends Child,
JavaeeFacesConfigPropertyCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigPropertyType 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 FacesConfigPropertyType
*/
public FacesConfigPropertyType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of FacesConfigPropertyType
*/
public FacesConfigPropertyType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigPropertyType 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 FacesConfigPropertyType
*/
public FacesConfigPropertyType 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 FacesConfigPropertyType
*/
public FacesConfigPropertyType removeAllDisplayName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigPropertyType 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 FacesConfigPropertyType removeAllIcon();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigPropertyType ElementName: xsd:token ElementType : property-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the property-name
element
* @param propertyName the value for the element property-name
* @return the current instance of FacesConfigPropertyType
*/
public FacesConfigPropertyType propertyName(String propertyName);
/**
* Returns the property-name
element
* @return the node defined for the element property-name
*/
public String getPropertyName();
/**
* Removes the property-name
element
* @return the current instance of FacesConfigPropertyType
*/
public FacesConfigPropertyType removePropertyName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigPropertyType ElementName: xsd:token ElementType : property-class
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the property-class
element
* @param propertyClass the value for the element property-class
* @return the current instance of FacesConfigPropertyType
*/
public FacesConfigPropertyType propertyClass(String propertyClass);
/**
* Returns the property-class
element
* @return the node defined for the element property-class
*/
public String getPropertyClass();
/**
* Removes the property-class
element
* @return the current instance of FacesConfigPropertyType
*/
public FacesConfigPropertyType removePropertyClass();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigPropertyType ElementName: javaee:string ElementType : default-value
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the default-value
element
* @param defaultValue the value for the element default-value
* @return the current instance of FacesConfigPropertyType
*/
public FacesConfigPropertyType defaultValue(String defaultValue);
/**
* Returns the default-value
element
* @return the node defined for the element default-value
*/
public String getDefaultValue();
/**
* Removes the default-value
element
* @return the current instance of FacesConfigPropertyType
*/
public FacesConfigPropertyType removeDefaultValue();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigPropertyType ElementName: javaee:string ElementType : suggested-value
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the suggested-value
element
* @param suggestedValue the value for the element suggested-value
* @return the current instance of FacesConfigPropertyType
*/
public FacesConfigPropertyType suggestedValue(String suggestedValue);
/**
* Returns the suggested-value
element
* @return the node defined for the element suggested-value
*/
public String getSuggestedValue();
/**
* Removes the suggested-value
element
* @return the current instance of FacesConfigPropertyType
*/
public FacesConfigPropertyType removeSuggestedValue();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigPropertyType ElementName: javaee:faces-config-property-extensionType ElementType : property-extension
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the property-extension
element
* @return the current instance of FacesConfigPropertyType
*/
public FacesConfigPropertyType propertyExtension();
/**
* Removes the property-extension
element
* @return the current instance of FacesConfigPropertyType
*/
public Boolean isPropertyExtension();
/**
* Removes the property-extension
element
* @return the current instance of FacesConfigPropertyType
*/
public FacesConfigPropertyType removePropertyExtension();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigPropertyType 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 FacesConfigPropertyType
*/
public FacesConfigPropertyType 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 FacesConfigPropertyType
*/
public FacesConfigPropertyType removeId();
}