Class ChargePointInfo

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

public class ChargePointInfo extends Object
Information about a Charge Point.
Version:
1.0
Author:
matt
  • Constructor Details

    • ChargePointInfo

      public ChargePointInfo()
      Constructor.
    • ChargePointInfo

      public ChargePointInfo(String id)
      Constructor.
      Parameters:
      id - the ID to use
    • ChargePointInfo

      public ChargePointInfo(String id, String chargePointVendor, String chargePointModel)
      Constructor.
      Parameters:
      id - the ID to use
      chargePointVendor - the vendor
      chargePointModel - the model
    • ChargePointInfo

      public ChargePointInfo(ChargePointInfo other)
      Copy constructor.
      Parameters:
      other - the info to copy
  • Method Details

    • copyFrom

      public void copyFrom(ChargePointInfo other)
      Copy the properties of another info onto this instance.
      Parameters:
      other - the properties to copy
    • isSameAs

      public boolean isSameAs(ChargePointInfo other)
      Test if the properties of another info are the same as in this instance.

      The id properties 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

      public String toString()
      Overrides:
      toString in class Object
    • getId

      public String getId()
      Get the unique ID of the charge point.
      Returns:
      the id
    • setId

      public void setId(String id)
      Set the unique ID of the charge point.
      Parameters:
      id - the id to set
    • getChargePointVendor

      public String getChargePointVendor()
      Returns:
      the chargePointVendor
    • setChargePointVendor

      public void setChargePointVendor(String chargePointVendor)
      Parameters:
      chargePointVendor - the chargePointVendor to set
    • getChargePointModel

      public String getChargePointModel()
      Returns:
      the chargePointModel
    • setChargePointModel

      public void setChargePointModel(String chargePointModel)
      Parameters:
      chargePointModel - the chargePointModel to set
    • getChargePointSerialNumber

      public String getChargePointSerialNumber()
      Returns:
      the chargePointSerialNumber
    • setChargePointSerialNumber

      public void setChargePointSerialNumber(String chargePointSerialNumber)
      Parameters:
      chargePointSerialNumber - the chargePointSerialNumber to set
    • getChargeBoxSerialNumber

      public String getChargeBoxSerialNumber()
      Returns:
      the chargeBoxSerialNumber
    • setChargeBoxSerialNumber

      public void setChargeBoxSerialNumber(String chargeBoxSerialNumber)
      Parameters:
      chargeBoxSerialNumber - the chargeBoxSerialNumber to set
    • getFirmwareVersion

      public String getFirmwareVersion()
      Returns:
      the firmwareVersion
    • setFirmwareVersion

      public void setFirmwareVersion(String firmwareVersion)
      Parameters:
      firmwareVersion - the firmwareVersion to set
    • getIccid

      public String getIccid()
      Returns:
      the iccid
    • setIccid

      public void setIccid(String iccid)
      Parameters:
      iccid - the iccid to set
    • getImsi

      public String getImsi()
      Returns:
      the imsi
    • setImsi

      public void setImsi(String imsi)
      Parameters:
      imsi - the imsi to set
    • getMeterType

      public String getMeterType()
      Returns:
      the meterType
    • setMeterType

      public void setMeterType(String meterType)
      Parameters:
      meterType - the meterType to set
    • getMeterSerialNumber

      public String getMeterSerialNumber()
      Returns:
      the meterSerialNumber
    • setMeterSerialNumber

      public void setMeterSerialNumber(String meterSerialNumber)
      Parameters:
      meterSerialNumber - the meterSerialNumber to set