org.apache.openejb.jee.jpa.fragment
Class PersistenceFragment
java.lang.Object
org.apache.openejb.jee.jpa.fragment.PersistenceFragment
public class PersistenceFragment
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
persistenceUnitFragment
protected List<PersistenceUnitFragment> persistenceUnitFragment
version
protected String version
PersistenceFragment
public PersistenceFragment()
PersistenceFragment
public PersistenceFragment(PersistenceUnitFragment... persistenceUnit)
getPersistenceUnitFragment
public List<PersistenceUnitFragment> getPersistenceUnitFragment()
- Gets the value of the persistenceUnit 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 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
addPersistenceUnitFragment
public PersistenceUnitFragment addPersistenceUnitFragment(PersistenceUnitFragment unit)
addPersistenceUnitFragment
public PersistenceUnitFragment addPersistenceUnitFragment(String unitName)
getVersion
public String getVersion()
- Gets the value of the version property.
- Returns:
- possible object is
String
setVersion
public void setVersion(String value)
- Sets the value of the version property.
- Parameters:
value - allowed object is
String
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.