org.ow2.jonas.deployment.common.xml
Class PersistenceUnitRef
java.lang.Object
org.ow2.jonas.deployment.common.xml.AbsElement
org.ow2.jonas.deployment.common.xml.PersistenceUnitRef
- All Implemented Interfaces:
- Serializable, Element
public class PersistenceUnitRef
- extends AbsElement
This class defines the implementation of the persistence-unit-ref XML element.
- Author:
- Adriana Danes
- See Also:
- Serialized Form
PersistenceUnitRef
public PersistenceUnitRef()
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getPersistenceUnitRefName
public String getPersistenceUnitRefName()
setPersistenceUnitRefName
public void setPersistenceUnitRefName(String persistenceUnitRefName)
getPersistenceUnitName
public String getPersistenceUnitName()
setPersistenceUnitName
public void setPersistenceUnitName(String persistenceUnitName)
toXML
public String toXML(int indent)
- Represents this element by it's XML description.
- Specified by:
toXML
in interface Element
- Specified by:
toXML
in class AbsElement
- Parameters:
indent
- use this indent for prefixing XML representation.
- Returns:
- the XML description of this object.
Copyright © 2010 OW2 Consortium. All Rights Reserved.