org.ow2.util.ee.metadata.common.api.xml.struct
Interface IPersistenceUnitRef

All Superinterfaces:
IResourceGroup, Serializable

public interface IPersistenceUnitRef
extends IResourceGroup

Interface used for persistence-unit-ref element.

Author:
danesa

Field Summary
static String NAME
          Name of this element.
 
Method Summary
 String getPersistenceUnitName()
           
 String getPersistenceUnitRefName()
           
 void setPersistenceUnitName(String persistenceUnitName)
          Sets the name of the persistence-unit containing this reference.
 void setPersistenceUnitRefName(String persistenceUnitName)
          Sets the name of this persistence-unit-ref.
 
Methods inherited from interface org.ow2.util.ee.metadata.common.api.xml.struct.IResourceGroup
addInjectionTarget, getInjectionTargetList, getLookupName, getMappedName, setLookupName, setMappedName
 

Field Detail

NAME

static final String NAME
Name of this element.

See Also:
Constant Field Values
Method Detail

getPersistenceUnitRefName

String getPersistenceUnitRefName()
Returns:
name of this persistence-unit-ref

setPersistenceUnitRefName

void setPersistenceUnitRefName(String persistenceUnitName)
Sets the name of this persistence-unit-ref.

Parameters:
persistenceUnitName - name of this reference

getPersistenceUnitName

String getPersistenceUnitName()
Returns:
name of the persistence-unit containing this reference

setPersistenceUnitName

void setPersistenceUnitName(String persistenceUnitName)
Sets the name of the persistence-unit containing this reference.

Parameters:
persistenceUnitName - name of the persistence unit


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