Class IdBasedEntityDto<T extends IdBasedEntity>

java.lang.Object
com.foreach.across.modules.hibernate.dto.IdBasedEntityDto<T>

@Deprecated public class IdBasedEntityDto<T extends IdBasedEntity> extends Object
Deprecated.
Base DTO that provides a long id that can be used to insert ids manually.
Author:
Arne Vandamme
  • Constructor Details

    • IdBasedEntityDto

      public IdBasedEntityDto()
      Deprecated.
  • Method Details

    • getId

      public long getId()
      Deprecated.
    • setId

      public void setId(long id)
      Deprecated.
    • isNewEntity

      public boolean isNewEntity()
      Deprecated.
    • setNewEntity

      public void setNewEntity(boolean newEntity)
      Deprecated.
    • copyFrom

      public void copyFrom(T source)
      Deprecated.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object