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

All Superinterfaces:
Child<T>

public interface New<T>
extends Child<T>

This interface defines the contract for the New xsd type

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

Method Summary
 New<T> clazz(String clazz)
          Sets the class attribute
 Arg<New<T>> createArg()
          Creates a new Arg element
 Array<New<T>> createArray()
          Creates a new Array element
 Call<New<T>> createCall()
          Creates a new Call element
 Get<New<T>> createGet()
          Creates a new Get element
 Map<New<T>> createMap()
          Creates a new Map element
 New<New<T>> createNew()
          Creates a new New element
 Property<New<T>> createProperty()
          Creates a new Property element
 Put<New<T>> createPut()
          Creates a new Put element
 Ref<New<T>> createRef()
          Creates a new Ref element
 Set<New<T>> createSet()
          Creates a new Set element
 List<Arg<New<T>>> getAllArg()
          Returns all Arg elements
 List<Array<New<T>>> getAllArray()
          Returns all Array elements
 List<Call<New<T>>> getAllCall()
          Returns all Call elements
 List<Get<New<T>>> getAllGet()
          Returns all Get elements
 List<Map<New<T>>> getAllMap()
          Returns all Map elements
 List<New<New<T>>> getAllNew()
          Returns all New elements
 List<Property<New<T>>> getAllProperty()
          Returns all Property elements
 List<Put<New<T>>> getAllPut()
          Returns all Put elements
 List<Ref<New<T>>> getAllRef()
          Returns all Ref elements
 List<Set<New<T>>> getAllSet()
          Returns all Set elements
 String getClazz()
          Returns the class attribute
 String getId()
          Returns the id attribute
 Arg<New<T>> getOrCreateArg()
          If not already created, a new Arg element will be created and returned.
 Array<New<T>> getOrCreateArray()
          If not already created, a new Array element will be created and returned.
 Call<New<T>> getOrCreateCall()
          If not already created, a new Call element will be created and returned.
 Get<New<T>> getOrCreateGet()
          If not already created, a new Get element will be created and returned.
 Map<New<T>> getOrCreateMap()
          If not already created, a new Map element will be created and returned.
 New<New<T>> getOrCreateNew()
          If not already created, a new New element will be created and returned.
 Property<New<T>> getOrCreateProperty()
          If not already created, a new Property element will be created and returned.
 Put<New<T>> getOrCreatePut()
          If not already created, a new Put element will be created and returned.
 Ref<New<T>> getOrCreateRef()
          If not already created, a new Ref element will be created and returned.
 Set<New<T>> getOrCreateSet()
          If not already created, a new Set element will be created and returned.
 New<T> id(String id)
          Sets the id attribute
 New<T> removeAllArg()
          Removes all Arg elements
 New<T> removeAllArray()
          Removes all Array elements
 New<T> removeAllCall()
          Removes all Call elements
 New<T> removeAllGet()
          Removes all Get elements
 New<T> removeAllMap()
          Removes all Map elements
 New<T> removeAllNew()
          Removes all New elements
 New<T> removeAllProperty()
          Removes all Property elements
 New<T> removeAllPut()
          Removes all Put elements
 New<T> removeAllRef()
          Removes all Ref elements
 New<T> removeAllSet()
          Removes all Set elements
 New<T> removeClazz()
          Removes the class attribute
 New<T> removeId()
          Removes the id attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateRef

Ref<New<T>> getOrCreateRef()
If not already created, a new Ref element will be created and returned. Otherwise, the first existing Ref element will be returned.

Returns:
the instance defined for the element Ref

createRef

Ref<New<T>> createRef()
Creates a new Ref element

Returns:
the new created instance of Ref>

getAllRef

List<Ref<New<T>>> getAllRef()
Returns all Ref elements

Returns:
list of Ref

removeAllRef

New<T> removeAllRef()
Removes all Ref elements

Returns:
the current instance of Ref>

getOrCreateMap

Map<New<T>> getOrCreateMap()
If not already created, a new Map element will be created and returned. Otherwise, the first existing Map element will be returned.

Returns:
the instance defined for the element Map

createMap

Map<New<T>> createMap()
Creates a new Map element

Returns:
the new created instance of Map>

getAllMap

List<Map<New<T>>> getAllMap()
Returns all Map elements

Returns:
list of Map

removeAllMap

New<T> removeAllMap()
Removes all Map elements

Returns:
the current instance of Map>

getOrCreateCall

Call<New<T>> getOrCreateCall()
If not already created, a new Call element will be created and returned. Otherwise, the first existing Call element will be returned.

Returns:
the instance defined for the element Call

createCall

Call<New<T>> createCall()
Creates a new Call element

Returns:
the new created instance of Call>

getAllCall

List<Call<New<T>>> getAllCall()
Returns all Call elements

Returns:
list of Call

removeAllCall

New<T> removeAllCall()
Removes all Call elements

Returns:
the current instance of Call>

getOrCreatePut

Put<New<T>> getOrCreatePut()
If not already created, a new Put element will be created and returned. Otherwise, the first existing Put element will be returned.

Returns:
the instance defined for the element Put

createPut

Put<New<T>> createPut()
Creates a new Put element

Returns:
the new created instance of Put>

getAllPut

List<Put<New<T>>> getAllPut()
Returns all Put elements

Returns:
list of Put

removeAllPut

New<T> removeAllPut()
Removes all Put elements

Returns:
the current instance of Put>

getOrCreateArray

Array<New<T>> getOrCreateArray()
If not already created, a new Array element will be created and returned. Otherwise, the first existing Array element will be returned.

Returns:
the instance defined for the element Array

createArray

Array<New<T>> createArray()
Creates a new Array element

Returns:
the new created instance of Array>

getAllArray

List<Array<New<T>>> getAllArray()
Returns all Array elements

Returns:
list of Array

removeAllArray

New<T> removeAllArray()
Removes all Array elements

Returns:
the current instance of Array>

getOrCreateNew

New<New<T>> getOrCreateNew()
If not already created, a new New element will be created and returned. Otherwise, the first existing New element will be returned.

Returns:
the instance defined for the element New

createNew

New<New<T>> createNew()
Creates a new New element

Returns:
the new created instance of New>

getAllNew

List<New<New<T>>> getAllNew()
Returns all New elements

Returns:
list of New

removeAllNew

New<T> removeAllNew()
Removes all New elements

Returns:
the current instance of New>

getOrCreateProperty

Property<New<T>> getOrCreateProperty()
If not already created, a new Property element will be created and returned. Otherwise, the first existing Property element will be returned.

Returns:
the instance defined for the element Property

createProperty

Property<New<T>> createProperty()
Creates a new Property element

Returns:
the new created instance of Property>

getAllProperty

List<Property<New<T>>> getAllProperty()
Returns all Property elements

Returns:
list of Property

removeAllProperty

New<T> removeAllProperty()
Removes all Property elements

Returns:
the current instance of Property>

getOrCreateGet

Get<New<T>> getOrCreateGet()
If not already created, a new Get element will be created and returned. Otherwise, the first existing Get element will be returned.

Returns:
the instance defined for the element Get

createGet

Get<New<T>> createGet()
Creates a new Get element

Returns:
the new created instance of Get>

getAllGet

List<Get<New<T>>> getAllGet()
Returns all Get elements

Returns:
list of Get

removeAllGet

New<T> removeAllGet()
Removes all Get elements

Returns:
the current instance of Get>

getOrCreateSet

Set<New<T>> getOrCreateSet()
If not already created, a new Set element will be created and returned. Otherwise, the first existing Set element will be returned.

Returns:
the instance defined for the element Set

createSet

Set<New<T>> createSet()
Creates a new Set element

Returns:
the new created instance of Set>

getAllSet

List<Set<New<T>>> getAllSet()
Returns all Set elements

Returns:
list of Set

removeAllSet

New<T> removeAllSet()
Removes all Set elements

Returns:
the current instance of Set>

getOrCreateArg

Arg<New<T>> getOrCreateArg()
If not already created, a new Arg element will be created and returned. Otherwise, the first existing Arg element will be returned.

Returns:
the instance defined for the element Arg

createArg

Arg<New<T>> createArg()
Creates a new Arg element

Returns:
the new created instance of Arg>

getAllArg

List<Arg<New<T>>> getAllArg()
Returns all Arg elements

Returns:
list of Arg

removeAllArg

New<T> removeAllArg()
Removes all Arg elements

Returns:
the current instance of Arg>

clazz

New<T> clazz(String clazz)
Sets the class attribute

Parameters:
clazz - the value for the attribute class
Returns:
the current instance of New

getClazz

String getClazz()
Returns the class attribute

Returns:
the value defined for the attribute class

removeClazz

New<T> removeClazz()
Removes the class attribute

Returns:
the current instance of New

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

New<T> removeId()
Removes the id attribute

Returns:
the current instance of New


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