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

All Superinterfaces:
Child<T>

public interface GenericBeanType<T>
extends Child<T>

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

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

Method Summary
 GenericBeanType<T> aopDomainName(String aopDomainName)
          Sets the aop-domain-name element
 AnnotationType<GenericBeanType<T>> createAnnotation()
          Creates a new annotation element
 EjbLocalRefType<GenericBeanType<T>> createEjbLocalRef()
          Creates a new ejb-local-ref element
 EjbRefType<GenericBeanType<T>> createEjbRef()
          Creates a new ejb-ref element
 EnvEntryType<GenericBeanType<T>> createEnvEntry()
          Creates a new env-entry element
 IconType<GenericBeanType<T>> createIcon()
          Creates a new icon element
 JndiRefType<GenericBeanType<T>> createJndiRef()
          Creates a new jndi-ref element
 MessageDestinationRefType<GenericBeanType<T>> createMessageDestinationRef()
          Creates a new message-destination-ref element
 PersistenceContextRefType<GenericBeanType<T>> createPersistenceContextRef()
          Creates a new persistence-context-ref element
 PersistenceUnitRefType<GenericBeanType<T>> createPersistenceUnitRef()
          Creates a new persistence-unit-ref element
 LifecycleCallbackType<GenericBeanType<T>> createPostConstruct()
          Creates a new post-construct element
 LifecycleCallbackType<GenericBeanType<T>> createPreDestroy()
          Creates a new pre-destroy element
 ResourceEnvRefType<GenericBeanType<T>> createResourceEnvRef()
          Creates a new resource-env-ref element
 ResourceRefType<GenericBeanType<T>> createResourceRef()
          Creates a new resource-ref element
 ServiceRefType<GenericBeanType<T>> createServiceRef()
          Creates a new service-ref element
 GenericBeanType<T> depends(String... values)
          Creates for all String objects representing depends elements, a new depends element
 GenericBeanType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 GenericBeanType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 GenericBeanType<T> ejbName(String ejbName)
          Sets the ejb-name element
 List<AnnotationType<GenericBeanType<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<GenericBeanType<T>>> getAllEjbLocalRef()
          Returns all ejb-local-ref elements
 List<EjbRefType<GenericBeanType<T>>> getAllEjbRef()
          Returns all ejb-ref elements
 List<EnvEntryType<GenericBeanType<T>>> getAllEnvEntry()
          Returns all env-entry elements
 List<IconType<GenericBeanType<T>>> getAllIcon()
          Returns all icon elements
 List<JndiRefType<GenericBeanType<T>>> getAllJndiRef()
          Returns all jndi-ref elements
 List<MessageDestinationRefType<GenericBeanType<T>>> getAllMessageDestinationRef()
          Returns all message-destination-ref elements
 List<PersistenceContextRefType<GenericBeanType<T>>> getAllPersistenceContextRef()
          Returns all persistence-context-ref elements
 List<PersistenceUnitRefType<GenericBeanType<T>>> getAllPersistenceUnitRef()
          Returns all persistence-unit-ref elements
 List<LifecycleCallbackType<GenericBeanType<T>>> getAllPostConstruct()
          Returns all post-construct elements
 List<LifecycleCallbackType<GenericBeanType<T>>> getAllPreDestroy()
          Returns all pre-destroy elements
 List<ResourceEnvRefType<GenericBeanType<T>>> getAllResourceEnvRef()
          Returns all resource-env-ref elements
 List<ResourceRefType<GenericBeanType<T>>> getAllResourceRef()
          Returns all resource-ref elements
 List<ServiceRefType<GenericBeanType<T>>> getAllServiceRef()
          Returns all service-ref elements
 String getAopDomainName()
          Returns the aop-domain-name element
 String getEjbName()
          Returns the ejb-name element
 String getHomeJndiName()
          Returns the home-jndi-name element
 String getJndiBindingPolicy()
          Returns the jndi-binding-policy element
 String getJndiName()
          Returns the jndi-name element
 String getLocalHomeJndiName()
          Returns the local-home-jndi-name element
 String getLocalJndiName()
          Returns the local-jndi-name element
 String getMappedName()
          Returns the mapped-name element
 AnnotationType<GenericBeanType<T>> getOrCreateAnnotation()
          If not already created, a new annotation element will be created and returned.
 EjbLocalRefType<GenericBeanType<T>> getOrCreateEjbLocalRef()
          If not already created, a new ejb-local-ref element will be created and returned.
 EjbRefType<GenericBeanType<T>> getOrCreateEjbRef()
          If not already created, a new ejb-ref element will be created and returned.
 EnvEntryType<GenericBeanType<T>> getOrCreateEnvEntry()
          If not already created, a new env-entry element will be created and returned.
 IconType<GenericBeanType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 IgnoreDependencyType<GenericBeanType<T>> getOrCreateIgnoreDependency()
          If not already created, a new ignore-dependency element with the given value will be created.
 JndiRefType<GenericBeanType<T>> getOrCreateJndiRef()
          If not already created, a new jndi-ref element will be created and returned.
 MessageDestinationRefType<GenericBeanType<T>> getOrCreateMessageDestinationRef()
          If not already created, a new message-destination-ref element will be created and returned.
 MethodAttributesType<GenericBeanType<T>> getOrCreateMethodAttributes()
          If not already created, a new method-attributes element with the given value will be created.
 PersistenceContextRefType<GenericBeanType<T>> getOrCreatePersistenceContextRef()
          If not already created, a new persistence-context-ref element will be created and returned.
 PersistenceUnitRefType<GenericBeanType<T>> getOrCreatePersistenceUnitRef()
          If not already created, a new persistence-unit-ref element will be created and returned.
 PoolConfigType<GenericBeanType<T>> getOrCreatePoolConfig()
          If not already created, a new pool-config element with the given value will be created.
 PortComponentType<GenericBeanType<T>> getOrCreatePortComponent()
          If not already created, a new port-component element with the given value will be created.
 LifecycleCallbackType<GenericBeanType<T>> getOrCreatePostConstruct()
          If not already created, a new post-construct element will be created and returned.
 LifecycleCallbackType<GenericBeanType<T>> getOrCreatePreDestroy()
          If not already created, a new pre-destroy element will be created and returned.
 ResourceEnvRefType<GenericBeanType<T>> getOrCreateResourceEnvRef()
          If not already created, a new resource-env-ref element will be created and returned.
 ResourceRefType<GenericBeanType<T>> getOrCreateResourceRef()
          If not already created, a new resource-ref element will be created and returned.
 SecurityIdentityType<GenericBeanType<T>> getOrCreateSecurityIdentity()
          If not already created, a new security-identity element with the given value will be created.
 ServiceRefType<GenericBeanType<T>> getOrCreateServiceRef()
          If not already created, a new service-ref element will be created and returned.
 String getSecurityDomain()
          Returns the security-domain element
 GenericBeanType<T> homeJndiName(String homeJndiName)
          Sets the home-jndi-name element
 GenericBeanType<T> jndiBindingPolicy(String jndiBindingPolicy)
          Sets the jndi-binding-policy element
 GenericBeanType<T> jndiName(String jndiName)
          Sets the jndi-name element
 GenericBeanType<T> localHomeJndiName(String localHomeJndiName)
          Sets the local-home-jndi-name element
 GenericBeanType<T> localJndiName(String localJndiName)
          Sets the local-jndi-name element
 GenericBeanType<T> mappedName(String mappedName)
          Sets the mapped-name element
 GenericBeanType<T> removeAllAnnotation()
          Removes all annotation elements
 GenericBeanType<T> removeAllDepends()
          Removes the depends element
 GenericBeanType<T> removeAllDescription()
          Removes the description element
 GenericBeanType<T> removeAllDisplayName()
          Removes the display-name element
 GenericBeanType<T> removeAllEjbLocalRef()
          Removes all ejb-local-ref elements
 GenericBeanType<T> removeAllEjbRef()
          Removes all ejb-ref elements
 GenericBeanType<T> removeAllEnvEntry()
          Removes all env-entry elements
 GenericBeanType<T> removeAllIcon()
          Removes all icon elements
 GenericBeanType<T> removeAllJndiRef()
          Removes all jndi-ref elements
 GenericBeanType<T> removeAllMessageDestinationRef()
          Removes all message-destination-ref elements
 GenericBeanType<T> removeAllPersistenceContextRef()
          Removes all persistence-context-ref elements
 GenericBeanType<T> removeAllPersistenceUnitRef()
          Removes all persistence-unit-ref elements
 GenericBeanType<T> removeAllPostConstruct()
          Removes all post-construct elements
 GenericBeanType<T> removeAllPreDestroy()
          Removes all pre-destroy elements
 GenericBeanType<T> removeAllResourceEnvRef()
          Removes all resource-env-ref elements
 GenericBeanType<T> removeAllResourceRef()
          Removes all resource-ref elements
 GenericBeanType<T> removeAllServiceRef()
          Removes all service-ref elements
 GenericBeanType<T> removeAopDomainName()
          Removes the aop-domain-name element
 GenericBeanType<T> removeEjbName()
          Removes the ejb-name element
 GenericBeanType<T> removeHomeJndiName()
          Removes the home-jndi-name element
 GenericBeanType<T> removeIgnoreDependency()
          Removes the ignore-dependency element
 GenericBeanType<T> removeJndiBindingPolicy()
          Removes the jndi-binding-policy element
 GenericBeanType<T> removeJndiName()
          Removes the jndi-name element
 GenericBeanType<T> removeLocalHomeJndiName()
          Removes the local-home-jndi-name element
 GenericBeanType<T> removeLocalJndiName()
          Removes the local-jndi-name element
 GenericBeanType<T> removeMappedName()
          Removes the mapped-name element
 GenericBeanType<T> removeMethodAttributes()
          Removes the method-attributes element
 GenericBeanType<T> removePoolConfig()
          Removes the pool-config element
 GenericBeanType<T> removePortComponent()
          Removes the port-component element
 GenericBeanType<T> removeSecurityDomain()
          Removes the security-domain element
 GenericBeanType<T> removeSecurityIdentity()
          Removes the security-identity element
 GenericBeanType<T> securityDomain(String securityDomain)
          Sets the security-domain element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

