org.objectweb.easybeans.deployment.annotations.impl
Class JavaxPersistenceUnit

java.lang.Object
  extended by org.objectweb.easybeans.deployment.annotations.impl.JavaxPersistenceUnit

public class JavaxPersistenceUnit
extends java.lang.Object

This class allow to set informations on javax.persistence.PersistenceUnit annotation.

Author:
Florent Benoit

Field Summary
private  java.lang.String unitName
          Unit name of this persistence context.
 
Constructor Summary
JavaxPersistenceUnit()
          Build new object with default values.
 
Method Summary
 java.lang.String getUnitName()
           
 void setUnitName(java.lang.String unitName)
          sets the unit name of this persistence context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unitName

private java.lang.String unitName
Unit name of this persistence context.

Constructor Detail

JavaxPersistenceUnit

public JavaxPersistenceUnit()
Build new object with default values.

Method Detail

getUnitName

public java.lang.String getUnitName()
Returns:
the unit name used by this persistence context.

setUnitName

public void setUnitName(java.lang.String unitName)
sets the unit name of this persistence context.

Parameters:
unitName - the name of the persistence unit