Package org.chenile.utils.entity.model
Class AbstractExtendedStateEntity
java.lang.Object
org.chenile.utils.entity.model.BaseEntity
org.chenile.utils.entity.model.AbstractExtendedStateEntity
- All Implemented Interfaces:
Serializable
,StateEntity
,ChenileEntity
,ExtendedStateEntity
Non JPA version of Extended State Entity. Use it if you don't want the JPA annotations.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
setCurrentState
(State currentState) void
setSlaLate
(int slaLate) void
setSlaTendingLate
(int slaTendingLate) void
setStateEntryTime
(Date stateEntryTime) Methods inherited from class org.chenile.utils.entity.model.BaseEntity
getCreatedBy, getCreatedTime, getId, getLastModifiedBy, getLastModifiedTime, getVersion, setCreatedBy, setCreatedTime, setId, setLastModifiedBy, setLastModifiedTime, setVersion, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.chenile.utils.entity.model.ChenileEntity
getCreatedBy, getCreatedTime, getId, getLastModifiedBy, getLastModifiedTime, getVersion, setCreatedBy, setCreatedTime, setId, setLastModifiedBy, setLastModifiedTime, setVersion
-
Field Details
-
state
-
stateEntryTime
-
slaTendingLate
private int slaTendingLate -
slaLate
private int slaLate
-
-
Constructor Details
-
AbstractExtendedStateEntity
public AbstractExtendedStateEntity()
-
-
Method Details
-
setCurrentState
- Specified by:
setCurrentState
in interfaceStateEntity
-
getCurrentState
- Specified by:
getCurrentState
in interfaceStateEntity
-
getStateEntryTime
- Specified by:
getStateEntryTime
in interfaceExtendedStateEntity
-
setStateEntryTime
- Specified by:
setStateEntryTime
in interfaceExtendedStateEntity
-
getSlaTendingLate
public int getSlaTendingLate()- Specified by:
getSlaTendingLate
in interfaceExtendedStateEntity
-
setSlaTendingLate
public void setSlaTendingLate(int slaTendingLate) - Specified by:
setSlaTendingLate
in interfaceExtendedStateEntity
-
getSlaLate
public int getSlaLate()- Specified by:
getSlaLate
in interfaceExtendedStateEntity
-
setSlaLate
public void setSlaLate(int slaLate) - Specified by:
setSlaLate
in interfaceExtendedStateEntity
-