GenericBeanType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of GenericBeanType

displayName

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

getAllDisplayName

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

Returns:
list of display-name

removeAllDisplayName

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

Returns:
the current instance of GenericBeanType

getOrCreateIcon

IconType<GenericBeanType<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<GenericBeanType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

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

Returns:
list of icon

removeAllIcon

GenericBeanType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

getOrCreateEnvEntry

EnvEntryType<GenericBeanType<T>> getOrCreateEnvEntry()
If not already created, a new env-entry element will be created and returned. Otherwise, the first existing env-entry element will be returned.

Returns:
the instance defined for the element env-entry

createEnvEntry

EnvEntryType<GenericBeanType<T>> createEnvEntry()
Creates a new env-entry element

Returns:
the new created instance of EnvEntryType>

getAllEnvEntry

List<EnvEntryType<GenericBeanType<T>>> getAllEnvEntry()
Returns all env-entry elements

Returns:
list of env-entry

removeAllEnvEntry

GenericBeanType<T> removeAllEnvEntry()
Removes all env-entry elements

Returns:
the current instance of EnvEntryType>

getOrCreateEjbRef

EjbRefType<GenericBeanType<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<GenericBeanType<T>> createEjbRef()
Creates a new ejb-ref element

Returns:
the new created instance of EjbRefType>

