org.jboss.shrinkwrap.descriptor.api.facespartialresponse20.PartialResponseAttributesType 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.facespartialresponse20;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.facespartialresponse20.Attribute;
import org.jboss.shrinkwrap.descriptor.api.facespartialresponse.*;
import org.jboss.shrinkwrap.descriptor.api.facespartialresponse.JavaeePartialResponseAttributesCommonType;
import org.jboss.shrinkwrap.descriptor.api.facespartialresponse20.Attribute;/**
* This interface defines the contract for the partial-response-attributesType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface PartialResponseAttributesType extends Child,
JavaeePartialResponseAttributesCommonType,
Attribute>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: PartialResponseAttributesType ElementName: javaee:attribute 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 Attribute> getOrCreateAttribute();
/**
* Creates a new attribute
element
* @return the new created instance of Attribute>
*/
public Attribute> createAttribute();
/**
* Returns all attribute
elements
* @return list of attribute
*/
public List>> getAllAttribute();
/**
* Removes all attribute
elements
* @return the current instance of Attribute>
*/
public PartialResponseAttributesType removeAllAttribute();
// --------------------------------------------------------------------------------------------------------||
// ClassName: PartialResponseAttributesType ElementName: xsd:string 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 PartialResponseAttributesType
*/
public PartialResponseAttributesType 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 PartialResponseAttributesType
*/
public PartialResponseAttributesType removeId();
}