|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jbosscommon51.ResourceEnvRefTypeImpl<T>
public class ResourceEnvRefTypeImpl<T>
This class implements the resource-env-refType
xsd type
Constructor Summary | |
---|---|
ResourceEnvRefTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
ResourceEnvRefTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.util.List<InjectionTargetType<ResourceEnvRefType<T>>> |
getInjectionTargetList()
Returns all injection-target elements |
java.lang.String |
getJndiName()
Returns the jndi-name element |
java.lang.String |
getMappedName()
Returns the mapped-name element |
java.lang.String |
getResourceEnvRefName()
Returns the resource-env-ref-name element |
java.lang.String |
getResourceEnvRefType()
Returns the resource-env-ref-type element |
ResourceEnvRefType<T> |
ignoreDependency()
|
InjectionTargetType<ResourceEnvRefType<T>> |
injectionTarget()
Returns the injection-target element |
java.lang.Boolean |
isIgnoreDependency()
|
ResourceEnvRefType<T> |
removeAllDescription()
Removes the description element |
ResourceEnvRefType<T> |
removeAllInjectionTarget()
Removes all injection-target elements |
ResourceEnvRefType<T> |
removeJndiName()
Removes the jndi-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> |
setDescription(java.lang.String description)
Creates a new description element |
ResourceEnvRefType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
ResourceEnvRefType<T> |
setJndiName(java.lang.String jndiName)
If not already created, a new jndi-name element with the given value will be created. |
ResourceEnvRefType<T> |
setMappedName(java.lang.String mappedName)
If not already created, a new mapped-name element with the given value will be created. |
ResourceEnvRefType<T> |
setResourceEnvRefName(java.lang.String resourceEnvRefName)
If not already created, a new resource-env-ref-name element with the given value will be created. |
ResourceEnvRefType<T> |
setResourceEnvRefType(java.lang.String resourceEnvRefType)
If not already created, a new resource-env-ref-type element with the given value will be created. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceEnvRefTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public ResourceEnvRefTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public ResourceEnvRefType<T> setJndiName(java.lang.String jndiName)
jndi-name
element with the given value will be created.
Otherwise, the existing jndi-name
element will be updated with the given value.
setJndiName
in interface ResourceEnvRefType<T>
ResourceEnvRefType
public ResourceEnvRefType<T> removeJndiName()
jndi-name
element
removeJndiName
in interface ResourceEnvRefType<T>
ResourceEnvRefType
public java.lang.String getJndiName()
jndi-name
element
getJndiName
in interface ResourceEnvRefType<T>
jndi-name
public ResourceEnvRefType<T> setMappedName(java.lang.String mappedName)
mapped-name
element with the given value will be created.
Otherwise, the existing mapped-name
element will be updated with the given value.
setMappedName
in interface ResourceEnvRefType<T>
ResourceEnvRefType
public ResourceEnvRefType<T> removeMappedName()
mapped-name
element
removeMappedName
in interface ResourceEnvRefType<T>
ResourceEnvRefType
public java.lang.String getMappedName()
mapped-name
element
getMappedName
in interface ResourceEnvRefType<T>
mapped-name
public ResourceEnvRefType<T> removeAllInjectionTarget()
injection-target
elements
removeAllInjectionTarget
in interface ResourceEnvRefType<T>
ResourceEnvRefType
public InjectionTargetType<ResourceEnvRefType<T>> injectionTarget()
injection-target
element
injectionTarget
in interface ResourceEnvRefType<T>
injection-target
public java.util.List<InjectionTargetType<ResourceEnvRefType<T>>> getInjectionTargetList()
injection-target
elements
getInjectionTargetList
in interface ResourceEnvRefType<T>
injection-target
public ResourceEnvRefType<T> ignoreDependency()
ignoreDependency
in interface ResourceEnvRefType<T>
public java.lang.Boolean isIgnoreDependency()
isIgnoreDependency
in interface ResourceEnvRefType<T>
public ResourceEnvRefType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface ResourceEnvRefType<T>
ResourceEnvRefType
public ResourceEnvRefType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface ResourceEnvRefType<T>
list
- of description
objects
ResourceEnvRefType
public ResourceEnvRefType<T> removeAllDescription()
description
element
removeAllDescription
in interface ResourceEnvRefType<T>
ResourceEnvRefType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface ResourceEnvRefType<T>
description
public ResourceEnvRefType<T> setResourceEnvRefName(java.lang.String resourceEnvRefName)
resource-env-ref-name
element with the given value will be created.
Otherwise, the existing resource-env-ref-name
element will be updated with the given value.
setResourceEnvRefName
in interface ResourceEnvRefType<T>
ResourceEnvRefType
public ResourceEnvRefType<T> removeResourceEnvRefName()
resource-env-ref-name
element
removeResourceEnvRefName
in interface ResourceEnvRefType<T>
ResourceEnvRefType
public java.lang.String getResourceEnvRefName()
resource-env-ref-name
element
getResourceEnvRefName
in interface ResourceEnvRefType<T>
resource-env-ref-name
public ResourceEnvRefType<T> setResourceEnvRefType(java.lang.String resourceEnvRefType)
resource-env-ref-type
element with the given value will be created.
Otherwise, the existing resource-env-ref-type
element will be updated with the given value.
setResourceEnvRefType
in interface ResourceEnvRefType<T>
ResourceEnvRefType
public ResourceEnvRefType<T> removeResourceEnvRefType()
resource-env-ref-type
element
removeResourceEnvRefType
in interface ResourceEnvRefType<T>
ResourceEnvRefType
public java.lang.String getResourceEnvRefType()
resource-env-ref-type
element
getResourceEnvRefType
in interface ResourceEnvRefType<T>
resource-env-ref-type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |