Class CaseModel
java.lang.Object
com.aquima.interactions.process.dao.impl.CaseModel
- All Implemented Interfaces:
com.aquima.interactions.process.dao.ICaseModel
,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCaseModel
(long id, String applicationId, String name, com.aquima.interactions.process.dao.CaseStatusType status, String lockedBy, com.aquima.interactions.foundation.types.DateTimeValue creationDate, com.aquima.interactions.foundation.text.IMultilingualText displayName, List<com.aquima.interactions.process.dao.ICaseDataInstance> instances) -
Method Summary
Modifier and TypeMethodDescriptioncom.aquima.interactions.foundation.types.DateTimeValue
com.aquima.interactions.foundation.text.IMultilingualText
getDisplayName
(String languageCode) long
getId()
List
<com.aquima.interactions.process.dao.ICaseDataInstance> getName()
com.aquima.interactions.process.dao.CaseStatusType
void
setCreationDate
(com.aquima.interactions.foundation.types.DateTimeValue creationDate) final void
setDisplayName
(com.aquima.interactions.foundation.text.IMultilingualText displayName) void
setInstances
(List<com.aquima.interactions.process.dao.ICaseDataInstance> instances) void
setLockedBy
(String lockedBy) void
void
setStatus
(com.aquima.interactions.process.dao.CaseStatusType status)
-
Constructor Details
-
CaseModel
public CaseModel(long id, String applicationId, String name, com.aquima.interactions.process.dao.CaseStatusType status, String lockedBy, com.aquima.interactions.foundation.types.DateTimeValue creationDate, com.aquima.interactions.foundation.text.IMultilingualText displayName, List<com.aquima.interactions.process.dao.ICaseDataInstance> instances) -
CaseModel
-
-
Method Details
-
getId
public long getId()- Specified by:
getId
in interfacecom.aquima.interactions.process.dao.ICaseModel
-
getApplicationId
- Specified by:
getApplicationId
in interfacecom.aquima.interactions.process.dao.ICaseModel
-
getName
- Specified by:
getName
in interfacecom.aquima.interactions.process.dao.ICaseModel
-
setName
-
getStatus
public com.aquima.interactions.process.dao.CaseStatusType getStatus()- Specified by:
getStatus
in interfacecom.aquima.interactions.process.dao.ICaseModel
-
setStatus
public void setStatus(com.aquima.interactions.process.dao.CaseStatusType status) -
getLockedBy
- Specified by:
getLockedBy
in interfacecom.aquima.interactions.process.dao.ICaseModel
-
setLockedBy
-
getCreationDate
public com.aquima.interactions.foundation.types.DateTimeValue getCreationDate()- Specified by:
getCreationDate
in interfacecom.aquima.interactions.process.dao.ICaseModel
-
setCreationDate
public void setCreationDate(com.aquima.interactions.foundation.types.DateTimeValue creationDate) -
duplicate
-
setDisplayName
public final void setDisplayName(com.aquima.interactions.foundation.text.IMultilingualText displayName) -
getDisplayName
- Parameters:
languageCode
- if null, returns the default display name(the one with no language code in the DB)- Returns:
- the
AbstractDisplayNameModel
for the specific language code or for the default value if there is no description for the specific language, or null
-
getDisplayName
public com.aquima.interactions.foundation.text.IMultilingualText getDisplayName()- Specified by:
getDisplayName
in interfacecom.aquima.interactions.process.dao.ICaseModel
-
getInstances
- Specified by:
getInstances
in interfacecom.aquima.interactions.process.dao.ICaseModel
-
setInstances
-
getDisplayNames
-