Class FeatureDescriptor

    • Constructor Detail

      • FeatureDescriptor

        public FeatureDescriptor()
    • Method Detail

      • setValue

        public void setValue​(java.lang.String attributeName,
                             java.lang.Object value)
        Parameters:
        attributeName - The name of the attribute to set a value with.
        value - The value to set.
      • getValue

        public java.lang.Object getValue​(java.lang.String attributeName)
        Parameters:
        attributeName - The name of the attribute to get a value for.
        Returns:
        The attribute's value.
      • attributeNames

        public java.util.Enumeration<java.lang.String> attributeNames()
        Returns:
        An instance of Enumeration.
      • setShortDescription

        public void setShortDescription​(java.lang.String text)
        Parameters:
        text - The description to set.
      • setName

        public void setName​(java.lang.String name)
        Parameters:
        name - The name to set.
      • setDisplayName

        public void setDisplayName​(java.lang.String displayName)
        Parameters:
        displayName - The display name to set.
      • getShortDescription

        public java.lang.String getShortDescription()
        getDisplayName() if not set.
        Returns:
        The description.
      • getName

        public java.lang.String getName()
        Returns:
        The name.
      • getDisplayName

        public java.lang.String getDisplayName()
        getName() if not set.
        Returns:
        The display name.
      • setPreferred

        public void setPreferred​(boolean preferred)
        Parameters:
        preferred - true if preferred, false otherwise.
      • setHidden

        public void setHidden​(boolean hidden)
      • setExpert

        public void setExpert​(boolean expert)
        Parameters:
        expert - true if expert, false otherwise.
      • isPreferred

        public boolean isPreferred()
        Returns:
        true if preferred, false otherwise.
      • isHidden

        public boolean isHidden()
        Returns:
        true if hidden, false otherwise.
      • isExpert

        public boolean isExpert()
        Returns:
        true if hidden, false otherwise.