public class PersistenceFragment
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List<PersistenceUnitFragment> |
persistenceUnitFragment |
protected java.lang.String |
version |
Constructor and Description |
---|
PersistenceFragment() |
PersistenceFragment(PersistenceUnitFragment... persistenceUnit) |
Modifier and Type | Method and Description |
---|---|
PersistenceUnitFragment |
addPersistenceUnitFragment(PersistenceUnitFragment unit) |
PersistenceUnitFragment |
addPersistenceUnitFragment(java.lang.String unitName) |
java.util.List<PersistenceUnitFragment> |
getPersistenceUnitFragment()
Gets the value of the persistenceUnit property.
|
java.lang.String |
getVersion()
Gets the value of the version property.
|
void |
setVersion(java.lang.String value)
Sets the value of the version property.
|
protected java.util.List<PersistenceUnitFragment> persistenceUnitFragment
protected java.lang.String version
public PersistenceFragment()
public PersistenceFragment(PersistenceUnitFragment... persistenceUnit)
public java.util.List<PersistenceUnitFragment> getPersistenceUnitFragment()
set
method for the persistenceUnit property.
For example, to add a new item, do as follows:
getPersistenceUnit().add(newItem);Objects of the following type(s) are allowed in the list
PersistenceUnit
public PersistenceUnitFragment addPersistenceUnitFragment(PersistenceUnitFragment unit)
public PersistenceUnitFragment addPersistenceUnitFragment(java.lang.String unitName)
public java.lang.String getVersion()
String
public void setVersion(java.lang.String value)
value
- allowed object is
String