Package net.solarnetwork.ocpp.domain
Class ChargePointInfo
java.lang.Object
net.solarnetwork.ocpp.domain.ChargePointInfo
Information about a Charge Point.
- Version:
- 1.0
- Author:
- matt
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.Constructor.ChargePointInfo(String id, String chargePointVendor, String chargePointModel) Constructor.ChargePointInfo(ChargePointInfo other) Copy constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyFrom(ChargePointInfo other) Copy the properties of another info onto this instance.getIccid()getId()Get the unique ID of the charge point.getImsi()booleanisSameAs(ChargePointInfo other) Test if the properties of another info are the same as in this instance.voidsetChargeBoxSerialNumber(String chargeBoxSerialNumber) voidsetChargePointModel(String chargePointModel) voidsetChargePointSerialNumber(String chargePointSerialNumber) voidsetChargePointVendor(String chargePointVendor) voidsetFirmwareVersion(String firmwareVersion) voidvoidSet the unique ID of the charge point.voidvoidsetMeterSerialNumber(String meterSerialNumber) voidsetMeterType(String meterType) toString()
-
Constructor Details
-
ChargePointInfo
public ChargePointInfo()Constructor. -
ChargePointInfo
Constructor.- Parameters:
id- the ID to use
-
ChargePointInfo
Constructor.- Parameters:
id- the ID to usechargePointVendor- the vendorchargePointModel- the model
-
ChargePointInfo
Copy constructor.- Parameters:
other- the info to copy
-
-
Method Details
-
copyFrom
Copy the properties of another info onto this instance.- Parameters:
other- the properties to copy
-
isSameAs
Test if the properties of another info are the same as in this instance.The
idproperties are not compared by this method.- Parameters:
other- the other info to compare to- Returns:
- true if the properties of this instance are equal to the other
-
toString
-
getId
Get the unique ID of the charge point.- Returns:
- the id
-
setId
Set the unique ID of the charge point.- Parameters:
id- the id to set
-
getChargePointVendor
- Returns:
- the chargePointVendor
-
setChargePointVendor
- Parameters:
chargePointVendor- the chargePointVendor to set
-
getChargePointModel
- Returns:
- the chargePointModel
-
setChargePointModel
- Parameters:
chargePointModel- the chargePointModel to set
-
getChargePointSerialNumber
- Returns:
- the chargePointSerialNumber
-
setChargePointSerialNumber
- Parameters:
chargePointSerialNumber- the chargePointSerialNumber to set
-
getChargeBoxSerialNumber
- Returns:
- the chargeBoxSerialNumber
-
setChargeBoxSerialNumber
- Parameters:
chargeBoxSerialNumber- the chargeBoxSerialNumber to set
-
getFirmwareVersion
- Returns:
- the firmwareVersion
-
setFirmwareVersion
- Parameters:
firmwareVersion- the firmwareVersion to set
-
getIccid
- Returns:
- the iccid
-
setIccid
- Parameters:
iccid- the iccid to set
-
getImsi
- Returns:
- the imsi
-
setImsi
- Parameters:
imsi- the imsi to set
-
getMeterType
- Returns:
- the meterType
-
setMeterType
- Parameters:
meterType- the meterType to set
-
getMeterSerialNumber
- Returns:
- the meterSerialNumber
-
setMeterSerialNumber
- Parameters:
meterSerialNumber- the meterSerialNumber to set
-