Class AbstractEntity

java.lang.Object
fr.tiogars.architecture.create.entities.AbstractEntity

public class AbstractEntity extends Object
Base class for entities with an ID field.
  • Constructor Details

    • AbstractEntity

      public AbstractEntity()
      Constructor for AbstractEntity.
  • Method Details

    • setId

      public void setId(Long id)
      Sets the unique identifier for the entity.
      Parameters:
      id - the unique identifier to set
    • getId

      public Long getId()
      Returns the unique identifier of the entity.
      Returns:
      the unique identifier