Class AnnotationObject
- java.lang.Object
-
- org.datanucleus.metadata.annotations.AnnotationObject
-
public class AnnotationObject extends java.lang.Object
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 Modifier and Type Field Description (package private) java.lang.String
name
Name of the annotation object (e.g javax.persistence.Entity)(package private) java.util.Map<java.lang.String,java.lang.Object>
nameValueMap
Map of properties for this annotation
-
Constructor Summary
Constructors Constructor Description AnnotationObject(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> map)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Accessor for the annotation class namejava.util.Map<java.lang.String,java.lang.Object>
getNameValueMap()
Accessor for the annotation properties map
-