Package br.com.jarch.crud.entity
Class BaseEntity
- java.lang.Object
-
- br.com.jarch.model.Identity
-
- br.com.jarch.crud.entity.BaseEntity
-
- All Implemented Interfaces:
IBaseEntity
,IIdentity
,IMenuActionList
,java.io.Serializable
,java.lang.Comparable<Identity>
- Direct Known Subclasses:
BaseMultiTenantEntity
,CrudEntity
,CrudPessimisticEntity
,RegistryAuditEntity
@JArchJsonOnlyFields @MappedSuperclass public abstract class BaseEntity extends Identity implements IBaseEntity, java.lang.Comparable<Identity>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Identity anotherInstance)
boolean
equals(java.lang.Object anotherInstance)
java.lang.String
getDescriptionCollection()
java.util.Optional<TaskBean>
getTask()
int
hashCode()
boolean
isEndTaskWorkFlow()
boolean
isSelecionado()
boolean
isStartedWorkFlow()
void
setEndTaskWorkFlow(boolean endTaskWorkFlow)
void
setSelecionado(boolean selecionado)
void
setTask(TaskBean taskBean)
java.lang.String
toString()
-
Methods inherited from class br.com.jarch.model.Identity
getCodigoLookup, getDescriptionLookup, getId, getLogicFrom, isDisabledMenuChange, isDisabledMenuClone, isDisabledMenuConsult, isDisabledMenuDelete, isVisibleMenuChange, isVisibleMenuClone, isVisibleMenuConsult, isVisibleMenuDelete, setId, setLogicFrom
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface br.com.jarch.model.IBaseEntity
getId, setId
-
Methods inherited from interface br.com.jarch.model.IIdentity
getCodigoLookup, getDescriptionLookup, getLogicFrom, getRowKey, setLogicFrom
-
Methods inherited from interface br.com.jarch.model.IMenuActionList
isDisabledMenuChange, isDisabledMenuClone, isDisabledMenuConsult, isDisabledMenuDelete, isVisibleMenuChange, isVisibleMenuClone, isVisibleMenuConsult, isVisibleMenuDelete
-
-
-
-
Method Detail
-
isStartedWorkFlow
public boolean isStartedWorkFlow()
- Specified by:
isStartedWorkFlow
in interfaceIBaseEntity
-
getTask
public java.util.Optional<TaskBean> getTask()
- Specified by:
getTask
in interfaceIBaseEntity
-
setTask
public void setTask(TaskBean taskBean)
- Specified by:
setTask
in interfaceIBaseEntity
-
isEndTaskWorkFlow
public boolean isEndTaskWorkFlow()
- Specified by:
isEndTaskWorkFlow
in interfaceIBaseEntity
-
setEndTaskWorkFlow
public void setEndTaskWorkFlow(boolean endTaskWorkFlow)
- Specified by:
setEndTaskWorkFlow
in interfaceIBaseEntity
-
isSelecionado
public boolean isSelecionado()
- Specified by:
isSelecionado
in interfaceIBaseEntity
-
setSelecionado
public void setSelecionado(boolean selecionado)
- Specified by:
setSelecionado
in interfaceIBaseEntity
-
getDescriptionCollection
public java.lang.String getDescriptionCollection()
- Specified by:
getDescriptionCollection
in interfaceIIdentity
- Overrides:
getDescriptionCollection
in classIdentity
-
compareTo
public int compareTo(Identity anotherInstance)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-