|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.arooa.deploy.ArooaAnnotationsHelper
public class ArooaAnnotationsHelper
A simple implementation ArooaAnnotations
.
Constructor Summary | |
---|---|
ArooaAnnotationsHelper(ArooaClass classIdentifier)
Constructor. |
Method Summary | |
---|---|
void |
addAnnotationDefintion(AnnotationDefinition defintion)
Add an annotation definition. |
void |
addPropertyDefinition(PropertyDefinition definition)
Add a property definition. |
String[] |
annotatedProperties()
Provide all properties that are annotated. |
ArooaAnnotation |
annotationForProperty(String propertyName,
String annotationName)
Get the Annotation for a property by annotation name. |
ArooaAnnotation[] |
annotationsForProperty(String propertyName)
Get all the annotations for a property. |
Method |
methodFor(String annotationName)
Get the method for an annotation name. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArooaAnnotationsHelper(ArooaClass classIdentifier)
classIdentifier
- Method Detail |
---|
public void addPropertyDefinition(PropertyDefinition definition)
definition
- public void addAnnotationDefintion(AnnotationDefinition defintion)
defintion
- public Method methodFor(String annotationName)
ArooaAnnotations
methodFor
in interface ArooaAnnotations
annotationName
- The annotation name.
public String[] annotatedProperties()
ArooaAnnotations
annotatedProperties
in interface ArooaAnnotations
public ArooaAnnotation[] annotationsForProperty(String propertyName)
ArooaAnnotations
annotationsForProperty
in interface ArooaAnnotations
propertyName
- The property name.
public ArooaAnnotation annotationForProperty(String propertyName, String annotationName)
ArooaAnnotations
annotationForProperty
in interface ArooaAnnotations
propertyName
- The name of the property.annotationName
- The name of the annotation.
public String toString()
toString
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |