Class RealElement

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

    class RealElement
    extends java.lang.Object
    implements Element
    An implementation of Element.
    • Field Detail

      • nextUniqueId

        private static final java.util.concurrent.atomic.AtomicInteger nextUniqueId
      • uniqueId

        private final int uniqueId
      • setName

        private final java.lang.String setName
      • keyType

        private final java.lang.String keyType
    • Constructor Detail

      • RealElement

        RealElement​(java.lang.String setName,
                    Element.Type type,
                    java.lang.String keyType)
      • RealElement

        RealElement​(java.lang.String setName,
                    Element.Type type,
                    java.lang.String keyType,
                    int uniqueId)
    • Method Detail

      • setName

        public java.lang.String setName()
      • uniqueId

        public int uniqueId()
      • keyType

        public java.lang.String keyType()
      • annotationType

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

        public java.lang.String toString()
        Specified by:
        toString in interface java.lang.annotation.Annotation
        Overrides:
        toString in class java.lang.Object
      • 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