org.jboss.shrinkwrap.descriptor.api.connector16
Interface ActivationspecType<T>

All Superinterfaces:
Child<T>

public interface ActivationspecType<T>
extends Child<T>

This interface defines the contract for the activationspecType xsd type

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

Method Summary
 ActivationspecType<T> activationspecClass(String activationspecClass)
          Sets the activationspec-class element
 ConfigPropertyType<ActivationspecType<T>> createConfigProperty()
          Creates a new config-property element
 RequiredConfigPropertyType<ActivationspecType<T>> createRequiredConfigProperty()
          Creates a new required-config-property element
 String getActivationspecClass()
          Returns the activationspec-class element
 List<ConfigPropertyType<ActivationspecType<T>>> getAllConfigProperty()
          Returns all config-property elements
 List<RequiredConfigPropertyType<ActivationspecType<T>>> getAllRequiredConfigProperty()
          Returns all required-config-property elements
 String getId()
          Returns the id attribute
 ConfigPropertyType<ActivationspecType<T>> getOrCreateConfigProperty()
          If not already created, a new config-property element will be created and returned.
 RequiredConfigPropertyType<ActivationspecType<T>> getOrCreateRequiredConfigProperty()
          If not already created, a new required-config-property element will be created and returned.
 ActivationspecType<T> id(String id)
          Sets the id attribute
 ActivationspecType<T> removeActivationspecClass()
          Removes the activationspec-class element
 ActivationspecType<T> removeAllConfigProperty()
          Removes all config-property elements
 ActivationspecType<T> removeAllRequiredConfigProperty()
          Removes all required-config-property elements
 ActivationspecType<T> removeId()
          Removes the id attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

activationspecClass

ActivationspecType<T> activationspecClass(String activationspecClass)
Sets the activationspec-class element

Parameters:
activationspecClass - the value for the element activationspec-class
Returns:
the current instance of ActivationspecType

getActivationspecClass

String getActivationspecClass()
Returns the activationspec-class element

Returns:
the node defined for the element activationspec-class

removeActivationspecClass

ActivationspecType<T> removeActivationspecClass()
Removes the activationspec-class element

Returns:
the current instance of ActivationspecType

getOrCreateRequiredConfigProperty

RequiredConfigPropertyType<ActivationspecType<T>> getOrCreateRequiredConfigProperty()
If not already created, a new required-config-property element will be created and returned. Otherwise, the first existing required-config-property element will be returned.

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

createRequiredConfigProperty

RequiredConfigPropertyType<ActivationspecType<T>> createRequiredConfigProperty()
Creates a new required-config-property element

Returns:
the new created instance of RequiredConfigPropertyType>

getAllRequiredConfigProperty

List<RequiredConfigPropertyType<ActivationspecType<T>>> getAllRequiredConfigProperty()
Returns all required-config-property elements

Returns:
list of required-config-property

removeAllRequiredConfigProperty

ActivationspecType<T> removeAllRequiredConfigProperty()
Removes all required-config-property elements

Returns:
the current instance of RequiredConfigPropertyType>

getOrCreateConfigProperty

ConfigPropertyType<ActivationspecType<T>> getOrCreateConfigProperty()
If not already created, a new config-property element will be created and returned. Otherwise, the first existing config-property element will be returned.

Returns:
the instance defined for the element config-property

createConfigProperty

ConfigPropertyType<ActivationspecType<T>> createConfigProperty()
Creates a new config-property element

Returns:
the new created instance of ConfigPropertyType>

getAllConfigProperty

List<ConfigPropertyType<ActivationspecType<T>>> getAllConfigProperty()
Returns all config-property elements

Returns:
list of config-property

removeAllConfigProperty

ActivationspecType<T> removeAllConfigProperty()
Removes all config-property elements

Returns:
the current instance of ConfigPropertyType>

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

ActivationspecType<T> removeId()
Removes the id attribute

Returns:
the current instance of ActivationspecType


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