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

All Superinterfaces:
Child<T>

public interface ConsumerBeanType<T>
extends Child<T>

This interface defines the contract for the consumer-beanType xsd type

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

Method Summary
 ConsumerBeanType<T> aopDomainName(String aopDomainName)
          Sets the aop-domain-name element
 AnnotationType<ConsumerBeanType<T>> createAnnotation()
          Creates a new annotation element
 EjbLocalRefType<ConsumerBeanType<T>> createEjbLocalRef()
          Creates a new ejb-local-ref element
 EjbRefType<ConsumerBeanType<T>> createEjbRef()
          Creates a new ejb-ref element
 IconType<ConsumerBeanType<T>> createIcon()
          Creates a new icon element
 JndiRefType<ConsumerBeanType<T>> createJndiRef()
          Creates a new jndi-ref element
 ProducerType<ConsumerBeanType<T>> createLocalProducer()
          Creates a new local-producer element
 MessageDestinationRefType<ConsumerBeanType<T>> createMessageDestinationRef()
          Creates a new message-destination-ref element
 MessagePropertiesType<ConsumerBeanType<T>> createMessageProperties()
          Creates a new message-properties element
 ProducerType<ConsumerBeanType<T>> createProducer()
          Creates a new producer element
 ResourceEnvRefType<ConsumerBeanType<T>> createResourceEnvRef()
          Creates a new resource-env-ref element
 ResourceRefType<ConsumerBeanType<T>> createResourceRef()
          Creates a new resource-ref element
 ConsumerBeanType<T> depends(String... values)
          Creates for all String objects representing depends elements, a new depends element
 ConsumerBeanType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 ConsumerBeanType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 ConsumerBeanType<T> ejbClass(String ejbClass)
          Sets the ejb-class element
 ConsumerBeanType<T> ejbName(String ejbName)
          Sets the ejb-name element
 List<AnnotationType<ConsumerBeanType<T>>> getAllAnnotation()
          Returns all annotation elements
 List<String> getAllDepends()
          Returns all depends elements
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<EjbLocalRefType<ConsumerBeanType<T>>> getAllEjbLocalRef()
          Returns all ejb-local-ref elements
 List<EjbRefType<ConsumerBeanType<T>>> getAllEjbRef()
          Returns all ejb-ref elements
 List<IconType<ConsumerBeanType<T>>> getAllIcon()
          Returns all icon elements
 List<JndiRefType<ConsumerBeanType<T>>> getAllJndiRef()
          Returns all jndi-ref elements
 List<ProducerType<ConsumerBeanType<T>>> getAllLocalProducer()
          Returns all local-producer elements
 List<MessageDestinationRefType<ConsumerBeanType<T>>> getAllMessageDestinationRef()
          Returns all message-destination-ref elements
 List<MessagePropertiesType<ConsumerBeanType<T>>> getAllMessageProperties()
          Returns all message-properties elements
 List<ProducerType<ConsumerBeanType<T>>> getAllProducer()
          Returns all producer elements
 List<ResourceEnvRefType<ConsumerBeanType<T>>> getAllResourceEnvRef()
          Returns all resource-env-ref elements
 List<ResourceRefType<ConsumerBeanType<T>>> getAllResourceRef()
          Returns all resource-ref elements
 String getAopDomainName()
          Returns the aop-domain-name element
 String getEjbClass()
          Returns the ejb-class element
 String getEjbName()
          Returns the ejb-name element
 String getId()
          Returns the id attribute
 String getMessageDestination()
          Returns the message-destination element
 String getMessageDestinationType()
          Returns the message-destination-type element
 ActivationConfigType<ConsumerBeanType<T>> getOrCreateActivationConfig()
          If not already created, a new activation-config element with the given value will be created.
 AnnotationType<ConsumerBeanType<T>> getOrCreateAnnotation()
          If not already created, a new annotation element will be created and returned.
 MethodAttributesType<ConsumerBeanType<T>> getOrCreateCurrentMessage()
          If not already created, a new current-message element with the given value will be created.
 EjbLocalRefType<ConsumerBeanType<T>> getOrCreateEjbLocalRef()
          If not already created, a new ejb-local-ref element will be created and returned.
 EjbRefType<ConsumerBeanType<T>> getOrCreateEjbRef()
          If not already created, a new ejb-ref element will be created and returned.
 IconType<ConsumerBeanType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 IgnoreDependencyType<ConsumerBeanType<T>> getOrCreateIgnoreDependency()
          If not already created, a new ignore-dependency element with the given value will be created.
 JndiRefType<ConsumerBeanType<T>> getOrCreateJndiRef()
          If not already created, a new jndi-ref element will be created and returned.
 ProducerType<ConsumerBeanType<T>> getOrCreateLocalProducer()
          If not already created, a new local-producer element will be created and returned.
 MessageDestinationRefType<ConsumerBeanType<T>> getOrCreateMessageDestinationRef()
          If not already created, a new message-destination-ref element will be created and returned.
 MessagePropertiesType<ConsumerBeanType<T>> getOrCreateMessageProperties()
          If not already created, a new message-properties element will be created and returned.
 MethodAttributesType<ConsumerBeanType<T>> getOrCreateMethodAttributes()
          If not already created, a new method-attributes element with the given value will be created.
 PoolConfigType<ConsumerBeanType<T>> getOrCreatePoolConfig()
          If not already created, a new pool-config element with the given value will be created.
 ProducerType<ConsumerBeanType<T>> getOrCreateProducer()
          If not already created, a new producer element will be created and returned.
 ResourceEnvRefType<ConsumerBeanType<T>> getOrCreateResourceEnvRef()
          If not already created, a new resource-env-ref element will be created and returned.
 ResourceRefType<ConsumerBeanType<T>> getOrCreateResourceRef()
          If not already created, a new resource-ref element will be created and returned.
 SecurityIdentityType<ConsumerBeanType<T>> getOrCreateSecurityIdentity()
          If not already created, a new security-identity element with the given value will be created.
 String getSecurityDomain()
          Returns the security-domain element
 ConsumerBeanType<T> id(String id)
          Sets the id attribute
 ConsumerBeanType<T> messageDestination(String messageDestination)
          Sets the message-destination element
 ConsumerBeanType<T> messageDestinationType(String messageDestinationType)
          Sets the message-destination-type element
 ConsumerBeanType<T> removeActivationConfig()
          Removes the activation-config element
 ConsumerBeanType<T> removeAllAnnotation()
          Removes all annotation elements
 ConsumerBeanType<T> removeAllDepends()
          Removes the depends element
 ConsumerBeanType<T> removeAllDescription()
          Removes the description element
 ConsumerBeanType<T> removeAllDisplayName()
          Removes the display-name element
 ConsumerBeanType<T> removeAllEjbLocalRef()
          Removes all ejb-local-ref elements
 ConsumerBeanType<T> removeAllEjbRef()
          Removes all ejb-ref elements
 ConsumerBeanType<T> removeAllIcon()
          Removes all icon elements
 ConsumerBeanType<T> removeAllJndiRef()
          Removes all jndi-ref elements
 ConsumerBeanType<T> removeAllLocalProducer()
          Removes all local-producer elements
 ConsumerBeanType<T> removeAllMessageDestinationRef()
          Removes all message-destination-ref elements
 ConsumerBeanType<T> removeAllMessageProperties()
          Removes all message-properties elements
 ConsumerBeanType<T> removeAllProducer()
          Removes all producer elements
 ConsumerBeanType<T> removeAllResourceEnvRef()
          Removes all resource-env-ref elements
 ConsumerBeanType<T> removeAllResourceRef()
          Removes all resource-ref elements
 ConsumerBeanType<T> removeAopDomainName()
          Removes the aop-domain-name element
 ConsumerBeanType<T> removeCurrentMessage()
          Removes the current-message element
 ConsumerBeanType<T> removeEjbClass()
          Removes the ejb-class element
 ConsumerBeanType<T> removeEjbName()
          Removes the ejb-name element
 ConsumerBeanType<T> removeId()
          Removes the id attribute
 ConsumerBeanType<T> removeIgnoreDependency()
          Removes the ignore-dependency element
 ConsumerBeanType<T> removeMessageDestination()
          Removes the message-destination element
 ConsumerBeanType<T> removeMessageDestinationType()
          Removes the message-destination-type element
 ConsumerBeanType<T> removeMethodAttributes()
          Removes the method-attributes element
 ConsumerBeanType<T> removePoolConfig()
          Removes the pool-config element
 ConsumerBeanType<T> removeSecurityDomain()
          Removes the security-domain element
 ConsumerBeanType<T> removeSecurityIdentity()
          Removes the security-identity element
 ConsumerBeanType<T> securityDomain(String securityDomain)
          Sets the security-domain element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

