Interface IAccessorKey<T>

  • Type Parameters:
    T - Class type of the content type. Also matches the class of the values returned by associated member accessors.
    All Known Implementing Classes:
    Attribute

    public interface IAccessorKey<T>
    Key used to get a IMemberAccessor from IType.getAccessor(IAccessorKey). Normally only used when introspecting an IType to get a list of all known accessors.
    • Method Detail

      • getContentType

        ContentType<T> getContentType()
        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.
        Returns:
        the content type of this attribute
      • getIdentifier

        String getIdentifier()
        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().)
        Returns:
        the attribute identifier