Package org.bgerp.model.base

# 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`, `PartyPayment`, `Processor`, `Task`, `UserCard`, `UserInfo`

public class Id extends Object implements Serializable, Id<Integer>
Basic entity with unique integer ID.

See Also:
  - Serialized Form

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected int`
  `id`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Id()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object obj)`
  `Integer`
  `getId()`
  `int`
  `hashCode()`
  `void`
  `setId(int value)`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- ## 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`