net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.persistence.impl
Class PersistenceImpl.PersistenceUnitImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.persistence.impl.PersistenceImpl.PersistenceUnitImpl
All Implemented Interfaces:
Serializable, Cloneable, Persistence.PersistenceUnit
Enclosing class:
PersistenceImpl

public static class PersistenceImpl.PersistenceUnitImpl
extends Object
implements Serializable, Cloneable, Persistence.PersistenceUnit

See Also:
Serialized Form

Nested Class Summary
static class PersistenceImpl.PersistenceUnitImpl.PropertiesImpl
           
 
Nested classes/interfaces inherited from interface net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.persistence.Persistence.PersistenceUnit
Persistence.PersistenceUnit.Properties
 
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  PersistenceImpl.PersistenceUnitImpl.PropertiesImpl properties
           
protected  String provider
           
protected  PersistenceUnitTransactionType transactionType
           
 
Constructor Summary
PersistenceImpl.PersistenceUnitImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.persistence.impl.PersistenceImpl.PersistenceUnitImpl instance.
PersistenceImpl.PersistenceUnitImpl(PersistenceImpl.PersistenceUnitImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.persistence.impl.PersistenceImpl.PersistenceUnitImpl instance by copying a given instance.
 
Method Summary
 PersistenceImpl.PersistenceUnitImpl 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

description

protected String description

provider

protected String provider

jtaDataSource

protected String jtaDataSource

nonJtaDataSource

protected String nonJtaDataSource

mappingFile

protected String[] mappingFile

jarFile

protected String[] jarFile

clazz

protected String[] clazz

excludeUnlistedClasses

protected Boolean excludeUnlistedClasses

properties

protected PersistenceImpl.PersistenceUnitImpl.PropertiesImpl properties

name

protected String name

transactionType

protected PersistenceUnitTransactionType transactionType
Constructor Detail

PersistenceImpl.PersistenceUnitImpl

public PersistenceImpl.PersistenceUnitImpl()
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.persistence.impl.PersistenceImpl.PersistenceUnitImpl instance.


PersistenceImpl.PersistenceUnitImpl

public PersistenceImpl.PersistenceUnitImpl(PersistenceImpl.PersistenceUnitImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.persistence.impl.PersistenceImpl.PersistenceUnitImpl instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getDescription

public String getDescription()
Description copied from interface: Persistence.PersistenceUnit
Gets the value of the description property.

Specified by:
getDescription in interface Persistence.PersistenceUnit
Returns:
possible object is String

setDescription

public void setDescription(String value)
Description copied from interface: Persistence.PersistenceUnit
Sets the value of the description property.

Specified by:
setDescription in interface Persistence.PersistenceUnit
Parameters:
value - allowed object is String

getProvider

public String getProvider()
Description copied from interface: Persistence.PersistenceUnit
Gets the value of the provider property.

Specified by:
getProvider in interface Persistence.PersistenceUnit
Returns:
possible object is String

setProvider

public void setProvider(String value)
Description copied from interface: Persistence.PersistenceUnit
Sets the value of the provider property.

Specified by:
setProvider in interface Persistence.PersistenceUnit
Parameters:
value - allowed object is String

getJtaDataSource

public String getJtaDataSource()
Description copied from interface: Persistence.PersistenceUnit
Gets the value of the jtaDataSource property.

Specified by:
getJtaDataSource in interface Persistence.PersistenceUnit
Returns:
possible object is String

setJtaDataSource

public void setJtaDataSource(String value)
Description copied from interface: Persistence.PersistenceUnit
Sets the value of the jtaDataSource property.

Specified by:
setJtaDataSource in interface Persistence.PersistenceUnit
Parameters:
value - allowed object is String

getNonJtaDataSource

public String getNonJtaDataSource()
Description copied from interface: Persistence.PersistenceUnit
Gets the value of the nonJtaDataSource property.

Specified by:
getNonJtaDataSource in interface Persistence.PersistenceUnit
Returns:
possible object is String

setNonJtaDataSource

public void setNonJtaDataSource(String value)
Description copied from interface: Persistence.PersistenceUnit
Sets the value of the nonJtaDataSource property.

Specified by:
setNonJtaDataSource in interface Persistence.PersistenceUnit
Parameters:
value - allowed object is String

getMappingFile

public String[] getMappingFile()
Specified by:
getMappingFile in interface Persistence.PersistenceUnit
Returns:
array of String

getMappingFile

public String getMappingFile(int idx)
Specified by:
getMappingFile in interface Persistence.PersistenceUnit
Returns:
one of String

getMappingFileLength

public int getMappingFileLength()
Specified by:
getMappingFileLength in interface Persistence.PersistenceUnit

setMappingFile

public void setMappingFile(String[] values)
Specified by:
setMappingFile in interface Persistence.PersistenceUnit
Parameters:
values - allowed objects are String

setMappingFile

public String setMappingFile(int idx,
                             String value)
Specified by:
setMappingFile in interface Persistence.PersistenceUnit
value - allowed object is String

getJarFile

public String[] getJarFile()
Specified by:
getJarFile in interface Persistence.PersistenceUnit
Returns:
array of String

getJarFile

public String getJarFile(int idx)
Specified by:
getJarFile in interface Persistence.PersistenceUnit
Returns:
one of String

getJarFileLength

public int getJarFileLength()
Specified by:
getJarFileLength in interface Persistence.PersistenceUnit

setJarFile

public void setJarFile(String[] values)
Specified by:
setJarFile in interface Persistence.PersistenceUnit
Parameters:
values - allowed objects are String

setJarFile

public String setJarFile(int idx,
                         String value)
Specified by:
setJarFile in interface Persistence.PersistenceUnit
value - allowed object is String

getClazz

public String[] getClazz()
Specified by:
getClazz in interface Persistence.PersistenceUnit
Returns:
array of String

getClazz

public String getClazz(int idx)
Specified by:
getClazz in interface Persistence.PersistenceUnit
Returns:
one of String

getClazzLength

public int getClazzLength()
Specified by:
getClazzLength in interface Persistence.PersistenceUnit

setClazz

public void setClazz(String[] values)
Specified by:
setClazz in interface Persistence.PersistenceUnit
Parameters:
values - allowed objects are String

setClazz

public String setClazz(int idx,
                       String value)
Specified by:
setClazz in interface Persistence.PersistenceUnit
value - allowed object is String

isExcludeUnlistedClasses

public Boolean isExcludeUnlistedClasses()
Description copied from interface: Persistence.PersistenceUnit
Gets the value of the excludeUnlistedClasses property.

Specified by:
isExcludeUnlistedClasses in interface Persistence.PersistenceUnit
Returns:
possible object is Boolean

setExcludeUnlistedClasses

public void setExcludeUnlistedClasses(Boolean value)
Description copied from interface: Persistence.PersistenceUnit
Sets the value of the excludeUnlistedClasses property.

Specified by:
setExcludeUnlistedClasses in interface Persistence.PersistenceUnit
Parameters:
value - allowed object is Boolean

getProperties

public Persistence.PersistenceUnit.Properties getProperties()
Description copied from interface: Persistence.PersistenceUnit
Gets the value of the properties property.

Specified by:
getProperties in interface Persistence.PersistenceUnit
Returns:
possible object is Persistence.PersistenceUnit.Properties

setProperties

public void setProperties(Persistence.PersistenceUnit.Properties value)
Description copied from interface: Persistence.PersistenceUnit
Sets the value of the properties property.

Specified by:
setProperties in interface Persistence.PersistenceUnit
Parameters:
value - allowed object is Persistence.PersistenceUnit.Properties

getName

public String getName()
Description copied from interface: Persistence.PersistenceUnit
Gets the value of the name property.

Specified by:
getName in interface Persistence.PersistenceUnit
Returns:
possible object is String

setName

public void setName(String value)
Description copied from interface: Persistence.PersistenceUnit
Sets the value of the name property.

Specified by:
setName in interface Persistence.PersistenceUnit
Parameters:
value - allowed object is String

getTransactionType

public PersistenceUnitTransactionType getTransactionType()
Description copied from interface: Persistence.PersistenceUnit
Gets the value of the transactionType property.

Specified by:
getTransactionType in interface Persistence.PersistenceUnit
Returns:
possible object is PersistenceUnitTransactionType

setTransactionType

public void setTransactionType(PersistenceUnitTransactionType value)
Description copied from interface: Persistence.PersistenceUnit
Sets the value of the transactionType property.

Specified by:
setTransactionType in interface Persistence.PersistenceUnit
Parameters:
value - allowed object is PersistenceUnitTransactionType

clone

public PersistenceImpl.PersistenceUnitImpl clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


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