Class AnnotationObject


  • public class AnnotationObject
    extends 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".
    • Constructor Detail

      • AnnotationObject

        public AnnotationObject​(String name,
                                Map<String,​Object> map)
        Constructor.
        Parameters:
        name - Class name of the annotation object
        map - Map of the annotation properties
    • Method Detail

      • getName

        public String getName()
        Accessor for the annotation class name
        Returns:
        Annotation class name
      • getNameValueMap

        public Map<String,​Object> getNameValueMap()
        Accessor for the annotation properties map
        Returns:
        Annotation properties map