Class ParameterAnnotationContent

  • All Implemented Interfaces:
    java.lang.annotation.Annotation

    public class ParameterAnnotationContent
    extends AnnotatedField
    implements Parameter
    Since:
    3.0
    • Field Detail

      • name

        private java.lang.String name
      • alias

        private java.lang.String alias
      • property

        private java.lang.String property
      • defaultValue

        private java.lang.String defaultValue
      • required

        private boolean required
      • readonly

        private boolean readonly
      • className

        private java.lang.String className
    • Constructor Detail

      • ParameterAnnotationContent

        public ParameterAnnotationContent​(java.lang.String fieldName,
                                          java.lang.String className)
      • ParameterAnnotationContent

        public ParameterAnnotationContent​(java.lang.String fieldName,
                                          java.lang.String alias,
                                          java.lang.String property,
                                          java.lang.String defaultValue,
                                          boolean required,
                                          boolean readonly,
                                          java.lang.String className)
    • Method Detail

      • name

        public java.lang.String name()
      • name

        public void name​(java.lang.String name)
      • alias

        public java.lang.String alias()
      • alias

        public void alias​(java.lang.String alias)
      • property

        public java.lang.String property()
      • property

        public void property​(java.lang.String property)
      • defaultValue

        public java.lang.String defaultValue()
      • defaultValue

        public void defaultValue​(java.lang.String defaultValue)
      • required

        public boolean required()
      • required

        public void required​(boolean required)
      • readonly

        public boolean readonly()
      • readonly

        public void readonly​(boolean readonly)
      • annotationType

        public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
        Specified by:
        annotationType in interface java.lang.annotation.Annotation
      • getClassName

        public java.lang.String getClassName()
      • setClassName

        public void setClassName​(java.lang.String className)
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface java.lang.annotation.Annotation
        Overrides:
        toString in class AnnotatedField
      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in interface java.lang.annotation.Annotation
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.lang.annotation.Annotation
        Overrides:
        hashCode in class java.lang.Object