ConsumerBeanType<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 ConsumerBeanType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

ConsumerBeanType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of ConsumerBeanType

displayName

ConsumerBeanType<T> displayName(String... values)
Creates for all String objects representing display-name elements, a new display-name element

Parameters:
values - list of display-name objects
Returns:
the current instance of ConsumerBeanType

getAllDisplayName

List<String> getAllDisplayName()
Returns all display-name elements

Returns:
list of display-name

removeAllDisplayName

ConsumerBeanType<T> removeAllDisplayName()
Removes the display-name element

Returns:
the current instance of ConsumerBeanType

getOrCreateIcon

IconType<ConsumerBeanType<T>> getOrCreateIcon()
If not already created, a new icon element will be created and returned. Otherwise, the first existing icon element will be returned.

Returns:
the instance defined for the element icon

createIcon

IconType<ConsumerBeanType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

List<IconType<ConsumerBeanType<T>>> getAllIcon()
Returns all icon elements

Returns:
list of icon

removeAllIcon

ConsumerBeanType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

ejbName

ConsumerBeanType<T> ejbName(String ejbName)
Sets the ejb-name element

Parameters:
ejbName - the value for the element ejb-name
Returns:
the current instance of ConsumerBeanType

getEjbName

String getEjbName()
Returns the ejb-name element

