|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PersistenceUnit | |
---|---|
org.jboss.shrinkwrap.descriptor.api.persistence20 | Provides the interfaces and enumeration types as defined in the schema persistence_2_0.xsd |
org.jboss.shrinkwrap.descriptor.impl.persistence20 | Provides the implementation classes as defined in the schema persistence_2_0.xsd |
Uses of PersistenceUnit in org.jboss.shrinkwrap.descriptor.api.persistence20 |
---|
Methods in org.jboss.shrinkwrap.descriptor.api.persistence20 that return PersistenceUnit | |
---|---|
PersistenceUnit<Persistence<T>> |
Persistence.persistenceUnit()
Returns the persistence-unit element |
PersistenceUnit<Persistence20Descriptor> |
Persistence20Descriptor.persistenceUnit()
Returns the persistence-unit element |
PersistenceUnit<T> |
PersistenceUnit.removeAllClazz()
Removes the class element |
PersistenceUnit<T> |
PersistenceUnit.removeAllJarFile()
Removes the jar-file element |
PersistenceUnit<T> |
PersistenceUnit.removeAllMappingFile()
Removes the mapping-file element |
PersistenceUnit<T> |
PersistenceUnit.removeDescription()
Removes the description element |
PersistenceUnit<T> |
PersistenceUnit.removeExcludeUnlistedClasses()
Removes the exclude-unlisted-classes element |
PersistenceUnit<T> |
PersistenceUnit.removeJtaDataSource()
Removes the jta-data-source element |
PersistenceUnit<T> |
PersistenceUnit.removeName()
Removes the name attribute |
PersistenceUnit<T> |
PersistenceUnit.removeNonJtaDataSource()
Removes the non-jta-data-source element |
PersistenceUnit<T> |
PersistenceUnit.removeProperties()
Removes the properties element |
PersistenceUnit<T> |
PersistenceUnit.removeProvider()
Removes the provider element |
PersistenceUnit<T> |
PersistenceUnit.removeTransactionType()
Removes the transaction-type attribute |
PersistenceUnit<T> |
PersistenceUnit.setClazz(java.lang.String clazz)
Creates a new class element |
PersistenceUnit<T> |
PersistenceUnit.setClazzList(java.lang.String... values)
Creates for all String objects representing class elements,
a new class element |
PersistenceUnit<T> |
PersistenceUnit.setDescription(java.lang.String description)
If not already created, a new description element with the given value will be created. |
PersistenceUnit<T> |
PersistenceUnit.setExcludeUnlistedClasses(java.lang.Boolean excludeUnlistedClasses)
If not already created, a new exclude-unlisted-classes element with the given value will be created. |
PersistenceUnit<T> |
PersistenceUnit.setJarFile(java.lang.String jarFile)
Creates a new jar-file element |
PersistenceUnit<T> |
PersistenceUnit.setJarFileList(java.lang.String... values)
Creates for all String objects representing jar-file elements,
a new jar-file element |
PersistenceUnit<T> |
PersistenceUnit.setJtaDataSource(java.lang.String jtaDataSource)
If not already created, a new jta-data-source element with the given value will be created. |
PersistenceUnit<T> |
PersistenceUnit.setMappingFile(java.lang.String mappingFile)
Creates a new mapping-file element |
PersistenceUnit<T> |
PersistenceUnit.setMappingFileList(java.lang.String... values)
Creates for all String objects representing mapping-file elements,
a new mapping-file element |
PersistenceUnit<T> |
PersistenceUnit.setName(java.lang.String name)
Sets the name attribute |
PersistenceUnit<T> |
PersistenceUnit.setNonJtaDataSource(java.lang.String nonJtaDataSource)
If not already created, a new non-jta-data-source element with the given value will be created. |
PersistenceUnit<T> |
PersistenceUnit.setProvider(java.lang.String provider)
If not already created, a new provider element with the given value will be created. |
PersistenceUnit<T> |
PersistenceUnit.setSharedCacheMode(PersistenceUnitCachingType sharedCacheMode)
If not already created, a new shared-cache-mode element with the given value will be created. |
PersistenceUnit<T> |
PersistenceUnit.setSharedCacheMode(java.lang.String sharedCacheMode)
If not already created, a new shared-cache-mode element with the given value will be created. |
PersistenceUnit<T> |
PersistenceUnit.setTransactionType(PersistenceUnitTransactionType transactionType)
Sets the transaction-type attribute |
PersistenceUnit<T> |
PersistenceUnit.setTransactionType(java.lang.String transactionType)
Sets the transaction-type attribute |
PersistenceUnit<T> |
PersistenceUnit.setValidationMode(PersistenceUnitValidationModeType validationMode)
If not already created, a new validation-mode element with the given value will be created. |
PersistenceUnit<T> |
PersistenceUnit.setValidationMode(java.lang.String validationMode)
If not already created, a new validation-mode element with the given value will be created. |
Methods in org.jboss.shrinkwrap.descriptor.api.persistence20 that return types with arguments of type PersistenceUnit | |
---|---|
java.util.List<PersistenceUnit<Persistence<T>>> |
Persistence.getPersistenceUnitList()
Returns all persistence-unit elements |
java.util.List<PersistenceUnit<Persistence20Descriptor>> |
Persistence20Descriptor.getPersistenceUnitList()
Returns all persistence-unit elements |
Properties<PersistenceUnit<T>> |
PersistenceUnit.properties()
If not already created, a new properties element will be created and returned. |
Uses of PersistenceUnit in org.jboss.shrinkwrap.descriptor.impl.persistence20 |
---|
Classes in org.jboss.shrinkwrap.descriptor.impl.persistence20 that implement PersistenceUnit | |
---|---|
class |
PersistenceUnitImpl<T>
This class implements the persistence-unit xsd type |
Methods in org.jboss.shrinkwrap.descriptor.impl.persistence20 that return PersistenceUnit | |
---|---|
PersistenceUnit<Persistence<T>> |
PersistenceImpl.persistenceUnit()
Returns the persistence-unit element |
PersistenceUnit<Persistence20Descriptor> |
Persistence20DescriptorImpl.persistenceUnit()
Returns the persistence-unit element |
PersistenceUnit<T> |
PersistenceUnitImpl.removeAllClazz()
Removes the class element |
PersistenceUnit<T> |
PersistenceUnitImpl.removeAllJarFile()
Removes the jar-file element |
PersistenceUnit<T> |
PersistenceUnitImpl.removeAllMappingFile()
Removes the mapping-file element |
PersistenceUnit<T> |
PersistenceUnitImpl.removeDescription()
Removes the description element |
PersistenceUnit<T> |
PersistenceUnitImpl.removeExcludeUnlistedClasses()
Removes the exclude-unlisted-classes element |
PersistenceUnit<T> |
PersistenceUnitImpl.removeJtaDataSource()
Removes the jta-data-source element |
PersistenceUnit<T> |
PersistenceUnitImpl.removeName()
Removes the name attribute |
PersistenceUnit<T> |
PersistenceUnitImpl.removeNonJtaDataSource()
Removes the non-jta-data-source element |
PersistenceUnit<T> |
PersistenceUnitImpl.removeProperties()
Removes the properties element |
PersistenceUnit<T> |
PersistenceUnitImpl.removeProvider()
Removes the provider element |
PersistenceUnit<T> |
PersistenceUnitImpl.removeTransactionType()
Removes the transaction-type attribute |
PersistenceUnit<T> |
PersistenceUnitImpl.setClazz(java.lang.String clazz)
Creates a new class element |
PersistenceUnit<T> |
PersistenceUnitImpl.setClazzList(java.lang.String... values)
Creates for all String objects representing class elements,
a new class element |
PersistenceUnit<T> |
PersistenceUnitImpl.setDescription(java.lang.String description)
If not already created, a new description element with the given value will be created. |
PersistenceUnit<T> |
PersistenceUnitImpl.setExcludeUnlistedClasses(java.lang.Boolean excludeUnlistedClasses)
If not already created, a new exclude-unlisted-classes element with the given value will be created. |
PersistenceUnit<T> |
PersistenceUnitImpl.setJarFile(java.lang.String jarFile)
Creates a new jar-file element |
PersistenceUnit<T> |
PersistenceUnitImpl.setJarFileList(java.lang.String... values)
Creates for all String objects representing jar-file elements,
a new jar-file element |
PersistenceUnit<T> |
PersistenceUnitImpl.setJtaDataSource(java.lang.String jtaDataSource)
If not already created, a new jta-data-source element with the given value will be created. |
PersistenceUnit<T> |
PersistenceUnitImpl.setMappingFile(java.lang.String mappingFile)
Creates a new mapping-file element |
PersistenceUnit<T> |
PersistenceUnitImpl.setMappingFileList(java.lang.String... values)
Creates for all String objects representing mapping-file elements,
a new mapping-file element |
PersistenceUnit<T> |
PersistenceUnitImpl.setName(java.lang.String name)
Sets the name attribute |
PersistenceUnit<T> |
PersistenceUnitImpl.setNonJtaDataSource(java.lang.String nonJtaDataSource)
If not already created, a new non-jta-data-source element with the given value will be created. |
PersistenceUnit<T> |
PersistenceUnitImpl.setProvider(java.lang.String provider)
If not already created, a new provider element with the given value will be created. |
PersistenceUnit<T> |
PersistenceUnitImpl.setSharedCacheMode(PersistenceUnitCachingType sharedCacheMode)
If not already created, a new shared-cache-mode element with the given value will be created. |
PersistenceUnit<T> |
PersistenceUnitImpl.setSharedCacheMode(java.lang.String sharedCacheMode)
If not already created, a new shared-cache-mode element with the given value will be created. |
PersistenceUnit<T> |
PersistenceUnitImpl.setTransactionType(PersistenceUnitTransactionType transactionType)
Sets the transaction-type attribute |
PersistenceUnit<T> |
PersistenceUnitImpl.setTransactionType(java.lang.String transactionType)
Sets the transaction-type attribute |
PersistenceUnit<T> |
PersistenceUnitImpl.setValidationMode(PersistenceUnitValidationModeType validationMode)
If not already created, a new validation-mode element with the given value will be created. |
PersistenceUnit<T> |
PersistenceUnitImpl.setValidationMode(java.lang.String validationMode)
If not already created, a new validation-mode element with the given value will be created. |
Methods in org.jboss.shrinkwrap.descriptor.impl.persistence20 that return types with arguments of type PersistenceUnit | |
---|---|
java.util.List<PersistenceUnit<Persistence<T>>> |
PersistenceImpl.getPersistenceUnitList()
Returns all persistence-unit elements |
java.util.List<PersistenceUnit<Persistence20Descriptor>> |
Persistence20DescriptorImpl.getPersistenceUnitList()
Returns all persistence-unit elements |
Properties<PersistenceUnit<T>> |
PersistenceUnitImpl.properties()
If not already created, a new properties element will be created and returned. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |