|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.impl.PersistenceImpl.PersistenceUnitImpl
public static class PersistenceImpl.PersistenceUnitImpl
| Nested Class Summary | |
|---|---|
static class |
PersistenceImpl.PersistenceUnitImpl.PropertiesImpl
|
| Nested classes/interfaces inherited from interface net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.Persistence.PersistenceUnit |
|---|
Persistence.PersistenceUnit.Properties |
| Field Summary | |
|---|---|
protected List<String> |
clazz
|
protected String |
description
|
protected Boolean |
excludeUnlistedClasses
|
protected List<String> |
jarFile
|
protected String |
jtaDataSource
|
protected List<String> |
mappingFile
|
protected String |
name
|
protected String |
nonJtaDataSource
|
protected PersistenceImpl.PersistenceUnitImpl.PropertiesImpl |
properties
|
protected String |
provider
|
protected PersistenceUnitTransactionType |
transactionType
|
| Constructor Summary | |
|---|---|
PersistenceImpl.PersistenceUnitImpl()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.impl.PersistenceImpl.PersistenceUnitImpl instance. |
|
PersistenceImpl.PersistenceUnitImpl(PersistenceImpl.PersistenceUnitImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.impl.PersistenceImpl.PersistenceUnitImpl instance by copying a given instance. |
|
| Method Summary | |
|---|---|
PersistenceImpl.PersistenceUnitImpl |
clone()
Creates and returns a copy of this object. |
static void |
copyClazz(List<String> source,
List<String> target)
Copies all values of property Clazz. |
static void |
copyJarFile(List<String> source,
List<String> target)
Copies all values of property JarFile. |
static void |
copyMappingFile(List<String> source,
List<String> target)
Copies all values of property MappingFile. |
List<String> |
getClazz()
Gets the value of the clazz property. |
String |
getDescription()
Gets the value of the description property. |
List<String> |
getJarFile()
Gets the value of the jarFile property. |
String |
getJtaDataSource()
Gets the value of the jtaDataSource property. |
List<String> |
getMappingFile()
Gets the value of the mappingFile property. |
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. |
void |
setDescription(String value)
Sets the value of the description property. |
void |
setExcludeUnlistedClasses(Boolean value)
Sets the value of the excludeUnlistedClasses property. |
void |
setJtaDataSource(String value)
Sets the value of the jtaDataSource property. |
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 List<String> mappingFile
protected List<String> jarFile
protected List<String> clazz
protected Boolean excludeUnlistedClasses
protected PersistenceImpl.PersistenceUnitImpl.PropertiesImpl properties
protected String name
protected PersistenceUnitTransactionType transactionType
| Constructor Detail |
|---|
public PersistenceImpl.PersistenceUnitImpl()
net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.impl.PersistenceImpl.PersistenceUnitImpl instance.
public PersistenceImpl.PersistenceUnitImpl(PersistenceImpl.PersistenceUnitImpl o)
net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.persistence.impl.PersistenceImpl.PersistenceUnitImpl instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public String getDescription()
Persistence.PersistenceUnit
getDescription in interface Persistence.PersistenceUnitStringpublic void setDescription(String value)
Persistence.PersistenceUnit
setDescription in interface Persistence.PersistenceUnitvalue - allowed object is
Stringpublic String getProvider()
Persistence.PersistenceUnit
getProvider in interface Persistence.PersistenceUnitStringpublic void setProvider(String value)
Persistence.PersistenceUnit
setProvider in interface Persistence.PersistenceUnitvalue - allowed object is
Stringpublic String getJtaDataSource()
Persistence.PersistenceUnit
getJtaDataSource in interface Persistence.PersistenceUnitStringpublic void setJtaDataSource(String value)
Persistence.PersistenceUnit
setJtaDataSource in interface Persistence.PersistenceUnitvalue - allowed object is
Stringpublic String getNonJtaDataSource()
Persistence.PersistenceUnit
getNonJtaDataSource in interface Persistence.PersistenceUnitStringpublic void setNonJtaDataSource(String value)
Persistence.PersistenceUnit
setNonJtaDataSource in interface Persistence.PersistenceUnitvalue - allowed object is
Stringpublic List<String> getMappingFile()
Persistence.PersistenceUnit
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the mappingFile property.
For example, to add a new item, do as follows:
getMappingFile().add(newItem);
Objects of the following type(s) are allowed in the list
String
getMappingFile in interface Persistence.PersistenceUnitpublic List<String> getJarFile()
Persistence.PersistenceUnit
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the jarFile property.
For example, to add a new item, do as follows:
getJarFile().add(newItem);
Objects of the following type(s) are allowed in the list
String
getJarFile in interface Persistence.PersistenceUnitpublic List<String> getClazz()
Persistence.PersistenceUnit
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the clazz property.
For example, to add a new item, do as follows:
getClazz().add(newItem);
Objects of the following type(s) are allowed in the list
String
getClazz in interface Persistence.PersistenceUnitpublic Boolean isExcludeUnlistedClasses()
Persistence.PersistenceUnit
isExcludeUnlistedClasses in interface Persistence.PersistenceUnitBooleanpublic void setExcludeUnlistedClasses(Boolean value)
Persistence.PersistenceUnit
setExcludeUnlistedClasses in interface Persistence.PersistenceUnitvalue - allowed object is
Booleanpublic Persistence.PersistenceUnit.Properties getProperties()
Persistence.PersistenceUnit
getProperties in interface Persistence.PersistenceUnitPersistence.PersistenceUnit.Propertiespublic void setProperties(Persistence.PersistenceUnit.Properties value)
Persistence.PersistenceUnit
setProperties in interface Persistence.PersistenceUnitvalue - allowed object is
Persistence.PersistenceUnit.Propertiespublic String getName()
Persistence.PersistenceUnit
getName in interface Persistence.PersistenceUnitStringpublic void setName(String value)
Persistence.PersistenceUnit
setName in interface Persistence.PersistenceUnitvalue - allowed object is
Stringpublic PersistenceUnitTransactionType getTransactionType()
Persistence.PersistenceUnit
getTransactionType in interface Persistence.PersistenceUnitPersistenceUnitTransactionTypepublic void setTransactionType(PersistenceUnitTransactionType value)
Persistence.PersistenceUnit
setTransactionType in interface Persistence.PersistenceUnitvalue - allowed object is
PersistenceUnitTransactionType
public static void copyMappingFile(List<String> source,
List<String> target)
MappingFile.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
public static void copyJarFile(List<String> source,
List<String> target)
JarFile.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
public static void copyClazz(List<String> source,
List<String> target)
Clazz.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.public PersistenceImpl.PersistenceUnitImpl clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||