public class ResourceEnvRefTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ResourceEnvRefType<T>
resource-env-refType xsd type| Constructor and Description |
|---|
ResourceEnvRefTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
ResourceEnvRefTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node,
org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) |
| Modifier and Type | Method and Description |
|---|---|
InjectionTargetType<ResourceEnvRefType<T>> |
createInjectionTarget()
Creates a new
injection-target element |
ResourceEnvRefType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
List<String> |
getAllDescription()
Returns all
description elements |
List<InjectionTargetType<ResourceEnvRefType<T>>> |
getAllInjectionTarget()
Returns all
injection-target elements |
String |
getId()
Returns the
id attribute |
String |
getLookupName()
Returns the
lookup-name element |
String |
getMappedName()
Returns the
mapped-name element |
InjectionTargetType<ResourceEnvRefType<T>> |
getOrCreateInjectionTarget()
If not already created, a new
injection-target element will be created and returned. |
String |
getResourceEnvRefName()
Returns the
resource-env-ref-name element |
String |
getResourceEnvRefType()
Returns the
resource-env-ref-type element |
ResourceEnvRefType<T> |
id(String id)
Sets the
id attribute |
ResourceEnvRefType<T> |
lookupName(String lookupName)
Sets the
lookup-name element |
ResourceEnvRefType<T> |
mappedName(String mappedName)
Sets the
mapped-name element |
ResourceEnvRefType<T> |
removeAllDescription()
Removes the
description element |
ResourceEnvRefType<T> |
removeAllInjectionTarget()
Removes all
injection-target elements |
ResourceEnvRefType<T> |
removeId()
Removes the
id attribute |
ResourceEnvRefType<T> |
removeLookupName()
Removes the
lookup-name element |
ResourceEnvRefType<T> |
removeMappedName()
Removes the
mapped-name element |
ResourceEnvRefType<T> |
removeResourceEnvRefName()
Removes the
resource-env-ref-name element |
ResourceEnvRefType<T> |
removeResourceEnvRefType()
Removes the
resource-env-ref-type element |
ResourceEnvRefType<T> |
resourceEnvRefName(String resourceEnvRefName)
Sets the
resource-env-ref-name element |
ResourceEnvRefType<T> |
resourceEnvRefType(String resourceEnvRefType)
Sets the
resource-env-ref-type element |
T |
up() |
public ResourceEnvRefTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ResourceEnvRefType<T> lookupName(String lookupName)
lookup-name elementlookupName in interface ResourceEnvRefType<T>lookupName - the value for the element lookup-nameResourceEnvRefTypepublic String getLookupName()
lookup-name elementgetLookupName in interface ResourceEnvRefType<T>lookup-namepublic ResourceEnvRefType<T> removeLookupName()
lookup-name elementremoveLookupName in interface ResourceEnvRefType<T>ResourceEnvRefTypepublic ResourceEnvRefType<T> mappedName(String mappedName)
mapped-name elementmappedName in interface ResourceEnvRefType<T>mappedName - the value for the element mapped-nameResourceEnvRefTypepublic String getMappedName()
mapped-name elementgetMappedName in interface ResourceEnvRefType<T>mapped-namepublic ResourceEnvRefType<T> removeMappedName()
mapped-name elementremoveMappedName in interface ResourceEnvRefType<T>ResourceEnvRefTypepublic InjectionTargetType<ResourceEnvRefType<T>> getOrCreateInjectionTarget()
injection-target element will be created and returned.
Otherwise, the first existing injection-target element will be returned.getOrCreateInjectionTarget in interface ResourceEnvRefType<T>injection-targetpublic InjectionTargetType<ResourceEnvRefType<T>> createInjectionTarget()
injection-target elementcreateInjectionTarget in interface ResourceEnvRefType<T>InjectionTargetType> public List<InjectionTargetType<ResourceEnvRefType<T>>> getAllInjectionTarget()
injection-target elementsgetAllInjectionTarget in interface ResourceEnvRefType<T>injection-targetpublic ResourceEnvRefType<T> removeAllInjectionTarget()
injection-target elementsremoveAllInjectionTarget in interface ResourceEnvRefType<T>InjectionTargetType> public ResourceEnvRefType<T> description(String... values)
description elements,
a new description elementdescription in interface ResourceEnvRefType<T>values - list of description objectsResourceEnvRefTypepublic List<String> getAllDescription()
description elementsgetAllDescription in interface ResourceEnvRefType<T>descriptionpublic ResourceEnvRefType<T> removeAllDescription()
description elementremoveAllDescription in interface ResourceEnvRefType<T>ResourceEnvRefTypepublic ResourceEnvRefType<T> resourceEnvRefName(String resourceEnvRefName)
resource-env-ref-name elementresourceEnvRefName in interface ResourceEnvRefType<T>resourceEnvRefName - the value for the element resource-env-ref-nameResourceEnvRefTypepublic String getResourceEnvRefName()
resource-env-ref-name elementgetResourceEnvRefName in interface ResourceEnvRefType<T>resource-env-ref-namepublic ResourceEnvRefType<T> removeResourceEnvRefName()
resource-env-ref-name elementremoveResourceEnvRefName in interface ResourceEnvRefType<T>ResourceEnvRefTypepublic ResourceEnvRefType<T> resourceEnvRefType(String resourceEnvRefType)
resource-env-ref-type elementresourceEnvRefType in interface ResourceEnvRefType<T>resourceEnvRefType - the value for the element resource-env-ref-typeResourceEnvRefTypepublic String getResourceEnvRefType()
resource-env-ref-type elementgetResourceEnvRefType in interface ResourceEnvRefType<T>resource-env-ref-typepublic ResourceEnvRefType<T> removeResourceEnvRefType()
resource-env-ref-type elementremoveResourceEnvRefType in interface ResourceEnvRefType<T>ResourceEnvRefTypepublic ResourceEnvRefType<T> id(String id)
id attributeid in interface ResourceEnvRefType<T>id - the value for the attribute idResourceEnvRefTypepublic String getId()
id attributegetId in interface ResourceEnvRefType<T>idpublic ResourceEnvRefType<T> removeId()
id attributeremoveId in interface ResourceEnvRefType<T>ResourceEnvRefTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.