Class BaseDeletableEntity
- java.lang.Object
-
- com.github.collinalpert.java2db.entities.BaseEntity
-
- com.github.collinalpert.java2db.entities.BaseDeletableEntity
-
- Direct Known Subclasses:
BaseCodeAndDescriptionDeletableEntity
public class BaseDeletableEntity extends BaseEntity
Describes an entity that has an id and an isDeleted flag.- Author:
- Collin Alpert
-
-
Constructor Summary
Constructors Constructor Description BaseDeletableEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisDeleted()voidsetDeleted(boolean deleted)java.lang.StringtoString()-
Methods inherited from class com.github.collinalpert.java2db.entities.BaseEntity
getId, setId
-
-
-
-
Method Detail
-
isDeleted
public boolean isDeleted()
-
setDeleted
public void setDeleted(boolean deleted)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBaseEntity
-
-