org.jboss.shrinkwrap.descriptor.api.facespartialresponse20
Interface PartialResponseAttributesType<T>

All Superinterfaces:
Child<T>

public interface PartialResponseAttributesType<T>
extends Child<T>

This interface defines the contract for the partial-response-attributesType xsd type

Since:
Generation date :2013-01-26T19:26:58.657+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 Attribute<PartialResponseAttributesType<T>> createAttribute()
          Creates a new attribute element
 List<Attribute<PartialResponseAttributesType<T>>> getAllAttribute()
          Returns all attribute elements
 String getId()
          Returns the id attribute
 Attribute<PartialResponseAttributesType<T>> getOrCreateAttribute()
          If not already created, a new attribute element will be created and returned.
 PartialResponseAttributesType<T> id(String id)
          Sets the id attribute
 PartialResponseAttributesType<T> removeAllAttribute()
          Removes all attribute elements
 PartialResponseAttributesType<T> removeId()
          Removes the id attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateAttribute

Attribute<PartialResponseAttributesType<T>> getOrCreateAttribute()
If not already created, a new attribute element will be created and returned. Otherwise, the first existing attribute element will be returned.

Returns:
the instance defined for the element attribute

createAttribute

Attribute<PartialResponseAttributesType<T>> createAttribute()
Creates a new attribute element

Returns:
the new created instance of Attribute>

getAllAttribute

List<Attribute<PartialResponseAttributesType<T>>> getAllAttribute()
Returns all attribute elements

Returns:
list of attribute

removeAllAttribute

PartialResponseAttributesType<T> removeAllAttribute()
Removes all attribute elements

Returns:
the current instance of Attribute>

id

PartialResponseAttributesType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of PartialResponseAttributesType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

PartialResponseAttributesType<T> removeId()
Removes the id attribute

Returns:
the current instance of PartialResponseAttributesType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.