|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.deployment.annotations.metadata.CommonAnnotationMetadata
org.objectweb.easybeans.deployment.annotations.metadata.FieldAnnotationMetadata
public class FieldAnnotationMetadata
This class represents the annotation metadata of a field.
Field Summary | |
---|---|
private ClassAnnotationMetadata |
classAnnotationMetadata
Parent metadata. |
private boolean |
inherited
This field is a field from a super class ? |
private JField |
jField
Method on which we got metadata. |
Constructor Summary | |
---|---|
FieldAnnotationMetadata(JField jField,
ClassAnnotationMetadata classAnnotationMetadata)
Constructor. |
Method Summary | |
---|---|
ClassAnnotationMetadata |
getClassAnnotationMetadata()
|
java.lang.String |
getFieldName()
|
JField |
getJField()
|
boolean |
isInherited()
|
void |
setInherited(boolean inherited)
Sets the inheritance of this method. |
java.lang.String |
toString()
|
Methods inherited from class org.objectweb.easybeans.deployment.annotations.metadata.CommonAnnotationMetadata |
---|
concatStringBuilder, concatStringBuilder, getJAnnotationResource, getJavaxPersistenceContext, getJavaxPersistenceUnit, getJEjbEJB, isPersistenceContext, isPersistenceUnit, setJAnnotationResource, setJavaxPersistenceContext, setJavaxPersistenceUnit, setJEjbEJB |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private JField jField
private ClassAnnotationMetadata classAnnotationMetadata
private boolean inherited
Constructor Detail |
---|
public FieldAnnotationMetadata(JField jField, ClassAnnotationMetadata classAnnotationMetadata)
jField
- the field on which we will set/add metadataclassAnnotationMetadata
- the parent metadata.Method Detail |
---|
public java.lang.String getFieldName()
public JField getJField()
public java.lang.String toString()
toString
in class CommonAnnotationMetadata
public boolean isInherited()
public void setInherited(boolean inherited)
inherited
- true if method is from a super classpublic ClassAnnotationMetadata getClassAnnotationMetadata()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |