org.ow2.util.ee.metadata.common.api.struct
Interface IJavaxPersistenceUnit

All Superinterfaces:
Serializable

public interface IJavaxPersistenceUnit
extends Serializable

Manages Persistence unit annotation.

Author:
Florent BENOIT

Method Summary
 String getName()
           
 String getUnitName()
           
 void setName(String name)
          sets the name of this persistence context.
 void setUnitName(String unitName)
          sets the unit name of this persistence context.
 

Method Detail

getName

String getName()
Returns:
the unit name used by this persistence context.

setName

void setName(String name)
sets the name of this persistence context.

Parameters:
name - the name of the persistence context

getUnitName

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

setUnitName

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

Parameters:
unitName - the name of the persistence unit


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.