Returns:
the node defined for the element ejb-name

removeEjbName

ConsumerBeanType<T> removeEjbName()
Removes the ejb-name element

Returns:
the current instance of ConsumerBeanType

ejbClass

ConsumerBeanType<T> ejbClass(String ejbClass)
Sets the ejb-class element

Parameters:
ejbClass - the value for the element ejb-class
Returns:
the current instance of ConsumerBeanType

getEjbClass

String getEjbClass()
Returns the ejb-class element

Returns:
the node defined for the element ejb-class

removeEjbClass

ConsumerBeanType<T> removeEjbClass()
Removes the ejb-class element

Returns:
the current instance of ConsumerBeanType

messageDestination

ConsumerBeanType<T> messageDestination(String messageDestination)
Sets the message-destination element

Parameters:
messageDestination - the value for the element message-destination
Returns:
the current instance of ConsumerBeanType

getMessageDestination

String getMessageDestination()
Returns the message-destination element

Returns:
the node defined for the element message-destination

removeMessageDestination

ConsumerBeanType<T> removeMessageDestination()
Removes the message-destination element

Returns:
the current instance of ConsumerBeanType

messageDestinationType

ConsumerBeanType<T> messageDestinationType(String messageDestinationType)
Sets the message-destination-type element

Parameters:
messageDestinationType - the value for the element message-destination-type
Returns:
the current instance of ConsumerBeanType

getMessageDestinationType

String getMessageDestinationType()
Returns the message-destination-type element

Returns:
the node defined for the element message-destination-type

removeMessageDestinationType

ConsumerBeanType<T> removeMessageDestinationType()
Removes the message-destination-type element

Returns:
the current instance of ConsumerBeanType

getOrCreateProducer

ProducerType<ConsumerBeanType<T>> getOrCreateProducer()
If not already created, a new producer element will be created and returned. Otherwise, the first existing producer element will be returned.

