|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bm.ejb3metadata.annotations.metadata.CommonAnnotationMetadata
public class CommonAnnotationMetadata
Defines Metadata shared by Field, Method and Classes. For example @javax.annotation.EJB, @javax.annotation.Resource, etc.
Constructor Summary | |
---|---|
CommonAnnotationMetadata()
|
Method Summary | |
---|---|
protected static void |
concatStringBuilder(java.lang.String name,
java.lang.Object object,
java.lang.StringBuilder sb)
Adds an entry to the given StringBuilder. |
protected static void |
concatStringBuilder(java.lang.String name,
java.lang.Object object,
java.lang.StringBuilder sb,
java.lang.String indent)
Adds an entry to the given StringBuilder. |
JAnnotationResource |
getJAnnotationResource()
|
JavaxPersistenceContext |
getJavaxPersistenceContext()
|
JavaxPersistenceUnit |
getJavaxPersistenceUnit()
|
JEjbEJB |
getJEjbEJB()
|
boolean |
isPersistenceContext()
|
boolean |
isPersistenceUnit()
|
void |
setJAnnotationResource(JAnnotationResource jAnnotationResource)
Set JAnnotationResource object. |
void |
setJavaxPersistenceContext(JavaxPersistenceContext javaxPersistenceContext)
Sets the persistence context info on this field. |
void |
setJavaxPersistenceUnit(JavaxPersistenceUnit javaxPersistenceUnit)
Sets the persistence unit info on this field. |
void |
setJEjbEJB(JEjbEJB jEjbEJB)
Set JAnnotationEJB object. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CommonAnnotationMetadata()
Method Detail |
---|
public JEjbEJB getJEjbEJB()
getJEjbEJB
in interface IEjbEJB
public void setJEjbEJB(JEjbEJB jEjbEJB)
setJEjbEJB
in interface IEjbEJB
jEjbEJB
- object representing javax.annotation.EJB annotation.public JAnnotationResource getJAnnotationResource()
getJAnnotationResource
in interface IAnnotationResource
public void setJAnnotationResource(JAnnotationResource jAnnotationResource)
setJAnnotationResource
in interface IAnnotationResource
jAnnotationResource
- object representing javax.annotation.Resource
annotation.public boolean isPersistenceContext()
isPersistenceContext
in interface IPersistenceContext
public JavaxPersistenceContext getJavaxPersistenceContext()
getJavaxPersistenceContext
in interface IPersistenceContext
public void setJavaxPersistenceContext(JavaxPersistenceContext javaxPersistenceContext)
setJavaxPersistenceContext
in interface IPersistenceContext
javaxPersistenceContext
- information on persistence context.public boolean isPersistenceUnit()
isPersistenceUnit
in interface IPersistenceUnit
public JavaxPersistenceUnit getJavaxPersistenceUnit()
getJavaxPersistenceUnit
in interface IPersistenceUnit
public void setJavaxPersistenceUnit(JavaxPersistenceUnit javaxPersistenceUnit)
setJavaxPersistenceUnit
in interface IPersistenceUnit
javaxPersistenceUnit
- information on persistence unit.public java.lang.String toString()
toString
in class java.lang.Object
protected static void concatStringBuilder(java.lang.String name, java.lang.Object object, java.lang.StringBuilder sb, java.lang.String indent)
name
- the name of the entry.object
- object to add.sb
- the string builder object on which add the given element.indent
- the indent to add at each line.protected static void concatStringBuilder(java.lang.String name, java.lang.Object object, java.lang.StringBuilder sb)
name
- the name of the entry.object
- object to add.sb
- the string builder object on which add the given element.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |