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

All Superinterfaces:
Child<T>

public interface Put<T>
extends Child<T>

This interface defines the contract for the Put xsd type

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

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

Method Detail

text

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

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

getText

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

Returns:
the value defined for the text Put

getOrCreateGet

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

Put<T> removeGet()
Removes the Get element

Returns:
the current instance of Put

getOrCreateCall

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

Put<T> removeCall()
Removes the Call element

Returns:
the current instance of Put

getOrCreateNew

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

Put<T> removeNew()
Removes the New element

Returns:
the current instance of Put

getOrCreateRef

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

Put<T> removeRef()
Removes the Ref element

Returns:
the current instance of Put

getOrCreateArray

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

Put<T> removeArray()
Removes the Array element

Returns:
the current instance of Put

getOrCreateMap

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

Put<T> removeMap()
Removes the Map element

Returns:
the current instance of Put

systemProperty

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

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

getSystemProperty

String getSystemProperty()
Returns the SystemProperty element

Returns:
the node defined for the element SystemProperty

removeSystemProperty

Put<T> removeSystemProperty()
Removes the SystemProperty element

Returns:
the current instance of Put

getOrCreateProperty

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

Put<T> removeProperty()
Removes the Property element

Returns:
the current instance of Put

name

Put<T> name(String name)
Sets the name attribute

Parameters:
name - the value for the attribute name
Returns:
the current instance of Put

getName

String getName()
Returns the name attribute

Returns:
the value defined for the attribute name

removeName

Put<T> removeName()
Removes the name attribute

Returns:
the current instance of Put

type

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

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

getType

String getType()
Returns the type attribute

Returns:
the value defined for the attribute type

removeType

Put<T> removeType()
Removes the type attribute

Returns:
the current instance of Put


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