Interface NFEAttributeDescriptor

  • All Known Implementing Classes:
    NFEBasicAttributeDescriptor

    public interface NFEAttributeDescriptor
    Used to describe an attribute definition of a Feature Layer. Basically, it contains attribute metadata.
    • Method Detail

      • getName

        java.lang.String getName()
        Gets the attribute name
        Returns:
        an attribute name
      • setName

        void setName​(java.lang.String attrName)
        Sets the attribute name
        Parameters:
        attrName - an attribute name
      • getTypeClass

        java.lang.Class<?> getTypeClass()
        Gets the attribute type as a Java Class
        Returns:
        the Java type representing the attribute type
      • getType

        NFEAttributeType getType()
        Gets the attribute type identifier
        Returns:
        an attribute type value
      • setType

        void setType​(NFEAttributeType type)
        Sets the attribute type identifier
        Parameters:
        type - an attribute type value
      • getLength

        int getLength()
        Gets the maximum length the attribute can be if it is a VARCHAR type
        Returns:
        a string attribute maximum length
      • setLength

        void setLength​(int length)
        Sets the maximum length the attribute can be if it is a VARCHAR type
        Parameters:
        length - a string attribute maximum length
      • getCategory

        int getCategory()
        Gets the attribute category value
        Returns:
        an attribute category value
      • setCategory

        void setCategory​(int category)
        Sets the attribute category value
        Parameters:
        category - an attribute category value
      • getCatalog

        NFECatalog getCatalog()
        Gets the catalog associated to this attribute (if any)
        Returns:
        An NFECatalog instance or null if the attribute is not associated to a catalog
      • setCatalog

        void setCatalog​(NFECatalog catalog)
        Sets the catalog associated to this attribute
        Parameters:
        catalog - a catalog instance