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

All Superinterfaces:
Child<T>

public interface Arg<T>
extends Child<T>

This interface defines the contract for the Arg xsd type

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

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

Method Detail

text

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

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

getText

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

Returns:
the value defined for the text Arg

getOrCreateGet

Get<Arg<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

Arg<T> removeGet()
Removes the Get element

Returns:
the current instance of Arg

getOrCreateCall

Call<Arg<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

Arg<T> removeCall()
Removes the Call element

Returns:
the current instance of Arg

getOrCreateNew

New<Arg<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

Arg<T> removeNew()
Removes the New element

Returns:
the current instance of Arg

getOrCreateRef

Ref<Arg<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

Arg<T> removeRef()
Removes the Ref element

Returns:
the current instance of Arg

getOrCreateArray

Array<Arg<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

Arg<T> removeArray()
Removes the Array element

Returns:
the current instance of Arg

getOrCreateMap

Map<Arg<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

Arg<T> removeMap()
Removes the Map element

Returns:
the current instance of Arg

systemProperty

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

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

getSystemProperty

String getSystemProperty()
Returns the SystemProperty element

Returns:
the node defined for the element SystemProperty

removeSystemProperty

Arg<T> removeSystemProperty()
Removes the SystemProperty element

Returns:
the current instance of Arg

getOrCreateProperty

Property<Arg<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

Arg<T> removeProperty()
Removes the Property element

Returns:
the current instance of Arg

type

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

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

getType

String getType()
Returns the type attribute

Returns:
the value defined for the attribute type

removeType

Arg<T> removeType()
Removes the type attribute

Returns:
the current instance of Arg


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