Class ConfigurationItem

java.lang.Object
net.solarnetwork.ocpp.domain.ConfigurationItem

public class ConfigurationItem extends Object
A configuration/setting item.
Version:
1.0
Author:
matt
  • Constructor Details

    • ConfigurationItem

      public ConfigurationItem(String key, String value)
      Constructor.

      The readonly flag will be set to false.

      Parameters:
      key - the key
      value - the value
    • ConfigurationItem

      public ConfigurationItem(String key, String value, boolean readonly)
      Constructor.
      Parameters:
      key - the key
      readonly - the read-only flag
      value - the value
  • Method Details

    • getKey

      public String getKey()
      Get the key.
      Returns:
      the key
    • isReadonly

      public boolean isReadonly()
      Get the read-only flag.
      Returns:
      true if the configuration item is read-only and cannot be changed
    • getValue

      public String getValue()
      Get the value.
      Returns:
      the value