ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Uses of Interface
org.jboss.shrinkwrap.descriptor.api.persistence10.PersistenceUnit

Packages that use PersistenceUnit
org.jboss.shrinkwrap.descriptor.api.persistence10 Provides the interfaces and enumeration types as defined in the schema 
 

Uses of PersistenceUnit in org.jboss.shrinkwrap.descriptor.api.persistence10
 

Methods in org.jboss.shrinkwrap.descriptor.api.persistence10 that return PersistenceUnit
 PersistenceUnit<T> PersistenceUnit.clazz(String... values)
          Creates for all String objects representing class elements, a new class element
 PersistenceUnit<Persistence<T>> Persistence.createPersistenceUnit()
          Creates a new persistence-unit element
 PersistenceUnit<PersistenceDescriptor> PersistenceDescriptor.createPersistenceUnit()
          Creates a new persistence-unit element
 PersistenceUnit<T> PersistenceUnit.description(String description)
          Sets the description element
 PersistenceUnit<T> PersistenceUnit.excludeUnlistedClasses(Boolean excludeUnlistedClasses)
          Sets the exclude-unlisted-classes element
 PersistenceUnit<Persistence<T>> Persistence.getOrCreatePersistenceUnit()
          If not already created, a new persistence-unit element will be created and returned.
 PersistenceUnit<PersistenceDescriptor> PersistenceDescriptor.getOrCreatePersistenceUnit()
          If not already created, a new persistence-unit element will be created and returned.
 PersistenceUnit<T> PersistenceUnit.jarFile(String... values)
          Creates for all String objects representing jar-file elements, a new jar-file element
 PersistenceUnit<T> PersistenceUnit.jtaDataSource(String jtaDataSource)
          Sets the jta-data-source element
 PersistenceUnit<T> PersistenceUnit.mappingFile(String... values)
          Creates for all String objects representing mapping-file elements, a new mapping-file element
 PersistenceUnit<T> PersistenceUnit.name(String name)
          Sets the name attribute
 PersistenceUnit<T> PersistenceUnit.nonJtaDataSource(String nonJtaDataSource)
          Sets the non-jta-data-source element
 PersistenceUnit<T> PersistenceUnit.provider(String provider)
          Sets the provider 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.transactionType(PersistenceUnitTransactionType transactionType)
          Sets the transaction-type attribute
 PersistenceUnit<T> PersistenceUnit.transactionType(String transactionType)
          Sets the transaction-type attribute
 

Methods in org.jboss.shrinkwrap.descriptor.api.persistence10 that return types with arguments of type PersistenceUnit
 List<PersistenceUnit<Persistence<T>>> Persistence.getAllPersistenceUnit()
          Returns all persistence-unit elements
 List<PersistenceUnit<PersistenceDescriptor>> PersistenceDescriptor.getAllPersistenceUnit()
          Returns all persistence-unit elements
 Properties<PersistenceUnit<T>> PersistenceUnit.getOrCreateProperties()
          If not already created, a new properties element with the given value will be created.
 


ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.