org.jboss.shrinkwrap.descriptor.api.jetty7
Interface Item<T>

All Superinterfaces:
Child<T>

public interface Item<T>
extends Child<T>

This interface defines the contract for the Item xsd type

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

Method Summary
 String getId()
          Returns the id attribute
 Array<Item<T>> getOrCreateArray()
          If not already created, a new Array element with the given value will be created.
 Call<Item<T>> getOrCreateCall()
          If not already created, a new Call element with the given value will be created.
 Get<Item<T>> getOrCreateGet()
          If not already created, a new Get element with the given value will be created.
 Map<Item<T>> getOrCreateMap()
          If not already created, a new Map element with the given value will be created.
 New<Item<T>> getOrCreateNew()
          If not already created, a new New element with the given value will be created.
 Property<Item<T>> getOrCreateProperty()
          If not already created, a new Property element with the given value will be created.
 Ref<Item<T>> getOrCreateRef()
          If not already created, a new Ref element with the given value will be created.
 String getSystemProperty()
          Returns the SystemProperty element
 String getText()
          Returns the body text of the element Item
 String getType()
          Returns the type attribute
 Item<T> id(String id)
          Sets the id attribute
 Item<T> removeArray()
          Removes the Array element
 Item<T> removeCall()
          Removes the Call element
 Item<T> removeGet()
          Removes the Get element
 Item<T> removeId()
          Removes the id attribute
 Item<T> removeMap()
          Removes the Map element
 Item<T> removeNew()
          Removes the New element
 Item<T> removeProperty()
          Removes the Property element
 Item<T> removeRef()
          Removes the Ref element
 Item<T> removeSystemProperty()
          Removes the SystemProperty element
 Item<T> removeType()
          Removes the type attribute
 Item<T> systemProperty(String SystemProperty)
          Sets the SystemProperty element
 Item<T> text(String value)
          Sets the body text for the element Item
 Item<T> type(String type)
          Sets the type attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

text

Item<T> text(String value)
Sets the body text for the element Item

Parameters:
Item - the value for the body text Item
Returns:
the current instance of Item

getText

String getText()
Returns the body text of the element Item

Returns:
the value defined for the text Item

getOrCreateGet

Get<Item<T>> getOrCreateGet()
If not already created, a new Get element with the given value will be created. Otherwise, the existing Get element will be returned.

Returns:
a new or existing instance of Get>

removeGet

Item<T> removeGet()
Removes the Get element

Returns:
the current instance of Item

getOrCreateCall

Call<Item<T>> getOrCreateCall()
If not already created, a new Call element with the given value will be created. Otherwise, the existing Call element will be returned.

Returns:
a new or existing instance of Call>

removeCall

Item<T> removeCall()
Removes the Call element

Returns:
the current instance of Item

getOrCreateNew

New<Item<T>> getOrCreateNew()
If not already created, a new New element with the given value will be created. Otherwise, the existing New element will be returned.

Returns:
a new or existing instance of New>

removeNew

Item<T> removeNew()
Removes the New element

Returns:
the current instance of Item

getOrCreateRef

Ref<Item<T>> getOrCreateRef()
If not already created, a new Ref element with the given value will be created. Otherwise, the existing Ref element will be returned.

Returns:
a new or existing instance of Ref>

removeRef

Item<T> removeRef()
Removes the Ref element

Returns:
the current instance of Item

getOrCreateArray

Array<Item<T>> getOrCreateArray()
If not already created, a new Array element with the given value will be created. Otherwise, the existing Array element will be returned.

Returns:
a new or existing instance of Array>

removeArray

Item<T> removeArray()
Removes the Array element

Returns:
the current instance of Item

getOrCreateMap

Map<Item<T>> getOrCreateMap()
If not already created, a new Map element with the given value will be created. Otherwise, the existing Map element will be returned.

Returns:
a new or existing instance of Map>

removeMap

Item<T> removeMap()
Removes the Map element

Returns:
the current instance of Item

systemProperty

Item<T> systemProperty(String SystemProperty)
Sets the SystemProperty element

Parameters:
SystemProperty - the value for the element SystemProperty
Returns:
the current instance of Item

getSystemProperty

String getSystemProperty()
Returns the SystemProperty element

Returns:
the node defined for the element SystemProperty

removeSystemProperty

Item<T> removeSystemProperty()
Removes the SystemProperty element

Returns:
the current instance of Item

getOrCreateProperty

Property<Item<T>> getOrCreateProperty()
If not already created, a new Property element with the given value will be created. Otherwise, the existing Property element will be returned.

Returns:
a new or existing instance of Property>

removeProperty

Item<T> removeProperty()
Removes the Property element

Returns:
the current instance of Item

type

Item<T> type(String type)
Sets the type attribute

Parameters:
type - the value for the attribute type
Returns:
the current instance of Item

getType

String getType()
Returns the type attribute

Returns:
the value defined for the attribute type

removeType

Item<T> removeType()
Removes the type attribute

Returns:
the current instance of Item

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

Item<T> removeId()
Removes the id attribute

Returns:
the current instance of Item


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