Class Persistence.PersistenceUnit
- java.lang.Object
-
- io.helidon.integrations.cdi.jpa.jaxb.Persistence.PersistenceUnit
-
- Enclosing class:
- Persistence
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public static class Persistence.PersistenceUnit extends Object
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="shared-cache-mode" type="{http://xmlns.jcp.org/xml/ns/persistence}persistence-unit-caching-type" minOccurs="0"/> <element name="validation-mode" type="{http://xmlns.jcp.org/xml/ns/persistence}persistence-unit-validation-mode-type" 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://xmlns.jcp.org/xml/ns/persistence}persistence-unit-transaction-type" /> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPersistence.PersistenceUnit.PropertiesJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected List<String>clazzprotected Stringdescriptionprotected BooleanexcludeUnlistedClassesprotected List<String>jarFileprotected StringjtaDataSourceprotected List<String>mappingFileprotected Stringnameprotected StringnonJtaDataSourceprotected Persistence.PersistenceUnit.Propertiespropertiesprotected Stringproviderprotected PersistenceUnitCachingTypesharedCacheModeprotected PersistenceUnitTransactionTypetransactionTypeprotected PersistenceUnitValidationModeTypevalidationMode
-
Constructor Summary
Constructors Constructor Description PersistenceUnit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getClazz()Gets the value of the clazz property.StringgetDescription()Gets the value of the description property.List<String>getJarFile()Gets the value of the jarFile property.StringgetJtaDataSource()Gets the value of the jtaDataSource property.List<String>getMappingFile()Gets the value of the mappingFile property.StringgetName()Gets the value of the name property.StringgetNonJtaDataSource()Gets the value of the nonJtaDataSource property.Persistence.PersistenceUnit.PropertiesgetProperties()Gets the value of the properties property.StringgetProvider()Gets the value of the provider property.PersistenceUnitCachingTypegetSharedCacheMode()Gets the value of the sharedCacheMode property.PersistenceUnitTransactionTypegetTransactionType()Gets the value of the transactionType property.PersistenceUnitValidationModeTypegetValidationMode()Gets the value of the validationMode property.BooleanisExcludeUnlistedClasses()Gets the value of the excludeUnlistedClasses property.voidsetDescription(String value)Sets the value of the description property.voidsetExcludeUnlistedClasses(Boolean value)Sets the value of the excludeUnlistedClasses property.voidsetJtaDataSource(String value)Sets the value of the jtaDataSource property.voidsetName(String value)Sets the value of the name property.voidsetNonJtaDataSource(String value)Sets the value of the nonJtaDataSource property.voidsetProperties(Persistence.PersistenceUnit.Properties value)Sets the value of the properties property.voidsetProvider(String value)Sets the value of the provider property.voidsetSharedCacheMode(PersistenceUnitCachingType value)Sets the value of the sharedCacheMode property.voidsetTransactionType(PersistenceUnitTransactionType value)Sets the value of the transactionType property.voidsetValidationMode(PersistenceUnitValidationModeType value)Sets the value of the validationMode property.
-
-
-
Field Detail
-
description
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") protected String description
-
provider
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") protected String provider
-
jtaDataSource
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") protected String jtaDataSource
-
nonJtaDataSource
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") protected String nonJtaDataSource
-
mappingFile
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") protected List<String> mappingFile
-
jarFile
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") protected List<String> jarFile
-
clazz
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") protected List<String> clazz
-
excludeUnlistedClasses
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") protected Boolean excludeUnlistedClasses
-
sharedCacheMode
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") protected PersistenceUnitCachingType sharedCacheMode
-
validationMode
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") protected PersistenceUnitValidationModeType validationMode
-
properties
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") protected Persistence.PersistenceUnit.Properties properties
-
name
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") protected String name
-
transactionType
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") protected PersistenceUnitTransactionType transactionType
-
-
Method Detail
-
getDescription
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getProvider
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public String getProvider()
Gets the value of the provider property.- Returns:
- possible object is
String
-
setProvider
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public void setProvider(String value)
Sets the value of the provider property.- Parameters:
value- allowed object isString
-
getJtaDataSource
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public String getJtaDataSource()
Gets the value of the jtaDataSource property.- Returns:
- possible object is
String
-
setJtaDataSource
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public void setJtaDataSource(String value)
Sets the value of the jtaDataSource property.- Parameters:
value- allowed object isString
-
getNonJtaDataSource
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public String getNonJtaDataSource()
Gets the value of the nonJtaDataSource property.- Returns:
- possible object is
String
-
setNonJtaDataSource
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public void setNonJtaDataSource(String value)
Sets the value of the nonJtaDataSource property.- Parameters:
value- allowed object isString
-
getMappingFile
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public List<String> getMappingFile()
Gets the value of the mappingFile property.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
setmethod 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
-
getJarFile
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public List<String> getJarFile()
Gets the value of the jarFile property.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
setmethod 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
-
getClazz
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public List<String> getClazz()
Gets the value of the clazz property.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
setmethod 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
-
isExcludeUnlistedClasses
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public Boolean isExcludeUnlistedClasses()
Gets the value of the excludeUnlistedClasses property.- Returns:
- possible object is
Boolean
-
setExcludeUnlistedClasses
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public void setExcludeUnlistedClasses(Boolean value)
Sets the value of the excludeUnlistedClasses property.- Parameters:
value- allowed object isBoolean
-
getSharedCacheMode
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public PersistenceUnitCachingType getSharedCacheMode()
Gets the value of the sharedCacheMode property.- Returns:
- possible object is
PersistenceUnitCachingType
-
setSharedCacheMode
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public void setSharedCacheMode(PersistenceUnitCachingType value)
Sets the value of the sharedCacheMode property.- Parameters:
value- allowed object isPersistenceUnitCachingType
-
getValidationMode
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public PersistenceUnitValidationModeType getValidationMode()
Gets the value of the validationMode property.- Returns:
- possible object is
PersistenceUnitValidationModeType
-
setValidationMode
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public void setValidationMode(PersistenceUnitValidationModeType value)
Sets the value of the validationMode property.- Parameters:
value- allowed object isPersistenceUnitValidationModeType
-
getProperties
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public Persistence.PersistenceUnit.Properties getProperties()
Gets the value of the properties property.- Returns:
- possible object is
Persistence.PersistenceUnit.Properties
-
setProperties
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public void setProperties(Persistence.PersistenceUnit.Properties value)
Sets the value of the properties property.- Parameters:
value- allowed object isPersistence.PersistenceUnit.Properties
-
getName
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getTransactionType
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public PersistenceUnitTransactionType getTransactionType()
Gets the value of the transactionType property.- Returns:
- possible object is
PersistenceUnitTransactionType
-
setTransactionType
@Generated(value="com.sun.tools.xjc.Driver", date="2022-07-08T01:31:59+00:00", comments="JAXB RI v2.3.0") public void setTransactionType(PersistenceUnitTransactionType value)
Sets the value of the transactionType property.- Parameters:
value- allowed object isPersistenceUnitTransactionType
-
-