Class ChargePointConnector

java.lang.Object
net.solarnetwork.dao.BasicIdentity<K>
net.solarnetwork.dao.BasicEntity<ChargePointConnectorKey>
net.solarnetwork.ocpp.domain.ChargePointConnector
All Implemented Interfaces:
Serializable, Comparable<ChargePointConnectorKey>, net.solarnetwork.dao.Entity<ChargePointConnectorKey>, net.solarnetwork.domain.Identity<ChargePointConnectorKey>

public class ChargePointConnector extends net.solarnetwork.dao.BasicEntity<ChargePointConnectorKey>
A Charge Point connector entity.

A connector ID of 0 represents the Charge Point as a whole.

Version:
1.1
Author:
matt
See Also:
  • Constructor Details

    • ChargePointConnector

      public ChargePointConnector()
      Constructor.
    • ChargePointConnector

      public ChargePointConnector(ChargePointConnectorKey id)
      Constructor.
      Parameters:
      id - the primary key
    • ChargePointConnector

      public ChargePointConnector(ChargePointConnectorKey id, Instant created)
      Constructor.
      Parameters:
      id - the primary key
      created - the created date
    • ChargePointConnector

      public ChargePointConnector(ChargePointConnector other)
      Copy constructor.
      Parameters:
      other - the other charge point to copy
  • Method Details

    • isSameAs

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

      The id and created properties are not compared by this method.

      Parameters:
      other - the other entity to compare to
      Returns:
      true if the properties of this instance are equal to the other
    • getInfo

      public StatusNotification getInfo()
      Get the status info.
      Returns:
      the info
    • setInfo

      public void setInfo(StatusNotification info)
      Set the status info.
      Parameters:
      info - the info to set