|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Persistence | |
---|---|
org.jboss.shrinkwrap.descriptor.api.persistence20 | Provides the interfaces and enumeration types as defined in the schema |
Uses of Persistence in org.jboss.shrinkwrap.descriptor.api.persistence20 |
---|
Methods in org.jboss.shrinkwrap.descriptor.api.persistence20 that return Persistence | |
---|---|
Persistence<T> |
Persistence.removeAllPersistenceUnit()
Removes all persistence-unit elements |
Persistence<T> |
Persistence.removeVersion()
Removes the version attribute |
Persistence<T> |
Persistence.version(String version)
Sets the version attribute |
Methods in org.jboss.shrinkwrap.descriptor.api.persistence20 that return types with arguments of type Persistence | |
---|---|
PersistenceUnit<Persistence<T>> |
Persistence.createPersistenceUnit()
Creates a new persistence-unit element |
List<PersistenceUnit<Persistence<T>>> |
Persistence.getAllPersistenceUnit()
Returns all persistence-unit elements |
PersistenceUnit<Persistence<T>> |
Persistence.getOrCreatePersistenceUnit()
If not already created, a new persistence-unit element will be created and returned. |
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV NEXT | FRAMES NO FRAMES |