Interface IAttributeDefinition


  • public interface IAttributeDefinition
    Defines the blueprint for an attribute.

    An attribute definition contains identifying information such as a unique key, a human-readable display name, a translation key for localization, and a color code.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      char getColorCode()
      Returns the color code associated with this attribute.
      java.lang.String getDisplayName()
      Returns the human-readable display name for this attribute.
      java.lang.String getKey()
      Returns the unique key that identifies this attribute.
      java.lang.String getTranslationKey()
      Returns the translation key used for localizing this attribute.
    • Method Detail

      • getKey

        java.lang.String getKey()
        Returns the unique key that identifies this attribute.
        Returns:
        a String representing the attribute key
      • getDisplayName

        java.lang.String getDisplayName()
        Returns the human-readable display name for this attribute.
        Returns:
        a String representing the display name
      • getTranslationKey

        java.lang.String getTranslationKey()
        Returns the translation key used for localizing this attribute.
        Returns:
        a String representing the translation key
      • getColorCode

        char getColorCode()
        Returns the color code associated with this attribute.
        Returns:
        a char representing the color code