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
Modifier and Type Method Description booleanisDeleted()voidsetDeleted(boolean deleted)java.lang.StringtoString()Methods inherited from class com.github.collinalpert.java2db.entities.BaseEntity
equals, getId, hashCode, setId
-
Constructor Details
-
BaseDeletableEntity
public BaseDeletableEntity()
-
-
Method Details
-
isDeleted
public boolean isDeleted() -
setDeleted
public void setDeleted(boolean deleted) -
toString
public java.lang.String toString()- Overrides:
toStringin classBaseEntity
-