ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface EventDefinitionType<T>
extends Child<T>

This interface defines the contract for the event-definitionType xsd type

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

Method Summary
 EventDefinitionType<T> alias(String... values)
          Creates for all String objects representing alias elements, a new alias element
 EventDefinitionType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<String> getAllAlias()
          Returns all alias elements
 List<String> getAllDescription()
          Returns all description elements
 String getId()
          Returns the id attribute
 String getName()
          Returns the name element
 String getQname()
          Returns the qname element
 String getValueType()
          Returns the value-type element
 EventDefinitionType<T> id(String id)
          Sets the id attribute
 EventDefinitionType<T> name(String name)
          Sets the name element
 EventDefinitionType<T> qname(String qname)
          Sets the qname element
 EventDefinitionType<T> removeAllAlias()
          Removes the alias element
 EventDefinitionType<T> removeAllDescription()
          Removes the description element
 EventDefinitionType<T> removeId()
          Removes the id attribute
 EventDefinitionType<T> removeName()
          Removes the name element
 EventDefinitionType<T> removeQname()
          Removes the qname element
 EventDefinitionType<T> removeValueType()
          Removes the value-type element
 EventDefinitionType<T> valueType(String valueType)
          Sets the value-type element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

EventDefinitionType<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 EventDefinitionType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

EventDefinitionType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of EventDefinitionType

qname

EventDefinitionType<T> qname(String qname)
Sets the qname element

Parameters:
qname - the value for the element qname
Returns:
the current instance of EventDefinitionType

getQname

String getQname()
Returns the qname element

Returns:
the node defined for the element qname

removeQname

EventDefinitionType<T> removeQname()
Removes the qname element

Returns:
the current instance of EventDefinitionType

name

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

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

getName

String getName()
Returns the name element

Returns:
the node defined for the element name

removeName

EventDefinitionType<T> removeName()
Removes the name element

Returns:
the current instance of EventDefinitionType

alias

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

Parameters:
values - list of alias objects
Returns:
the current instance of EventDefinitionType

getAllAlias

List<String> getAllAlias()
Returns all alias elements

Returns:
list of alias

removeAllAlias

EventDefinitionType<T> removeAllAlias()
Removes the alias element

Returns:
the current instance of EventDefinitionType

valueType

EventDefinitionType<T> valueType(String valueType)
Sets the value-type element

Parameters:
valueType - the value for the element value-type
Returns:
the current instance of EventDefinitionType

getValueType

String getValueType()
Returns the value-type element

Returns:
the node defined for the element value-type

removeValueType

EventDefinitionType<T> removeValueType()
Removes the value-type element

Returns:
the current instance of EventDefinitionType

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

EventDefinitionType<T> removeId()
Removes the id attribute

Returns:
the current instance of EventDefinitionType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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