org.jboss.shrinkwrap.descriptor.api.jsptaglibrary20.VariableType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.jsptaglibrary20;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.j2ee14.GenericBooleanType;
import org.jboss.shrinkwrap.descriptor.api.jsptaglibrary20.VariableScopeType;
/**
* This interface defines the contract for the variableType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface VariableType extends Child {
// --------------------------------------------------------------------------------------------------------||
// ClassName: VariableType 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 VariableType
*/
public VariableType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of VariableType
*/
public VariableType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: VariableType ElementName: xsd:token ElementType : name-given
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the name-given
element
* @param nameGiven the value for the element name-given
* @return the current instance of VariableType
*/
public VariableType nameGiven(String nameGiven);
/**
* Returns the name-given
element
* @return the node defined for the element name-given
*/
public String getNameGiven();
/**
* Removes the name-given
element
* @return the current instance of VariableType
*/
public VariableType removeNameGiven();
// --------------------------------------------------------------------------------------------------------||
// ClassName: VariableType ElementName: xsd:token ElementType : name-from-attribute
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the name-from-attribute
element
* @param nameFromAttribute the value for the element name-from-attribute
* @return the current instance of VariableType
*/
public VariableType nameFromAttribute(String nameFromAttribute);
/**
* Returns the name-from-attribute
element
* @return the node defined for the element name-from-attribute
*/
public String getNameFromAttribute();
/**
* Removes the name-from-attribute
element
* @return the current instance of VariableType
*/
public VariableType removeNameFromAttribute();
// --------------------------------------------------------------------------------------------------------||
// ClassName: VariableType ElementName: xsd:token ElementType : variable-class
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the variable-class
element
* @param variableClass the value for the element variable-class
* @return the current instance of VariableType
*/
public VariableType variableClass(String variableClass);
/**
* Returns the variable-class
element
* @return the node defined for the element variable-class
*/
public String getVariableClass();
/**
* Removes the variable-class
element
* @return the current instance of VariableType
*/
public VariableType removeVariableClass();
// --------------------------------------------------------------------------------------------------------||
// ClassName: VariableType ElementName: j2ee:generic-booleanType ElementType : declare
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: true isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the declare
element
* @param declare the value for the element declare
* @return the current instance of VariableType
*/
public VariableType declare(GenericBooleanType declare);
/**
* Sets the declare
element
* @param declare the value for the element declare
* @return the current instance of VariableType
*/
public VariableType declare(String declare);
/**
* Returns the declare
element
* @return the value found for the element declare
*/
public GenericBooleanType getDeclare();
/**
* Returns the declare
element
* @return the value found for the element declare
*/
public String getDeclareAsString();
/**
* Removes the declare
attribute
* @return the current instance of VariableType
*/
public VariableType removeDeclare();
// --------------------------------------------------------------------------------------------------------||
// ClassName: VariableType ElementName: j2ee:variable-scopeType ElementType : scope
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: true isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the scope
element
* @param scope the value for the element scope
* @return the current instance of VariableType
*/
public VariableType scope(VariableScopeType scope);
/**
* Sets the scope
element
* @param scope the value for the element scope
* @return the current instance of VariableType
*/
public VariableType scope(String scope);
/**
* Returns the scope
element
* @return the value found for the element scope
*/
public VariableScopeType getScope();
/**
* Returns the scope
element
* @return the value found for the element scope
*/
public String getScopeAsString();
/**
* Removes the scope
attribute
* @return the current instance of VariableType
*/
public VariableType removeScope();
// --------------------------------------------------------------------------------------------------------||
// ClassName: VariableType 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 VariableType
*/
public VariableType 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 VariableType
*/
public VariableType removeId();
}