getAllEjbRef

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

Returns:
list of ejb-ref

removeAllEjbRef

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

Returns:
the current instance of EjbRefType>

getOrCreateEjbLocalRef

EjbLocalRefType<GenericBeanType<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<GenericBeanType<T>> createEjbLocalRef()
Creates a new ejb-local-ref element

Returns:
the new created instance of EjbLocalRefType>

getAllEjbLocalRef

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

Returns:
list of ejb-local-ref

removeAllEjbLocalRef

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

Returns:
the current instance of EjbLocalRefType>

getOrCreateResourceRef

ResourceRefType<GenericBeanType<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<GenericBeanType<T>> createResourceRef()
Creates a new resource-ref element

Returns:
the new created instance of ResourceRefType>

getAllResourceRef

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

Returns:
list of resource-ref

removeAllResourceRef

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

Returns:
the current instance of ResourceRefType>

getOrCreateResourceEnvRef

ResourceEnvRefType<GenericBeanType<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<GenericBeanType<T>> createResourceEnvRef()
Creates a new resource-env-ref element

Returns:
the new created instance of ResourceEnvRefType>

getAllResourceEnvRef

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

Returns:
list of resource-env-ref

removeAllResourceEnvRef

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

Returns:
the current instance of ResourceEnvRefType>

