public class ResourceEnvRefTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ResourceEnvRefType<T>
resource-env-refType
xsd typeConstructor 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-name
ResourceEnvRefType
public String getLookupName()
lookup-name
elementgetLookupName
in interface ResourceEnvRefType<T>
lookup-name
public ResourceEnvRefType<T> removeLookupName()
lookup-name
elementremoveLookupName
in interface ResourceEnvRefType<T>
ResourceEnvRefType
public ResourceEnvRefType<T> mappedName(String mappedName)
mapped-name
elementmappedName
in interface ResourceEnvRefType<T>
mappedName
- the value for the element mapped-name
ResourceEnvRefType
public String getMappedName()
mapped-name
elementgetMappedName
in interface ResourceEnvRefType<T>
mapped-name
public ResourceEnvRefType<T> removeMappedName()
mapped-name
elementremoveMappedName
in interface ResourceEnvRefType<T>
ResourceEnvRefType
public 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-target
public 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-target
public 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
objectsResourceEnvRefType
public List<String> getAllDescription()
description
elementsgetAllDescription
in interface ResourceEnvRefType<T>
description
public ResourceEnvRefType<T> removeAllDescription()
description
elementremoveAllDescription
in interface ResourceEnvRefType<T>
ResourceEnvRefType
public ResourceEnvRefType<T> resourceEnvRefName(String resourceEnvRefName)
resource-env-ref-name
elementresourceEnvRefName
in interface ResourceEnvRefType<T>
resourceEnvRefName
- the value for the element resource-env-ref-name
ResourceEnvRefType
public String getResourceEnvRefName()
resource-env-ref-name
elementgetResourceEnvRefName
in interface ResourceEnvRefType<T>
resource-env-ref-name
public ResourceEnvRefType<T> removeResourceEnvRefName()
resource-env-ref-name
elementremoveResourceEnvRefName
in interface ResourceEnvRefType<T>
ResourceEnvRefType
public ResourceEnvRefType<T> resourceEnvRefType(String resourceEnvRefType)
resource-env-ref-type
elementresourceEnvRefType
in interface ResourceEnvRefType<T>
resourceEnvRefType
- the value for the element resource-env-ref-type
ResourceEnvRefType
public String getResourceEnvRefType()
resource-env-ref-type
elementgetResourceEnvRefType
in interface ResourceEnvRefType<T>
resource-env-ref-type
public ResourceEnvRefType<T> removeResourceEnvRefType()
resource-env-ref-type
elementremoveResourceEnvRefType
in interface ResourceEnvRefType<T>
ResourceEnvRefType
public ResourceEnvRefType<T> id(String id)
id
attributeid
in interface ResourceEnvRefType<T>
id
- the value for the attribute id
ResourceEnvRefType
public String getId()
id
attributegetId
in interface ResourceEnvRefType<T>
id
public ResourceEnvRefType<T> removeId()
id
attributeremoveId
in interface ResourceEnvRefType<T>
ResourceEnvRefType
Copyright © 2021 JBoss by Red Hat. All rights reserved.