public class ArooaAnnotationsHelper extends java.lang.Object implements ArooaAnnotations
ArooaAnnotations
.Constructor and Description |
---|
ArooaAnnotationsHelper(ArooaClass classIdentifier)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addAnnotationDefintion(AnnotationDefinition defintion)
Add an annotation definition.
|
void |
addPropertyDefinition(PropertyDefinition definition)
Add a property definition.
|
java.lang.String[] |
annotatedProperties()
Provide all properties that are annotated.
|
ArooaAnnotation |
annotationForProperty(java.lang.String propertyName,
java.lang.String annotationName)
Get the Annotation for a property by annotation name.
|
ArooaAnnotation[] |
annotationsForProperty(java.lang.String propertyName)
Get all the annotations for a property.
|
java.lang.reflect.Method |
methodFor(java.lang.String annotationName)
Get the method for an annotation name.
|
java.lang.String |
toString() |
public ArooaAnnotationsHelper(ArooaClass classIdentifier)
classIdentifier
- public void addPropertyDefinition(PropertyDefinition definition)
definition
- public void addAnnotationDefintion(AnnotationDefinition defintion)
defintion
- public java.lang.reflect.Method methodFor(java.lang.String annotationName)
ArooaAnnotations
methodFor
in interface ArooaAnnotations
annotationName
- The annotation name.public java.lang.String[] annotatedProperties()
ArooaAnnotations
annotatedProperties
in interface ArooaAnnotations
public ArooaAnnotation[] annotationsForProperty(java.lang.String propertyName)
ArooaAnnotations
annotationsForProperty
in interface ArooaAnnotations
propertyName
- The property name.public ArooaAnnotation annotationForProperty(java.lang.String propertyName, java.lang.String annotationName)
ArooaAnnotations
annotationForProperty
in interface ArooaAnnotations
propertyName
- The name of the property.annotationName
- The name of the annotation.public java.lang.String toString()
toString
in class java.lang.Object