getOrCreateMessageDestinationRef

MessageDestinationRefType<GenericBeanType<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<GenericBeanType<T>> createMessageDestinationRef()
Creates a new message-destination-ref element

Returns:
the new created instance of MessageDestinationRefType>

getAllMessageDestinationRef

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

Returns:
list of message-destination-ref

removeAllMessageDestinationRef

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

Returns:
the current instance of MessageDestinationRefType>

getOrCreatePersistenceContextRef

PersistenceContextRefType<GenericBeanType<T>> getOrCreatePersistenceContextRef()
If not already created, a new persistence-context-ref element will be created and returned. Otherwise, the first existing persistence-context-ref element will be returned.

Returns:
the instance defined for the element persistence-context-ref

createPersistenceContextRef

PersistenceContextRefType<GenericBeanType<T>> createPersistenceContextRef()
Creates a new persistence-context-ref element

Returns:
the new created instance of PersistenceContextRefType>

getAllPersistenceContextRef

List<PersistenceContextRefType<GenericBeanType<T>>> getAllPersistenceContextRef()
Returns all persistence-context-ref elements

Returns:
list of persistence-context-ref

removeAllPersistenceContextRef

GenericBeanType<T> removeAllPersistenceContextRef()
Removes all persistence-context-ref elements

Returns:
the current instance of PersistenceContextRefType>

getOrCreatePersistenceUnitRef

PersistenceUnitRefType<GenericBeanType<T>> getOrCreatePersistenceUnitRef()
If not already created, a new persistence-unit-ref element will be created and returned. Otherwise, the first existing persistence-unit-ref element will be returned.

Returns:
the instance defined for the element persistence-unit-ref

createPersistenceUnitRef

PersistenceUnitRefType<GenericBeanType<T>> createPersistenceUnitRef()
Creates a new persistence-unit-ref element

Returns:
the new created instance of PersistenceUnitRefType>

getAllPersistenceUnitRef

List<PersistenceUnitRefType<GenericBeanType<T>>> getAllPersistenceUnitRef()
Returns all persistence-unit-ref elements

Returns:
list of persistence-unit-ref

removeAllPersistenceUnitRef

GenericBeanType<T> removeAllPersistenceUnitRef()
Removes all persistence-unit-ref elements

Returns:
the current instance of PersistenceUnitRefType>

getOrCreatePostConstruct

LifecycleCallbackType<GenericBeanType<T>> getOrCreatePostConstruct()
If not already created, a new post-construct element will be created and returned. Otherwise, the first existing post-construct element will be returned.