Returns:
the instance defined for the element producer

createProducer

ProducerType<ConsumerBeanType<T>> createProducer()
Creates a new producer element

Returns:
the new created instance of ProducerType>

getAllProducer

List<ProducerType<ConsumerBeanType<T>>> getAllProducer()
Returns all producer elements

Returns:
list of producer

removeAllProducer

ConsumerBeanType<T> removeAllProducer()
Removes all producer elements

Returns:
the current instance of ProducerType>

getOrCreateLocalProducer

ProducerType<ConsumerBeanType<T>> getOrCreateLocalProducer()
If not already created, a new local-producer element will be created and returned. Otherwise, the first existing local-producer element will be returned.

Returns:
the instance defined for the element local-producer

createLocalProducer

ProducerType<ConsumerBeanType<T>> createLocalProducer()
Creates a new local-producer element

Returns:
the new created instance of ProducerType>

getAllLocalProducer

List<ProducerType<ConsumerBeanType<T>>> getAllLocalProducer()
Returns all local-producer elements

Returns:
list of local-producer

removeAllLocalProducer

ConsumerBeanType<T> removeAllLocalProducer()
Removes all local-producer elements

Returns:
the current instance of ProducerType>

getOrCreateCurrentMessage

MethodAttributesType<ConsumerBeanType<T>> getOrCreateCurrentMessage()
If not already created, a new current-message element with the given value will be created. Otherwise, the existing current-message element will be returned.

Returns:
a new or existing instance of MethodAttributesType>

removeCurrentMessage

ConsumerBeanType<T> removeCurrentMessage()
Removes the current-message element

Returns:
the current instance of ConsumerBeanType

getOrCreateMessageProperties

MessagePropertiesType<ConsumerBeanType<T>> getOrCreateMessageProperties()
If not already created, a new message-properties element will be created and returned. Otherwise, the first existing message-properties element will be returned.

Returns:
the instance defined for the element message-properties

createMessageProperties

MessagePropertiesType<ConsumerBeanType<T>> createMessageProperties()
Creates a new message-properties element

Returns:
the new created instance of MessagePropertiesType>

getAllMessageProperties

List<MessagePropertiesType<ConsumerBeanType<T>>> getAllMessageProperties()
Returns all message-properties elements

Returns:
list of message-properties

removeAllMessageProperties

ConsumerBeanType<T> removeAllMessageProperties()
Removes all message-properties elements

Returns:
the current instance of MessagePropertiesType>

getOrCreateEjbRef

EjbRefType<ConsumerBeanType<T>> getOrCreateEjbRef()
If not already created, a new ejb-ref element will be created and returned. Otherwise, the first existing ejb-ref element will be returned.

Returns:
the instance defined for the element ejb-ref

createEjbRef

EjbRefType<ConsumerBeanType<T>> createEjbRef()
Creates a new ejb-ref element

Returns:
the new created instance of EjbRefType>

getAllEjbRef

List<EjbRefType<ConsumerBeanType<T>>> getAllEjbRef()
Returns all ejb-ref elements

Returns:
list of ejb-ref

removeAllEjbRef

ConsumerBeanType<T> removeAllEjbRef()
Removes all ejb-ref elements

Returns:
the current instance of EjbRefType>

getOrCreateEjbLocalRef

EjbLocalRefType<ConsumerBeanType<T>> getOrCreateEjbLocalRef()
If not already created, a new ejb-local-ref element will be created and returned. Otherwise, the first existing ejb-local-ref element will be returned.

Returns:
the instance defined for the element ejb-local-ref

createEjbLocalRef

EjbLocalRefType<ConsumerBeanType<T>> createEjbLocalRef()
Creates a new ejb-local-ref element

Returns:
the new created instance of EjbLocalRefType>

getAllEjbLocalRef

List<EjbLocalRefType<ConsumerBeanType<T>>> getAllEjbLocalRef()
Returns all ejb-local-ref elements

Returns:
list of ejb-local-ref

removeAllEjbLocalRef

