Class AccessorKey<T>

    • Field Detail

      • identifier

        private final java.lang.String identifier
    • Constructor Detail

      • AccessorKey

        public AccessorKey​(java.lang.String identifier,
                           ContentType<T> contentType)
    • Method Detail

      • getContentType

        public ContentType<T> getContentType()
        Description copied from interface: IAccessorKey
        The content type of this attribute. The type can be an opaque (or leaf) type in which case its instances can be of any class (but typically restricted according to the type). It can also be a structured type which has attributes (fields) of its own, in which case its instances currently must implement IItem.
        Specified by:
        getContentType in interface IAccessorKey<T>
        Returns:
        the content type of this attribute
      • getIdentifier

        public java.lang.String getIdentifier()
        Description copied from interface: IAccessorKey
        A identifier is a text string identifying the attribute. It must never be localized and it should only contain characters that are safe to use in various configuration files, e.g. as XML tags. (Analogous to Field.getName().)
        Specified by:
        getIdentifier in interface IAccessorKey<T>
        Returns:
        the attribute identifier
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object