Returns:
the instance defined for the element post-construct

createPostConstruct

LifecycleCallbackType<GenericBeanType<T>> createPostConstruct()
Creates a new post-construct element

Returns:
the new created instance of LifecycleCallbackType>

getAllPostConstruct

List<LifecycleCallbackType<GenericBeanType<T>>> getAllPostConstruct()
Returns all post-construct elements

Returns:
list of post-construct

removeAllPostConstruct

GenericBeanType<T> removeAllPostConstruct()
Removes all post-construct elements

Returns:
the current instance of LifecycleCallbackType>

getOrCreatePreDestroy

LifecycleCallbackType<GenericBeanType<T>> getOrCreatePreDestroy()
If not already created, a new pre-destroy element will be created and returned. Otherwise, the first existing pre-destroy element will be returned.

Returns:
the instance defined for the element pre-destroy

createPreDestroy

LifecycleCallbackType<GenericBeanType<T>> createPreDestroy()
Creates a new pre-destroy element

Returns:
the new created instance of LifecycleCallbackType>

getAllPreDestroy

List<LifecycleCallbackType<GenericBeanType<T>>> getAllPreDestroy()
Returns all pre-destroy elements

Returns:
list of pre-destroy

removeAllPreDestroy

GenericBeanType<T> removeAllPreDestroy()
Removes all pre-destroy elements

Returns:
the current instance of LifecycleCallbackType>

getOrCreateServiceRef

ServiceRefType<GenericBeanType<T>> getOrCreateServiceRef()
If not already created, a new service-ref element will be created and returned. Otherwise, the first existing service-ref element will be returned.

Returns:
the instance defined for the element service-ref

createServiceRef

ServiceRefType<GenericBeanType<T>> createServiceRef()
Creates a new service-ref element

Returns:
the new created instance of ServiceRefType>

getAllServiceRef

List<ServiceRefType<GenericBeanType<T>>> getAllServiceRef()
Returns all service-ref elements

Returns:
list of service-ref

removeAllServiceRef

GenericBeanType<T> removeAllServiceRef()
Removes all service-ref elements

Returns:
the current instance of ServiceRefType>

ejbName

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

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

getEjbName

String getEjbName()
Returns the ejb-name element

Returns:
the node defined for the element ejb-name

removeEjbName

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

Returns:
the current instance of GenericBeanType

mappedName

GenericBeanType<T> mappedName(String mappedName)
Sets the mapped-name element

Parameters:
mappedName - the value for the element mapped-name
Returns:
the current instance of GenericBeanType

getMappedName

String getMappedName()
Returns the mapped-name element

Returns:
the node defined for the element mapped-name

removeMappedName

GenericBeanType<T> removeMappedName()
Removes the mapped-name element

Returns:
the current instance of GenericBeanType

getOrCreateSecurityIdentity

SecurityIdentityType<GenericBeanType<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

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

Returns:
the current instance of GenericBeanType

jndiName

GenericBeanType<T> jndiName(String jndiName)
Sets the jndi-name element

Parameters:
jndiName - the value for the element jndi-name
Returns:
the current instance of GenericBeanType

getJndiName

String getJndiName()
Returns the jndi-name element

Returns:
the node defined for the element jndi-name

removeJndiName

GenericBeanType<T> removeJndiName()
Removes the jndi-name element

Returns:
the current instance of GenericBeanType

homeJndiName

GenericBeanType<T> homeJndiName(String homeJndiName)
Sets the home-jndi-name element

Parameters:
homeJndiName - the value for the element home-jndi-name
Returns:
the current instance of GenericBeanType

getHomeJndiName

String getHomeJndiName()
Returns the home-jndi-name element

Returns:
the node defined for the element home-jndi-name

removeHomeJndiName

GenericBeanType<T> removeHomeJndiName()
Removes the home-jndi-name element

