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