|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bm.ejb3metadata.annotations.impl.JavaxPersistenceContext
public class JavaxPersistenceContext
This class allow to set informations on javax.persistence.PersistenceContext annotation.
Constructor Summary | |
---|---|
JavaxPersistenceContext()
Build new object with default values. |
Method Summary | |
---|---|
java.lang.String |
getName()
|
javax.persistence.PersistenceContextType |
getType()
|
java.lang.String |
getUnitName()
|
void |
setName(java.lang.String name)
sets the name of this persistence context. |
void |
setType(javax.persistence.PersistenceContextType type)
Sets the persistence context type. |
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 |
Constructor Detail |
---|
public JavaxPersistenceContext()
Method Detail |
---|
public javax.persistence.PersistenceContextType getType()
public void setType(javax.persistence.PersistenceContextType type)
type
- given type.public java.lang.String getUnitName()
public void setUnitName(java.lang.String unitName)
unitName
- the name of the persistence unitpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name of the persistence context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |