|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazon.carbonado.info.StorablePropertyAnnotation
public class StorablePropertyAnnotation
Information about a custom annotation applied to a property.
| Constructor Summary | |
|---|---|
StorablePropertyAnnotation(Annotation annotation,
Method method)
Use this constructor if an annotation was actually defined. |
|
StorablePropertyAnnotation(Class<? extends Annotation> annotationType,
Method method)
Use this constructor if an annotation was not defined, but instead is being automatically applied. |
|
| Method Summary | |
|---|---|
Method |
getAnnotatedMethod()
Returns the method that has the annotation. |
Annotation |
getAnnotation()
Returns the actual annotation instance, which may be null if annotation was automatically applied. |
Class<? extends Annotation> |
getAnnotationType()
Returns the type of annotation that was applied to the property method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StorablePropertyAnnotation(Annotation annotation,
Method method)
annotation - annotation on methodmethod - method with annotation
public StorablePropertyAnnotation(Class<? extends Annotation> annotationType,
Method method)
annotationType - annotation type on methodmethod - method with annotation| Method Detail |
|---|
public Annotation getAnnotation()
public Class<? extends Annotation> getAnnotationType()
public Method getAnnotatedMethod()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||