
public interface PersistenceContextRefType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
persistence-context-refType xsd type| Type | Property and Description |
|---|---|
PropertyType<PersistenceContextRefType<T>> |
createPersistence
Creates a new
persistence-property element |
PersistenceContextRefType<T> |
removeAllPersistence
Removes all
persistence-property elements |
| Modifier and Type | Method and Description |
|---|---|
InjectionTargetType<PersistenceContextRefType<T>> |
createInjectionTarget()
Creates a new
injection-target element |
PropertyType<PersistenceContextRefType<T>> |
createPersistenceProperty()
Creates a new
persistence-property element |
PersistenceContextRefType<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<PersistenceContextRefType<T>>> |
getAllInjectionTarget()
Returns all
injection-target elements |
List<PropertyType<PersistenceContextRefType<T>>> |
getAllPersistenceProperty()
Returns all
persistence-property elements |
String |
getId()
Returns the
id attribute |
String |
getMappedName()
Returns the
mapped-name element |
InjectionTargetType<PersistenceContextRefType<T>> |
getOrCreateInjectionTarget()
If not already created, a new
injection-target element will be created and returned. |
PropertyType<PersistenceContextRefType<T>> |
getOrCreatePersistenceProperty()
If not already created, a new
persistence-property element will be created and returned. |
String |
getPersistenceContextRefName()
Returns the
persistence-context-ref-name element |
PersistenceContextTypeType |
getPersistenceContextType()
Returns the
persistence-context-type element |
String |
getPersistenceContextTypeAsString()
Returns the
persistence-context-type element |
String |
getPersistenceUnitName()
Returns the
persistence-unit-name element |
PersistenceContextRefType<T> |
id(String id)
Sets the
id attribute |
PersistenceContextRefType<T> |
mappedName(String mappedName)
Sets the
mapped-name element |
PersistenceContextRefType<T> |
persistenceContextRefName(String persistenceContextRefName)
Sets the
persistence-context-ref-name element |
PersistenceContextRefType<T> |
persistenceContextType(PersistenceContextTypeType persistenceContextType)
Sets the
persistence-context-type element |
PersistenceContextRefType<T> |
persistenceContextType(String persistenceContextType)
Sets the
persistence-context-type element |
PersistenceContextRefType<T> |
persistenceUnitName(String persistenceUnitName)
Sets the
persistence-unit-name 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> |
removeId()
Removes the
id attribute |
PersistenceContextRefType<T> |
removeMappedName()
Removes the
mapped-name element |
PersistenceContextRefType<T> |
removePersistenceContextRefName()
Removes the
persistence-context-ref-name element |
PersistenceContextRefType<T> |
removePersistenceContextType()
Removes the
persistence-context-type attribute |
PersistenceContextRefType<T> |
removePersistenceUnitName()
Removes the
persistence-unit-name element |
persistence-property elementPropertyType> persistence-property elementsPropertyType> PersistenceContextRefType<T> mappedName(String mappedName)
mapped-name elementmappedName - the value for the element mapped-namePersistenceContextRefTypeString getMappedName()
mapped-name elementmapped-namePersistenceContextRefType<T> removeMappedName()
mapped-name elementPersistenceContextRefTypeInjectionTargetType<PersistenceContextRefType<T>> getOrCreateInjectionTarget()
injection-target element will be created and returned.
Otherwise, the first existing injection-target element will be returned.injection-targetInjectionTargetType<PersistenceContextRefType<T>> createInjectionTarget()
injection-target elementInjectionTargetType> List<InjectionTargetType<PersistenceContextRefType<T>>> getAllInjectionTarget()
injection-target elementsinjection-targetPersistenceContextRefType<T> removeAllInjectionTarget()
injection-target elementsInjectionTargetType> PersistenceContextRefType<T> description(String... values)
description elements,
a new description elementvalues - list of description objectsPersistenceContextRefTypeList<String> getAllDescription()
description elementsdescriptionPersistenceContextRefType<T> removeAllDescription()
description elementPersistenceContextRefTypePersistenceContextRefType<T> persistenceContextRefName(String persistenceContextRefName)
persistence-context-ref-name elementpersistenceContextRefName - the value for the element persistence-context-ref-namePersistenceContextRefTypeString getPersistenceContextRefName()
persistence-context-ref-name elementpersistence-context-ref-namePersistenceContextRefType<T> removePersistenceContextRefName()
persistence-context-ref-name elementPersistenceContextRefTypePersistenceContextRefType<T> persistenceUnitName(String persistenceUnitName)
persistence-unit-name elementpersistenceUnitName - the value for the element persistence-unit-namePersistenceContextRefTypeString getPersistenceUnitName()
persistence-unit-name elementpersistence-unit-namePersistenceContextRefType<T> removePersistenceUnitName()
persistence-unit-name elementPersistenceContextRefTypePersistenceContextRefType<T> persistenceContextType(PersistenceContextTypeType persistenceContextType)
persistence-context-type elementpersistenceContextType - the value for the element persistence-context-typePersistenceContextRefTypePersistenceContextRefType<T> persistenceContextType(String persistenceContextType)
persistence-context-type elementpersistenceContextType - the value for the element persistence-context-typePersistenceContextRefTypePersistenceContextTypeType getPersistenceContextType()
persistence-context-type elementpersistence-context-typeString getPersistenceContextTypeAsString()
persistence-context-type elementpersistence-context-typePersistenceContextRefType<T> removePersistenceContextType()
persistence-context-type attributePersistenceContextRefTypePropertyType<PersistenceContextRefType<T>> getOrCreatePersistenceProperty()
persistence-property element will be created and returned.
Otherwise, the first existing persistence-property element will be returned.persistence-propertyPropertyType<PersistenceContextRefType<T>> createPersistenceProperty()
persistence-property elementPropertyType> List<PropertyType<PersistenceContextRefType<T>>> getAllPersistenceProperty()
persistence-property elementspersistence-propertyPersistenceContextRefType<T> removeAllPersistenceProperty()
persistence-property elementsPropertyType> PersistenceContextRefType<T> id(String id)
id attributeid - the value for the attribute idPersistenceContextRefTypeString getId()
id attributeidPersistenceContextRefType<T> removeId()
id attributePersistenceContextRefTypeCopyright © 2014 IronJacamar (http://www.ironjacamar.org)