|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistenceUnitRefType<T>
This interface defines the contract for the persistence-unit-refType
xsd type
Method Summary | |
---|---|
InjectionTargetType<PersistenceUnitRefType<T>> |
createInjectionTarget()
Creates a new injection-target element |
PersistenceUnitRefType<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<PersistenceUnitRefType<T>>> |
getAllInjectionTarget()
Returns all injection-target elements |
String |
getMappedName()
Returns the mapped-name element |
InjectionTargetType<PersistenceUnitRefType<T>> |
getOrCreateInjectionTarget()
If not already created, a new injection-target element will be created and returned. |
String |
getPersistenceUnitName()
Returns the persistence-unit-name element |
String |
getPersistenceUnitRefName()
Returns the persistence-unit-ref-name element |
PersistenceUnitRefType<T> |
mappedName(String mappedName)
Sets the mapped-name element |
PersistenceUnitRefType<T> |
persistenceUnitName(String persistenceUnitName)
Sets the persistence-unit-name element |
PersistenceUnitRefType<T> |
persistenceUnitRefName(String persistenceUnitRefName)
Sets the persistence-unit-ref-name element |
PersistenceUnitRefType<T> |
removeAllDescription()
Removes the description element |
PersistenceUnitRefType<T> |
removeAllInjectionTarget()
Removes all injection-target elements |
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
PersistenceUnitRefType<T> mappedName(String mappedName)
mapped-name
element
mappedName
- the value for the element mapped-name
PersistenceUnitRefType
String getMappedName()
mapped-name
element
mapped-name
PersistenceUnitRefType<T> removeMappedName()
mapped-name
element
PersistenceUnitRefType
InjectionTargetType<PersistenceUnitRefType<T>> getOrCreateInjectionTarget()
injection-target
element will be created and returned.
Otherwise, the first existing injection-target
element will be returned.
injection-target
InjectionTargetType<PersistenceUnitRefType<T>> createInjectionTarget()
injection-target
element
InjectionTargetType>
List<InjectionTargetType<PersistenceUnitRefType<T>>> getAllInjectionTarget()
injection-target
elements
injection-target
PersistenceUnitRefType<T> removeAllInjectionTarget()
injection-target
elements
InjectionTargetType>
PersistenceUnitRefType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
PersistenceUnitRefType
List<String> getAllDescription()
description
elements
description
PersistenceUnitRefType<T> removeAllDescription()
description
element
PersistenceUnitRefType
PersistenceUnitRefType<T> persistenceUnitRefName(String persistenceUnitRefName)
persistence-unit-ref-name
element
persistenceUnitRefName
- the value for the element persistence-unit-ref-name
PersistenceUnitRefType
String getPersistenceUnitRefName()
persistence-unit-ref-name
element
persistence-unit-ref-name
PersistenceUnitRefType<T> removePersistenceUnitRefName()
persistence-unit-ref-name
element
PersistenceUnitRefType
PersistenceUnitRefType<T> persistenceUnitName(String persistenceUnitName)
persistence-unit-name
element
persistenceUnitName
- the value for the element persistence-unit-name
PersistenceUnitRefType
String getPersistenceUnitName()
persistence-unit-name
element
persistence-unit-name
PersistenceUnitRefType<T> removePersistenceUnitName()
persistence-unit-name
element
PersistenceUnitRefType
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |