|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jbosscommon51.PersistenceUnitRefTypeImpl<T>
public class PersistenceUnitRefTypeImpl<T>
This class implements the persistence-unit-refType xsd type
| Constructor Summary | |
|---|---|
PersistenceUnitRefTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
PersistenceUnitRefTypeImpl(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<PersistenceUnitRefType<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 |
getPersistenceUnitName()
Returns the persistence-unit-name element |
java.lang.String |
getPersistenceUnitRefName()
Returns the persistence-unit-ref-name element |
PersistenceUnitRefType<T> |
ignoreDependency()
|
InjectionTargetType<PersistenceUnitRefType<T>> |
injectionTarget()
Returns the injection-target element |
java.lang.Boolean |
isIgnoreDependency()
|
PersistenceUnitRefType<T> |
removeAllDescription()
Removes the description element |
PersistenceUnitRefType<T> |
removeAllInjectionTarget()
Removes all injection-target elements |
PersistenceUnitRefType<T> |
removeJndiName()
Removes the jndi-name element |
PersistenceUnitRefType<T> |
removeMappedName()
Removes the mapped-name element |
PersistenceUnitRefType<T> |
removePersistenceUnitName()
Removes the persistence-unit-name element |
PersistenceUnitRefType<T> |
removePersistenceUnitRefName()
Removes the persistence-unit-ref-name element |
PersistenceUnitRefType<T> |
setDescription(java.lang.String description)
Creates a new description element |
PersistenceUnitRefType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
PersistenceUnitRefType<T> |
setJndiName(java.lang.String jndiName)
If not already created, a new jndi-name element with the given value will be created. |
PersistenceUnitRefType<T> |
setMappedName(java.lang.String mappedName)
If not already created, a new mapped-name element with the given value will be created. |
PersistenceUnitRefType<T> |
setPersistenceUnitName(java.lang.String persistenceUnitName)
If not already created, a new persistence-unit-name element with the given value will be created. |
PersistenceUnitRefType<T> |
setPersistenceUnitRefName(java.lang.String persistenceUnitRefName)
If not already created, a new persistence-unit-ref-name 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 PersistenceUnitRefTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public PersistenceUnitRefTypeImpl(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 PersistenceUnitRefType<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 PersistenceUnitRefType<T>PersistenceUnitRefTypepublic PersistenceUnitRefType<T> removeJndiName()
jndi-name element
removeJndiName in interface PersistenceUnitRefType<T>PersistenceUnitRefTypepublic java.lang.String getJndiName()
jndi-name element
getJndiName in interface PersistenceUnitRefType<T>jndi-namepublic PersistenceUnitRefType<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 PersistenceUnitRefType<T>PersistenceUnitRefTypepublic PersistenceUnitRefType<T> removeMappedName()
mapped-name element
removeMappedName in interface PersistenceUnitRefType<T>PersistenceUnitRefTypepublic java.lang.String getMappedName()
mapped-name element
getMappedName in interface PersistenceUnitRefType<T>mapped-namepublic PersistenceUnitRefType<T> removeAllInjectionTarget()
injection-target elements
removeAllInjectionTarget in interface PersistenceUnitRefType<T>PersistenceUnitRefTypepublic InjectionTargetType<PersistenceUnitRefType<T>> injectionTarget()
injection-target element
injectionTarget in interface PersistenceUnitRefType<T>injection-targetpublic java.util.List<InjectionTargetType<PersistenceUnitRefType<T>>> getInjectionTargetList()
injection-target elements
getInjectionTargetList in interface PersistenceUnitRefType<T>injection-targetpublic PersistenceUnitRefType<T> ignoreDependency()
ignoreDependency in interface PersistenceUnitRefType<T>public java.lang.Boolean isIgnoreDependency()
isIgnoreDependency in interface PersistenceUnitRefType<T>public PersistenceUnitRefType<T> setDescription(java.lang.String description)
description element
setDescription in interface PersistenceUnitRefType<T>PersistenceUnitRefTypepublic PersistenceUnitRefType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
setDescriptionList in interface PersistenceUnitRefType<T>list - of description objects
PersistenceUnitRefTypepublic PersistenceUnitRefType<T> removeAllDescription()
description element
removeAllDescription in interface PersistenceUnitRefType<T>PersistenceUnitRefTypepublic java.util.List<java.lang.String> getDescriptionList()
description elements
getDescriptionList in interface PersistenceUnitRefType<T>descriptionpublic PersistenceUnitRefType<T> setPersistenceUnitRefName(java.lang.String persistenceUnitRefName)
persistence-unit-ref-name element with the given value will be created.
Otherwise, the existing persistence-unit-ref-name element will be updated with the given value.
setPersistenceUnitRefName in interface PersistenceUnitRefType<T>PersistenceUnitRefTypepublic PersistenceUnitRefType<T> removePersistenceUnitRefName()
persistence-unit-ref-name element
removePersistenceUnitRefName in interface PersistenceUnitRefType<T>PersistenceUnitRefTypepublic java.lang.String getPersistenceUnitRefName()
persistence-unit-ref-name element
getPersistenceUnitRefName in interface PersistenceUnitRefType<T>persistence-unit-ref-namepublic PersistenceUnitRefType<T> setPersistenceUnitName(java.lang.String persistenceUnitName)
persistence-unit-name element with the given value will be created.
Otherwise, the existing persistence-unit-name element will be updated with the given value.
setPersistenceUnitName in interface PersistenceUnitRefType<T>PersistenceUnitRefTypepublic PersistenceUnitRefType<T> removePersistenceUnitName()
persistence-unit-name element
removePersistenceUnitName in interface PersistenceUnitRefType<T>PersistenceUnitRefTypepublic java.lang.String getPersistenceUnitName()
persistence-unit-name element
getPersistenceUnitName in interface PersistenceUnitRefType<T>persistence-unit-name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||