|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.impl.PersistenceImpl
public class PersistenceImpl
| Nested Class Summary | |
|---|---|
static class |
PersistenceImpl.PersistenceUnitImpl
|
| Nested classes/interfaces inherited from interface net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.Persistence |
|---|
Persistence.PersistenceUnit |
| Field Summary | |
|---|---|
protected List<Persistence.PersistenceUnit> |
persistenceUnit
|
protected String |
version
|
| Constructor Summary | |
|---|---|
PersistenceImpl()
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.impl.PersistenceImpl instance. |
|
PersistenceImpl(PersistenceImpl o)
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.impl.PersistenceImpl instance by copying a given instance. |
|
| Method Summary | |
|---|---|
PersistenceImpl |
clone()
Creates and returns a copy of this object. |
List<Persistence.PersistenceUnit> |
getPersistenceUnit()
Gets the value of the persistenceUnit property. |
String |
getVersion()
Gets the value of the version property. |
void |
setVersion(String value)
Sets the value of the version property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<Persistence.PersistenceUnit> persistenceUnit
protected String version
| Constructor Detail |
|---|
public PersistenceImpl()
net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.impl.PersistenceImpl instance.
public PersistenceImpl(PersistenceImpl o)
net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.impl.PersistenceImpl instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public List<Persistence.PersistenceUnit> getPersistenceUnit()
Persistence
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
Persistence.PersistenceUnit
getPersistenceUnit in interface Persistencepublic String getVersion()
Persistence
getVersion in interface PersistenceStringpublic void setVersion(String value)
Persistence
setVersion in interface Persistencevalue - allowed object is
Stringpublic PersistenceImpl clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||