Class Id

java.lang.Object
org.bgerp.model.base.Id
All Implemented Interfaces:
Serializable, Id<Integer>
Direct Known Subclasses:
ActionLogEntry, Contact, ContractPayment, ContractPersonalTariff, ContractService, ContractStatus, ContractTariff, ContractTariffGroup, ContractTariffOption, Document, Document, HdMessage, IdTitle, IdTitled, Invoice, LimitChangeTask, Message, News, PartyPayment, Process, Processor, Task, UserCard

public class Id extends Object implements Serializable, Id<Integer>
Basic entity with unique integer ID.
See Also:
  • Field Details

    • id

      protected int id
  • Constructor Details

    • Id

      public Id()
  • Method Details

    • getId

      public Integer getId()
      Specified by:
      getId in interface Id<Integer>
    • setId

      public void setId(int value)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object