Class AbstractAnnotated

    • 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