Class KeyValuePairStringObject


  • public final class KeyValuePairStringObject
    extends Object
    The KeyValuePairStringObject model.
    • Constructor Detail

      • KeyValuePairStringObject

        public KeyValuePairStringObject()
    • Method Detail

      • key

        public String key()
        Get the key property: The key property.
        Returns:
        the key value.
      • value

        public Object value()
        Get the value property: Any object.
        Returns:
        the value value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.