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

All Superinterfaces:
IResourceGroup, Serializable

public interface IPersistenceContextRef
extends IResourceGroup

Author:
Adriana Danes

Field Summary
static String NAME
          Name of this element.
 
Method Summary
 String getPersistenceContextRefName()
           
 String getPersistenceContextType()
           
 String getPersistenceUnitName()
           
 void setPersistenceContextRefName(String persistenceContextName)
          Sets the name of this persistence-context-ref.
 void setPersistenceContextType(String persistenceContextType)
          Sets the persistence context type.
 void setPersistenceUnitName(String persistenceUnitName)
          Sets the name of the persistence-unit containing this reference.
 
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

getPersistenceContextRefName

String getPersistenceContextRefName()
Returns:
name of this persistence-context-ref

setPersistenceContextRefName

void setPersistenceContextRefName(String persistenceContextName)
Sets the name of this persistence-context-ref.

Parameters:
persistenceContextName - 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

getPersistenceContextType

String getPersistenceContextType()
Returns:
the type of the persistence context

setPersistenceContextType

void setPersistenceContextType(String persistenceContextType)
Sets the persistence context type.

Parameters:
persistenceContextType - type to set


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