com.bm.ejb3metadata.annotations.metadata
Class FieldAnnotationMetadata
java.lang.Object
com.bm.ejb3metadata.annotations.metadata.CommonAnnotationMetadata
com.bm.ejb3metadata.annotations.metadata.FieldAnnotationMetadata
- All Implemented Interfaces:
- IAnnotationResource, IEjbEJB, IPersistenceContext, IPersistenceUnit, ISharedMetadata
public class FieldAnnotationMetadata
- extends CommonAnnotationMetadata
This class represents the annotation metadata of a field.
- Author:
- Daniel Wiese
Methods inherited from class com.bm.ejb3metadata.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 |
FieldAnnotationMetadata
public FieldAnnotationMetadata(JField jField,
ClassAnnotationMetadata classAnnotationMetadata)
- Constructor.
- Parameters:
jField
- the field on which we will set/add metadataclassAnnotationMetadata
- the parent metadata.
getFieldName
public java.lang.String getFieldName()
- Returns:
- name of the field
getJField
public JField getJField()
- Returns:
- JMethod object
toString
public java.lang.String toString()
- Overrides:
toString
in class CommonAnnotationMetadata
- Returns:
- string representation
isInherited
public boolean isInherited()
- Returns:
- true if this method is inherited from a super class
setInherited
public void setInherited(boolean inherited)
- Sets the inheritance of this method.
- Parameters:
inherited
- true if method is from a super class
getClassAnnotationMetadata
public ClassAnnotationMetadata getClassAnnotationMetadata()
- Returns:
- parent metadata (class)
Copyright © 2008. All Rights Reserved.