|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Item<T>
This interface defines the contract for the Item
xsd type
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 |
---|
Item<T> text(String value)
Item
Item
- the value for the body text Item
Item
String getText()
Item
Item
Get<Item<T>> getOrCreateGet()
Get
element with the given value will be created.
Otherwise, the existing Get
element will be returned.
Get- >
Item<T> removeGet()
Get
element
Item
Call<Item<T>> getOrCreateCall()
Call
element with the given value will be created.
Otherwise, the existing Call
element will be returned.
Call- >
Item<T> removeCall()
Call
element
Item
New<Item<T>> getOrCreateNew()
New
element with the given value will be created.
Otherwise, the existing New
element will be returned.
New- >
Item<T> removeNew()
New
element
Item
Ref<Item<T>> getOrCreateRef()
Ref
element with the given value will be created.
Otherwise, the existing Ref
element will be returned.
Ref- >
Item<T> removeRef()
Ref
element
Item
Array<Item<T>> getOrCreateArray()
Array
element with the given value will be created.
Otherwise, the existing Array
element will be returned.
Array- >
Item<T> removeArray()
Array
element
Item
Map<Item<T>> getOrCreateMap()
Map
element with the given value will be created.
Otherwise, the existing Map
element will be returned.
Map- >
Item<T> removeMap()
Map
element
Item
Item<T> systemProperty(String SystemProperty)
SystemProperty
element
SystemProperty
- the value for the element SystemProperty
Item
String getSystemProperty()
SystemProperty
element
SystemProperty
Item<T> removeSystemProperty()
SystemProperty
element
Item
Property<Item<T>> getOrCreateProperty()
Property
element with the given value will be created.
Otherwise, the existing Property
element will be returned.
Property- >
Item<T> removeProperty()
Property
element
Item
Item<T> type(String type)
type
attribute
type
- the value for the attribute type
Item
String getType()
type
attribute
type
Item<T> removeType()
type
attribute
Item
Item<T> id(String id)
id
attribute
id
- the value for the attribute id
Item
String getId()
id
attribute
id
Item<T> removeId()
id
attribute
Item
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |