Package net.solarnetwork.ocpp.domain
Class ConfigurationItem
java.lang.Object
net.solarnetwork.ocpp.domain.ConfigurationItem
A configuration/setting item.
- Version:
- 1.0
- Author:
- matt
-
Constructor Summary
ConstructorsConstructorDescriptionConfigurationItem(String key, String value) Constructor.ConfigurationItem(String key, String value, boolean readonly) Constructor. -
Method Summary
-
Constructor Details
-
ConfigurationItem
Constructor.The
readonlyflag will be set to false.- Parameters:
key- the keyvalue- the value
-
ConfigurationItem
Constructor.- Parameters:
key- the keyreadonly- the read-only flagvalue- the value
-
-
Method Details
-
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
Get the value.- Returns:
- the value
-