org.jboss.shrinkwrap.descriptor.api.jboss51
Interface ActivationConfigType<T>

All Superinterfaces:
Child<T>

public interface ActivationConfigType<T>
extends Child<T>

This interface defines the contract for the activation-configType xsd type

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

Method Summary
 ActivationConfigPropertyType<ActivationConfigType<T>> createActivationConfigProperty()
          Creates a new activation-config-property element
 ActivationConfigType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<ActivationConfigPropertyType<ActivationConfigType<T>>> getAllActivationConfigProperty()
          Returns all activation-config-property elements
 List<String> getAllDescription()
          Returns all description elements
 String getId()
          Returns the id attribute
 ActivationConfigPropertyType<ActivationConfigType<T>> getOrCreateActivationConfigProperty()
          If not already created, a new activation-config-property element will be created and returned.
 ActivationConfigType<T> id(String id)
          Sets the id attribute
 ActivationConfigType<T> removeAllActivationConfigProperty()
          Removes all activation-config-property elements
 ActivationConfigType<T> removeAllDescription()
          Removes the description element
 ActivationConfigType<T> removeId()
          Removes the id attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

ActivationConfigType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of ActivationConfigType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

ActivationConfigType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of ActivationConfigType

getOrCreateActivationConfigProperty

ActivationConfigPropertyType<ActivationConfigType<T>> getOrCreateActivationConfigProperty()
If not already created, a new activation-config-property element will be created and returned. Otherwise, the first existing activation-config-property element will be returned.

Returns:
the instance defined for the element activation-config-property

createActivationConfigProperty

ActivationConfigPropertyType<ActivationConfigType<T>> createActivationConfigProperty()
Creates a new activation-config-property element

Returns:
the new created instance of ActivationConfigPropertyType>

getAllActivationConfigProperty

List<ActivationConfigPropertyType<ActivationConfigType<T>>> getAllActivationConfigProperty()
Returns all activation-config-property elements

Returns:
list of activation-config-property

removeAllActivationConfigProperty

ActivationConfigType<T> removeAllActivationConfigProperty()
Removes all activation-config-property elements

Returns:
the current instance of ActivationConfigPropertyType>

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

ActivationConfigType<T> removeId()
Removes the id attribute

Returns:
the current instance of ActivationConfigType


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