ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.portletapp20
Interface UserAttributeType<T>

All Superinterfaces:
Child<T>

public interface UserAttributeType<T>
extends Child<T>

This interface defines the contract for the user-attributeType xsd type

Since:
Generation date :2012-05-09T23:45:02.086-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 UserAttributeType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<String> getAllDescription()
          Returns all description elements
 String getId()
          Returns the id attribute
 String getName()
          Returns the name element
 UserAttributeType<T> id(String id)
          Sets the id attribute
 UserAttributeType<T> name(String name)
          Sets the name element
 UserAttributeType<T> removeAllDescription()
          Removes the description element
 UserAttributeType<T> removeId()
          Removes the id attribute
 UserAttributeType<T> removeName()
          Removes the name element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

UserAttributeType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of UserAttributeType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

UserAttributeType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of UserAttributeType

name

UserAttributeType<T> name(String name)
Sets the name element

Parameters:
name - the value for the element name
Returns:
the current instance of UserAttributeType

getName

String getName()
Returns the name element

Returns:
the node defined for the element name

removeName

UserAttributeType<T> removeName()
Removes the name element

Returns:
the current instance of UserAttributeType

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

UserAttributeType<T> removeId()
Removes the id attribute

Returns:
the current instance of UserAttributeType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.