Class AnnotationObject
java.lang.Object
org.datanucleus.metadata.annotations.AnnotationObject
Wrapper for an annotation and its various properties etc.
This could represent, for example, "javax.persistence.Entity" and have a map with one key "name".
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
String nameName of the annotation object (e.g javax.persistence.Entity) -
nameValueMap
Map of properties for this annotation
-
-
Constructor Details
-
AnnotationObject
Constructor.- Parameters:
name
- Class name of the annotation objectmap
- Map of the annotation properties
-
-
Method Details
-
getName
Accessor for the annotation class name- Returns:
- Annotation class name
-
getNameValueMap
Accessor for the annotation properties map- Returns:
- Annotation properties map
-