net.sourceforge.ccxjc.it.model.priv.indexed.novalueclass.persistence
Interface Persistence.PersistenceUnit

All Known Implementing Classes:
PersistenceImpl.PersistenceUnitImpl
Enclosing interface:
Persistence

public static interface Persistence.PersistenceUnit

Configuration of a persistence unit.

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="provider" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="jta-data-source" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="non-jta-data-source" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="mapping-file" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="jar-file" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="class" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="exclude-unlisted-classes" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="properties" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="property" maxOccurs="unbounded" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                           <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="transaction-type" type="{http://java.sun.com/xml/ns/persistence}persistence-unit-transaction-type" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static interface Persistence.PersistenceUnit.Properties
          Java class for anonymous complex type.
 
Method Summary
 String[] getClazz()
           
 String getClazz(int idx)
           
 int getClazzLength()
           
 String getDescription()
          Gets the value of the description property.
 String[] getJarFile()
           
 String getJarFile(int idx)
           
 int getJarFileLength()
           
 String getJtaDataSource()
          Gets the value of the jtaDataSource property.
 String[] getMappingFile()
           
 String getMappingFile(int idx)
           
 int getMappingFileLength()
           
 String getName()
          Gets the value of the name property.
 String getNonJtaDataSource()
          Gets the value of the nonJtaDataSource property.
 Persistence.PersistenceUnit.Properties getProperties()
          Gets the value of the properties property.
 String getProvider()
          Gets the value of the provider property.
 PersistenceUnitTransactionType getTransactionType()
          Gets the value of the transactionType property.
 Boolean isExcludeUnlistedClasses()
          Gets the value of the excludeUnlistedClasses property.
 String setClazz(int idx, String value)
           
 void setClazz(String[] values)
           
 void setDescription(String value)
          Sets the value of the description property.
 void setExcludeUnlistedClasses(Boolean value)
          Sets the value of the excludeUnlistedClasses property.
 String setJarFile(int idx, String value)
           
 void setJarFile(String[] values)
           
 void setJtaDataSource(String value)
          Sets the value of the jtaDataSource property.
 String setMappingFile(int idx, String value)
           
 void setMappingFile(String[] values)
           
 void setName(String value)
          Sets the value of the name property.
 void setNonJtaDataSource(String value)
          Sets the value of the nonJtaDataSource property.
 void setProperties(Persistence.PersistenceUnit.Properties value)
          Sets the value of the properties property.
 void setProvider(String value)
          Sets the value of the provider property.
 void setTransactionType(PersistenceUnitTransactionType value)
          Sets the value of the transactionType property.
 

Method Detail

getDescription

String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getProvider

String getProvider()
Gets the value of the provider property.

Returns:
possible object is String

setProvider

void setProvider(String value)
Sets the value of the provider property.

Parameters:
value - allowed object is String

getJtaDataSource

String getJtaDataSource()
Gets the value of the jtaDataSource property.

Returns:
possible object is String

setJtaDataSource

void setJtaDataSource(String value)
Sets the value of the jtaDataSource property.

Parameters:
value - allowed object is String

getNonJtaDataSource

String getNonJtaDataSource()
Gets the value of the nonJtaDataSource property.

Returns:
possible object is String

setNonJtaDataSource

void setNonJtaDataSource(String value)
Sets the value of the nonJtaDataSource property.

Parameters:
value - allowed object is String

getMappingFile

String[] getMappingFile()
Returns:
array of String

getMappingFile

String getMappingFile(int idx)
Returns:
one of String

getMappingFileLength

int getMappingFileLength()

setMappingFile

void setMappingFile(String[] values)
Parameters:
values - allowed objects are String

setMappingFile

String setMappingFile(int idx,
                      String value)
Parameters:
value - allowed object is String

getJarFile

String[] getJarFile()
Returns:
array of String

getJarFile

String getJarFile(int idx)
Returns:
one of String

getJarFileLength

int getJarFileLength()

setJarFile

void setJarFile(String[] values)
Parameters:
values - allowed objects are String

setJarFile

String setJarFile(int idx,
                  String value)
Parameters:
value - allowed object is String

getClazz

String[] getClazz()
Returns:
array of String

getClazz

String getClazz(int idx)
Returns:
one of String

getClazzLength

int getClazzLength()

setClazz

void setClazz(String[] values)
Parameters:
values - allowed objects are String

setClazz

String setClazz(int idx,
                String value)
Parameters:
value - allowed object is String

isExcludeUnlistedClasses

Boolean isExcludeUnlistedClasses()
Gets the value of the excludeUnlistedClasses property.

Returns:
possible object is Boolean

setExcludeUnlistedClasses

void setExcludeUnlistedClasses(Boolean value)
Sets the value of the excludeUnlistedClasses property.

Parameters:
value - allowed object is Boolean

getProperties

Persistence.PersistenceUnit.Properties getProperties()
Gets the value of the properties property.

Returns:
possible object is Persistence.PersistenceUnit.Properties

setProperties

void setProperties(Persistence.PersistenceUnit.Properties value)
Sets the value of the properties property.

Parameters:
value - allowed object is Persistence.PersistenceUnit.Properties

getName

String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getTransactionType

PersistenceUnitTransactionType getTransactionType()
Gets the value of the transactionType property.

Returns:
possible object is PersistenceUnitTransactionType

setTransactionType

void setTransactionType(PersistenceUnitTransactionType value)
Sets the value of the transactionType property.

Parameters:
value - allowed object is PersistenceUnitTransactionType


Copyright © 2009 The CC-XJC Community. All Rights Reserved.