| java.lang.Object com.bm.ejb3metadata.annotations.metadata.CommonAnnotationMetadata
All known Subclasses: com.bm.ejb3metadata.annotations.metadata.ClassAnnotationMetadata, com.bm.ejb3metadata.annotations.metadata.MethodAnnotationMetadata, com.bm.ejb3metadata.annotations.metadata.FieldAnnotationMetadata,
CommonAnnotationMetadata | public class CommonAnnotationMetadata implements ISharedMetadata(Code) | | Defines Metadata shared by Field, Method and Classes. For example
@javax.annotation.EJB, @javax.annotation.Resource, etc.
author: Daniel Wiese |
concatStringBuilder | protected static void concatStringBuilder(String name, Object object, StringBuilder sb, String indent)(Code) | | Adds an entry to the given StringBuilder.
Parameters: name - the name of the entry. Parameters: object - object to add. Parameters: sb - the string builder object on which add the given element. Parameters: indent - the indent to add at each line. |
concatStringBuilder | protected static void concatStringBuilder(String name, Object object, StringBuilder sb)(Code) | | Adds an entry to the given StringBuilder.
Parameters: name - the name of the entry. Parameters: object - object to add. Parameters: sb - the string builder object on which add the given element. |
getJAnnotationResource | public JAnnotationResource getJAnnotationResource()(Code) | | JAnnotationResource object representing javax.annotation.Resourceannotation. |
getJEjbEJB | public JEjbEJB getJEjbEJB()(Code) | | JEjbEJB object representing javax.ejb.EJB annotation. |
isPersistenceContext | public boolean isPersistenceContext()(Code) | | true if this field is used as a persistence context. |
isPersistenceUnit | public boolean isPersistenceUnit()(Code) | | true if this field is used as a persistence unit. |
setJAnnotationResource | public void setJAnnotationResource(JAnnotationResource jAnnotationResource)(Code) | | Set JAnnotationResource object.
Parameters: jAnnotationResource - object representing javax.annotation.Resourceannotation. |
setJEjbEJB | public void setJEjbEJB(JEjbEJB jEjbEJB)(Code) | | Set JAnnotationEJB object.
Parameters: jEjbEJB - object representing javax.annotation.EJB annotation. |
setJavaxPersistenceContext | public void setJavaxPersistenceContext(JavaxPersistenceContext javaxPersistenceContext)(Code) | | Sets the persistence context info on this field.
Parameters: javaxPersistenceContext - information on persistence context. |
setJavaxPersistenceUnit | public void setJavaxPersistenceUnit(JavaxPersistenceUnit javaxPersistenceUnit)(Code) | | Sets the persistence unit info on this field.
Parameters: javaxPersistenceUnit - information on persistence unit. |
toString | public String toString()(Code) | | string representation |
|
|