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

All Superinterfaces:
Child<T>

public interface Array<T>
extends Child<T>

This interface defines the contract for the Array xsd type

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

Method Summary
 Item<Array<T>> createItem()
          Creates a new Item element
 List<Item<Array<T>>> getAllItem()
          Returns all Item elements
 String getId()
          Returns the id attribute
 Item<Array<T>> getOrCreateItem()
          If not already created, a new Item element will be created and returned.
 String getType()
          Returns the type attribute
 Array<T> id(String id)
          Sets the id attribute
 Array<T> removeAllItem()
          Removes all Item elements
 Array<T> removeId()
          Removes the id attribute
 Array<T> removeType()
          Removes the type attribute
 Array<T> type(String type)
          Sets the type attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateItem

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

Returns:
the instance defined for the element Item

createItem

Item<Array<T>> createItem()
Creates a new Item element

Returns:
the new created instance of Item>

getAllItem

List<Item<Array<T>>> getAllItem()
Returns all Item elements

Returns:
list of Item

removeAllItem

Array<T> removeAllItem()
Removes all Item elements

Returns:
the current instance of Item>

type

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

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

getType

String getType()
Returns the type attribute

Returns:
the value defined for the attribute type

removeType

Array<T> removeType()
Removes the type attribute

Returns:
the current instance of Array

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

Array<T> removeId()
Removes the id attribute

Returns:
the current instance of Array


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