Class AbstractAnnotated

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Annotations annotations()
      Returns the key/value annotations.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractAnnotated

        protected AbstractAnnotated()
      • AbstractAnnotated

        protected AbstractAnnotated​(Annotations... annotations)
        Creates a new entity, annotated with the specified annotations.
        Parameters:
        annotations - optional key/value annotations map
    • Method Detail

      • annotations

        public Annotations annotations()
        Description copied from interface: Annotated
        Returns the key/value annotations.
        Specified by:
        annotations in interface Annotated
        Returns:
        key/value annotations