Returns:
the current instance of GenericBeanType

localJndiName

GenericBeanType<T> localJndiName(String localJndiName)
Sets the local-jndi-name element

Parameters:
localJndiName - the value for the element local-jndi-name
Returns:
the current instance of GenericBeanType

getLocalJndiName

String getLocalJndiName()
Returns the local-jndi-name element

Returns:
the node defined for the element local-jndi-name

removeLocalJndiName

GenericBeanType<T> removeLocalJndiName()
Removes the local-jndi-name element

Returns:
the current instance of GenericBeanType

localHomeJndiName

GenericBeanType<T> localHomeJndiName(String localHomeJndiName)
Sets the local-home-jndi-name element

Parameters:
localHomeJndiName - the value for the element local-home-jndi-name
Returns:
the current instance of GenericBeanType

getLocalHomeJndiName

String getLocalHomeJndiName()
Returns the local-home-jndi-name element

Returns:
the node defined for the element local-home-jndi-name

removeLocalHomeJndiName

GenericBeanType<T> removeLocalHomeJndiName()
Removes the local-home-jndi-name element

Returns:
the current instance of GenericBeanType

jndiBindingPolicy

GenericBeanType<T> jndiBindingPolicy(String jndiBindingPolicy)
Sets the jndi-binding-policy element

Parameters:
jndiBindingPolicy - the value for the element jndi-binding-policy
Returns:
the current instance of GenericBeanType

getJndiBindingPolicy

String getJndiBindingPolicy()
Returns the jndi-binding-policy element

Returns:
the node defined for the element jndi-binding-policy

removeJndiBindingPolicy

GenericBeanType<T> removeJndiBindingPolicy()
Removes the jndi-binding-policy element

Returns:
the current instance of GenericBeanType

securityDomain

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

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

getSecurityDomain

String getSecurityDomain()
Returns the security-domain element

Returns:
the node defined for the element security-domain

removeSecurityDomain

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

Returns:
the current instance of GenericBeanType

getOrCreateMethodAttributes

MethodAttributesType<GenericBeanType<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

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

Returns:
the current instance of GenericBeanType

depends

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

getAllDepends

List<String> getAllDepends()
Returns all depends elements

Returns:
list of depends

removeAllDepends

GenericBeanType<T> removeAllDepends()
Removes the depends element

Returns:
the current instance of GenericBeanType

getOrCreateAnnotation

AnnotationType<GenericBeanType<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<GenericBeanType<T>> createAnnotation()
Creates a new annotation element

Returns:
the new created instance of AnnotationType>

getAllAnnotation

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

Returns:
list of annotation

removeAllAnnotation

GenericBeanType<T> removeAllAnnotation()
Removes all annotation elements

Returns:
the current instance of AnnotationType>

getOrCreateIgnoreDependency

IgnoreDependencyType<GenericBeanType<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

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

Returns:
the current instance of GenericBeanType

aopDomainName

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

getAopDomainName

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

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

removeAopDomainName

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

Returns:
the current instance of GenericBeanType

getOrCreatePoolConfig

PoolConfigType<GenericBeanType<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

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

Returns:
the current instance of GenericBeanType

getOrCreateJndiRef

JndiRefType<GenericBeanType<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<GenericBeanType<T>> createJndiRef()
Creates a new jndi-ref element

Returns:
the new created instance of JndiRefType>

getAllJndiRef

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

Returns:
list of jndi-ref

removeAllJndiRef

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

Returns:
the current instance of JndiRefType>

getOrCreatePortComponent

PortComponentType<GenericBeanType<T>> getOrCreatePortComponent()
If not already created, a new port-component element with the given value will be created. Otherwise, the existing port-component element will be returned.

Returns:
a new or existing instance of PortComponentType>

removePortComponent

GenericBeanType<T> removePortComponent()
Removes the port-component element

Returns:
the current instance of GenericBeanType


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