Class KeyValueAttribute


  • public class KeyValueAttribute
    extends Attribute
    Attribute representing a key-value item, where key and value are displayed next to each other.
    Author:
    Petr Dvorak, petr@wultra.com
    • Field Detail

      • value

        protected String value
    • Constructor Detail

      • KeyValueAttribute

        public KeyValueAttribute()
        Default constructor.
      • KeyValueAttribute

        public KeyValueAttribute​(String id,
                                 String label,
                                 String value)
        Constructor with all details.
        Parameters:
        id - Attribute ID.
        label - Attribute label.
        value - Value.
    • Method Detail

      • getValue

        public String getValue()
        Get value.
        Returns:
        Value.
      • setValue

        public void setValue​(String value)
        Set value.
        Parameters:
        value - Value.