
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(java.lang.String... values)
Creates for all String objects representing
description elements,
a new description element |
java.util.List<java.lang.String> |
getAllDescription()
Returns all
description elements |
java.util.List<InjectionTargetType<PersistenceContextRefType<T>>> |
getAllInjectionTarget()
Returns all
injection-target elements |
java.util.List<PropertyType<PersistenceContextRefType<T>>> |
getAllPersistenceProperty()
Returns all
persistence-property elements |
java.lang.String |
getId()
Returns the
id attribute |
java.lang.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. |
java.lang.String |
getPersistenceContextRefName()
Returns the
persistence-context-ref-name element |
PersistenceContextSynchronizationType |
getPersistenceContextSynchronization()
Returns the
persistence-context-synchronization element |
java.lang.String |
getPersistenceContextSynchronizationAsString()
Returns the
persistence-context-synchronization element |
PersistenceContextTypeType |
getPersistenceContextType()
Returns the
persistence-context-type element |
java.lang.String |
getPersistenceContextTypeAsString()
Returns the
persistence-context-type element |
java.lang.String |
getPersistenceUnitName()
Returns the
persistence-unit-name element |
PersistenceContextRefType<T> |
id(java.lang.String id)
Sets the
id attribute |
PersistenceContextRefType<T> |
mappedName(java.lang.String mappedName)
Sets the
mapped-name element |
PersistenceContextRefType<T> |
persistenceContextRefName(java.lang.String persistenceContextRefName)
Sets the
persistence-context-ref-name element |
PersistenceContextRefType<T> |
persistenceContextSynchronization(PersistenceContextSynchronizationType persistenceContextSynchronization)
Sets the
persistence-context-synchronization element |
PersistenceContextRefType<T> |
persistenceContextSynchronization(java.lang.String persistenceContextSynchronization)
Sets the
persistence-context-synchronization element |
PersistenceContextRefType<T> |
persistenceContextType(PersistenceContextTypeType persistenceContextType)
Sets the
persistence-context-type element |
PersistenceContextRefType<T> |
persistenceContextType(java.lang.String persistenceContextType)
Sets the
persistence-context-type element |
PersistenceContextRefType<T> |
persistenceUnitName(java.lang.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> |
removePersistenceContextSynchronization()
Removes the
persistence-context-synchronization attribute |
PersistenceContextRefType<T> |
removePersistenceContextType()
Removes the
persistence-context-type attribute |
PersistenceContextRefType<T> |
removePersistenceUnitName()
Removes the
persistence-unit-name element |
PropertyType<PersistenceContextRefType<T>> createPersistenceProperty
persistence-property elementPersistenceContextRefType<T> removeAllPersistenceProperty
persistence-property elementsPersistenceContextRefType<T> mappedName(java.lang.String mappedName)
mapped-name elementmappedName - the value for the element mapped-namePersistenceContextRefTypejava.lang.String 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> java.util.List<InjectionTargetType<PersistenceContextRefType<T>>> getAllInjectionTarget()
injection-target elementsinjection-targetPersistenceContextRefType<T> removeAllInjectionTarget()
injection-target elementsInjectionTargetType> PersistenceContextRefType<T> description(java.lang.String... values)
description elements,
a new description elementvalues - list of description objectsPersistenceContextRefTypejava.util.List<java.lang.String> getAllDescription()
description elementsdescriptionPersistenceContextRefType<T> removeAllDescription()
description elementPersistenceContextRefTypePersistenceContextRefType<T> persistenceContextRefName(java.lang.String persistenceContextRefName)
persistence-context-ref-name elementpersistenceContextRefName - the value for the element persistence-context-ref-namePersistenceContextRefTypejava.lang.String getPersistenceContextRefName()
persistence-context-ref-name elementpersistence-context-ref-namePersistenceContextRefType<T> removePersistenceContextRefName()
persistence-context-ref-name elementPersistenceContextRefTypePersistenceContextRefType<T> persistenceUnitName(java.lang.String persistenceUnitName)
persistence-unit-name elementpersistenceUnitName - the value for the element persistence-unit-namePersistenceContextRefTypejava.lang.String 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(java.lang.String persistenceContextType)
persistence-context-type elementpersistenceContextType - the value for the element persistence-context-typePersistenceContextRefTypePersistenceContextTypeType getPersistenceContextType()
persistence-context-type elementpersistence-context-typejava.lang.String getPersistenceContextTypeAsString()
persistence-context-type elementpersistence-context-typePersistenceContextRefType<T> removePersistenceContextType()
persistence-context-type attributePersistenceContextRefTypePersistenceContextRefType<T> persistenceContextSynchronization(PersistenceContextSynchronizationType persistenceContextSynchronization)
persistence-context-synchronization elementpersistenceContextSynchronization - the value for the element persistence-context-synchronizationPersistenceContextRefTypePersistenceContextRefType<T> persistenceContextSynchronization(java.lang.String persistenceContextSynchronization)
persistence-context-synchronization elementpersistenceContextSynchronization - the value for the element persistence-context-synchronizationPersistenceContextRefTypePersistenceContextSynchronizationType getPersistenceContextSynchronization()
persistence-context-synchronization elementpersistence-context-synchronizationjava.lang.String getPersistenceContextSynchronizationAsString()
persistence-context-synchronization elementpersistence-context-synchronizationPersistenceContextRefType<T> removePersistenceContextSynchronization()
persistence-context-synchronization 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 elementjava.util.List<PropertyType<PersistenceContextRefType<T>>> getAllPersistenceProperty()
persistence-property elementspersistence-propertyPersistenceContextRefType<T> removeAllPersistenceProperty()
persistence-property elementsPersistenceContextRefType<T> id(java.lang.String id)
id attributeid - the value for the attribute idPersistenceContextRefTypejava.lang.String getId()
id attributeidPersistenceContextRefType<T> removeId()
id attributePersistenceContextRefTypeCopyright © 2014 IronJacamar (http://www.ironjacamar.org)