ConsumerBeanType<T> removeAllEjbLocalRef()
Removes all ejb-local-ref elements

Returns:
the current instance of EjbLocalRefType>

getOrCreateSecurityIdentity

SecurityIdentityType<ConsumerBeanType<T>> getOrCreateSecurityIdentity()
If not already created, a new security-identity element with the given value will be created. Otherwise, the existing security-identity element will be returned.

Returns:
a new or existing instance of SecurityIdentityType>

removeSecurityIdentity

ConsumerBeanType<T> removeSecurityIdentity()
Removes the security-identity element

Returns:
the current instance of ConsumerBeanType

getOrCreateResourceRef

ResourceRefType<ConsumerBeanType<T>> getOrCreateResourceRef()
If not already created, a new resource-ref element will be created and returned. Otherwise, the first existing resource-ref element will be returned.

Returns:
the instance defined for the element resource-ref

createResourceRef

ResourceRefType<ConsumerBeanType<T>> createResourceRef()
Creates a new resource-ref element

Returns:
the new created instance of ResourceRefType>

getAllResourceRef

List<ResourceRefType<ConsumerBeanType<T>>> getAllResourceRef()
Returns all resource-ref elements

Returns:
list of resource-ref

removeAllResourceRef

ConsumerBeanType<T> removeAllResourceRef()
Removes all resource-ref elements

Returns:
the current instance of ResourceRefType>

getOrCreateResourceEnvRef

ResourceEnvRefType<ConsumerBeanType<T>> getOrCreateResourceEnvRef()
If not already created, a new resource-env-ref element will be created and returned. Otherwise, the first existing resource-env-ref element will be returned.

Returns:
the instance defined for the element resource-env-ref

createResourceEnvRef

ResourceEnvRefType<ConsumerBeanType<T>> createResourceEnvRef()
Creates a new resource-env-ref element

Returns:
the new created instance of ResourceEnvRefType>

getAllResourceEnvRef

List<ResourceEnvRefType<ConsumerBeanType<T>>> getAllResourceEnvRef()
Returns all resource-env-ref elements

Returns:
list of resource-env-ref

removeAllResourceEnvRef

ConsumerBeanType<T> removeAllResourceEnvRef()
Removes all resource-env-ref elements

Returns:
the current instance of ResourceEnvRefType>

getOrCreateMessageDestinationRef

MessageDestinationRefType<ConsumerBeanType<T>> getOrCreateMessageDestinationRef()
If not already created, a new message-destination-ref element will be created and returned. Otherwise, the first existing message-destination-ref element will be returned.

Returns:
the instance defined for the element message-destination-ref

createMessageDestinationRef

MessageDestinationRefType<ConsumerBeanType<T>> createMessageDestinationRef()
Creates a new message-destination-ref element

Returns:
the new created instance of MessageDestinationRefType>

getAllMessageDestinationRef

List<MessageDestinationRefType<ConsumerBeanType<T>>> getAllMessageDestinationRef()
Returns all message-destination-ref elements

Returns:
list of message-destination-ref

removeAllMessageDestinationRef

ConsumerBeanType<T> removeAllMessageDestinationRef()
Removes all message-destination-ref elements

Returns:
the current instance of MessageDestinationRefType>

securityDomain

ConsumerBeanType<T> securityDomain(String securityDomain)
Sets the security-domain element

Parameters:
securityDomain - the value for the element security-domain
Returns:
the current instance of ConsumerBeanType

getSecurityDomain

String getSecurityDomain()
Returns the security-domain element

Returns:
the node defined for the element security-domain

removeSecurityDomain

ConsumerBeanType<T> removeSecurityDomain()
Removes the security-domain element

Returns:
the current instance of ConsumerBeanType

getOrCreateMethodAttributes

MethodAttributesType<ConsumerBeanType<T>> getOrCreateMethodAttributes()
If not already created, a new method-attributes element with the given value will be created. Otherwise, the existing method-attributes element will be returned.

Returns:
a new or existing instance of MethodAttributesType>

removeMethodAttributes

ConsumerBeanType<T> removeMethodAttributes()
Removes the method-attributes element

Returns:
the current instance of ConsumerBeanType

depends

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

Parameters:
values - list of depends objects
Returns:
the current instance of ConsumerBeanType

getAllDepends

List<String> getAllDepends()
Returns all depends elements

Returns:
list of depends

removeAllDepends

ConsumerBeanType<T> removeAllDepends()
Removes the depends element

Returns:
the current instance of ConsumerBeanType

getOrCreateAnnotation

AnnotationType<ConsumerBeanType<T>> getOrCreateAnnotation()
If not already created, a new annotation element will be created and returned. Otherwise, the first existing annotation element will be returned.

Returns:
the instance defined for the element annotation

createAnnotation

AnnotationType<ConsumerBeanType<T>> createAnnotation()
Creates a new annotation element

Returns:
the new created instance of AnnotationType>

getAllAnnotation

List<AnnotationType<ConsumerBeanType<T>>> getAllAnnotation()
Returns all annotation elements

Returns:
list of annotation

removeAllAnnotation

ConsumerBeanType<T> removeAllAnnotation()
Removes all annotation elements

Returns:
the current instance of AnnotationType>

getOrCreateIgnoreDependency

IgnoreDependencyType<ConsumerBeanType<T>> getOrCreateIgnoreDependency()
If not already created, a new ignore-dependency element with the given value will be created. Otherwise, the existing ignore-dependency element will be returned.

Returns:
a new or existing instance of IgnoreDependencyType>

removeIgnoreDependency

ConsumerBeanType<T> removeIgnoreDependency()
Removes the ignore-dependency element

Returns:
the current instance of ConsumerBeanType

aopDomainName

ConsumerBeanType<T> aopDomainName(String aopDomainName)
Sets the aop-domain-name element

Parameters:
aopDomainName - the value for the element aop-domain-name
Returns:
the current instance of ConsumerBeanType

getAopDomainName

String getAopDomainName()
Returns the aop-domain-name element

Returns:
the node defined for the element aop-domain-name

removeAopDomainName

ConsumerBeanType<T> removeAopDomainName()
Removes the aop-domain-name element

Returns:
the current instance of ConsumerBeanType

getOrCreatePoolConfig

PoolConfigType<ConsumerBeanType<T>> getOrCreatePoolConfig()
If not already created, a new pool-config element with the given value will be created. Otherwise, the existing pool-config element will be returned.

Returns:
a new or existing instance of PoolConfigType>

removePoolConfig

ConsumerBeanType<T> removePoolConfig()
Removes the pool-config element

Returns:
the current instance of ConsumerBeanType

getOrCreateJndiRef

JndiRefType<ConsumerBeanType<T>> getOrCreateJndiRef()
If not already created, a new jndi-ref element will be created and returned. Otherwise, the first existing jndi-ref element will be returned.

Returns:
the instance defined for the element jndi-ref

createJndiRef

JndiRefType<ConsumerBeanType<T>> createJndiRef()
Creates a new jndi-ref element

Returns:
the new created instance of JndiRefType>

getAllJndiRef

List<JndiRefType<ConsumerBeanType<T>>> getAllJndiRef()
Returns all jndi-ref elements

Returns:
list of jndi-ref

removeAllJndiRef

ConsumerBeanType<T> removeAllJndiRef()
Removes all jndi-ref elements

Returns:
the current instance of JndiRefType>

getOrCreateActivationConfig

ActivationConfigType<ConsumerBeanType<T>> getOrCreateActivationConfig()
If not already created, a new activation-config element with the given value will be created. Otherwise, the existing activation-config element will be returned.

Returns:
a new or existing instance of ActivationConfigType>

removeActivationConfig

ConsumerBeanType<T> removeActivationConfig()
Removes the activation-config element

Returns:
the current instance of ConsumerBeanType

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

ConsumerBeanType<T> removeId()
Removes the id attribute

Returns:
the current instance of ConsumerBeanType


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