|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.persistence.Persistence.PersistenceUnit
public static class 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 class |
Persistence.PersistenceUnit.Properties
Java class for anonymous complex type. |
| Field Summary | |
|---|---|
protected String[] |
clazz
|
protected String |
description
|
protected Boolean |
excludeUnlistedClasses
|
protected String[] |
jarFile
|
protected String |
jtaDataSource
|
protected String[] |
mappingFile
|
protected String |
name
|
protected String |
nonJtaDataSource
|
protected Persistence.PersistenceUnit.Properties |
properties
|
protected String |
provider
|
protected PersistenceUnitTransactionType |
transactionType
|
| Constructor Summary | |
|---|---|
Persistence.PersistenceUnit()
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.persistence.Persistence.PersistenceUnit instance. |
|
Persistence.PersistenceUnit(Persistence.PersistenceUnit o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.persistence.Persistence.PersistenceUnit instance by copying a given instance. |
|
| Method Summary | |
|---|---|
Persistence.PersistenceUnit |
clone()
Creates and returns a copy of this object. |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String description
protected String provider
protected String jtaDataSource
protected String nonJtaDataSource
protected String[] mappingFile
protected String[] jarFile
protected String[] clazz
protected Boolean excludeUnlistedClasses
protected Persistence.PersistenceUnit.Properties properties
protected String name
protected PersistenceUnitTransactionType transactionType
| Constructor Detail |
|---|
public Persistence.PersistenceUnit()
net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.persistence.Persistence.PersistenceUnit instance.
public Persistence.PersistenceUnit(Persistence.PersistenceUnit o)
net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.persistence.Persistence.PersistenceUnit instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getProvider()
Stringpublic void setProvider(String value)
value - allowed object is
Stringpublic String getJtaDataSource()
Stringpublic void setJtaDataSource(String value)
value - allowed object is
Stringpublic String getNonJtaDataSource()
Stringpublic void setNonJtaDataSource(String value)
value - allowed object is
Stringpublic String[] getMappingFile()
Stringpublic String getMappingFile(int idx)
Stringpublic int getMappingFileLength()
public void setMappingFile(String[] values)
values - allowed objects are
String
public String setMappingFile(int idx,
String value)
value - allowed object is
Stringpublic String[] getJarFile()
Stringpublic String getJarFile(int idx)
Stringpublic int getJarFileLength()
public void setJarFile(String[] values)
values - allowed objects are
String
public String setJarFile(int idx,
String value)
value - allowed object is
Stringpublic String[] getClazz()
Stringpublic String getClazz(int idx)
Stringpublic int getClazzLength()
public void setClazz(String[] values)
values - allowed objects are
String
public String setClazz(int idx,
String value)
value - allowed object is
Stringpublic Boolean isExcludeUnlistedClasses()
Booleanpublic void setExcludeUnlistedClasses(Boolean value)
value - allowed object is
Booleanpublic Persistence.PersistenceUnit.Properties getProperties()
Persistence.PersistenceUnit.Propertiespublic void setProperties(Persistence.PersistenceUnit.Properties value)
value - allowed object is
Persistence.PersistenceUnit.Propertiespublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic PersistenceUnitTransactionType getTransactionType()
PersistenceUnitTransactionTypepublic void setTransactionType(PersistenceUnitTransactionType value)
value - allowed object is
PersistenceUnitTransactionTypepublic Persistence.PersistenceUnit clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||