Class ClassificationImpl
java.lang.Object
pro.taskana.classification.internal.models.ClassificationSummaryImpl
pro.taskana.classification.internal.models.ClassificationImpl
- All Implemented Interfaces:
Classification,ClassificationSummary
Classification entity.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn a summary of the Classification.protected booleanDuplicates the Classification without the id.booleanReturns the applicationEntryPoint of the Classification.Returns the time when the Classification was created.Returns the description of the Classification.Returns whether the Classification is currently valid in the used domain.Returns the time when the Classification was modified the last time.inthashCode()voidsetApplicationEntryPoint(String applicationEntryPoint) Sets the logical name of the associated applicationEntryPoint of the Classification.voidsetCreated(Instant created) voidsetCustomAttribute(ClassificationCustomField customField, String value) Deprecated.voidsetCustomField(ClassificationCustomField customField, String value) Sets the value for ClassificationCustomField.voidsetDescription(String description) Sets/Changes the description of the Classification.voidsetIsValidInDomain(Boolean isValidInDomain) Sets/Changes the flag which marks the Classification as valid/invalid in the currently used domain.voidsetModified(Instant modified) toString()Methods inherited from class pro.taskana.classification.internal.models.ClassificationSummaryImpl
copy, getCategory, getCustom1, getCustom2, getCustom3, getCustom4, getCustom5, getCustom6, getCustom7, getCustom8, getCustomAttribute, getCustomField, getDomain, getId, getKey, getName, getParentId, getParentKey, getPriority, getServiceLevel, getType, setCategory, setCustom1, setCustom2, setCustom3, setCustom4, setCustom5, setCustom6, setCustom7, setCustom8, setDomain, setId, setKey, setName, setParentId, setParentKey, setPriority, setServiceLevel, setTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface pro.taskana.classification.api.models.Classification
getDomain, setCategory, setName, setParentId, setParentKey, setPriority, setServiceLevelMethods inherited from interface pro.taskana.classification.api.models.ClassificationSummary
copy, getCategory, getCustomAttribute, getCustomField, getId, getKey, getName, getParentId, getParentKey, getPriority, getServiceLevel, getType
-
Constructor Details
-
ClassificationImpl
public ClassificationImpl()
-
-
Method Details
-
getApplicationEntryPoint
Description copied from interface:ClassificationSummaryReturns the applicationEntryPoint of the Classification.- Specified by:
getApplicationEntryPointin interfaceClassification- Specified by:
getApplicationEntryPointin interfaceClassificationSummary- Overrides:
getApplicationEntryPointin classClassificationSummaryImpl- Returns:
- applicationEntryPoint
-
setApplicationEntryPoint
Description copied from interface:ClassificationSets the logical name of the associated applicationEntryPoint of the Classification.- Specified by:
setApplicationEntryPointin interfaceClassification- Overrides:
setApplicationEntryPointin classClassificationSummaryImpl- Parameters:
applicationEntryPoint- the applicationEntryPoint
-
copy
Description copied from interface:ClassificationDuplicates the Classification without the id.- Specified by:
copyin interfaceClassification- Parameters:
key- for the new Classification- Returns:
- a copy of this Classification
-
getIsValidInDomain
Description copied from interface:ClassificationReturns whether the Classification is currently valid in the used domain.- Specified by:
getIsValidInDomainin interfaceClassification- Returns:
- isValidInDomain
-
setIsValidInDomain
Description copied from interface:ClassificationSets/Changes the flag which marks the Classification as valid/invalid in the currently used domain.- Specified by:
setIsValidInDomainin interfaceClassification- Parameters:
isValidInDomain- flag
-
getCreated
Description copied from interface:ClassificationReturns the time when the Classification was created.- Specified by:
getCreatedin interfaceClassification- Returns:
- the time of creation as Instant
-
setCreated
-
getModified
Description copied from interface:ClassificationReturns the time when the Classification was modified the last time.- Specified by:
getModifiedin interfaceClassification- Returns:
- the time of last modification as Instant
-
setModified
-
getDescription
Description copied from interface:ClassificationReturns the description of the Classification.- Specified by:
getDescriptionin interfaceClassification- Returns:
- description
-
setDescription
Description copied from interface:ClassificationSets/Changes the description of the Classification.- Specified by:
setDescriptionin interfaceClassification- Parameters:
description- the description of the Classification
-
setCustomAttribute
Deprecated.Description copied from interface:ClassificationSets the value for the specified ClassificationCustomField.- Specified by:
setCustomAttributein interfaceClassification- Parameters:
customField- the ClassificationCustomField identifies which custom attribute is to be setvalue- the value of the ClassificationCustomField to be set
-
setCustomField
Description copied from interface:ClassificationSets the value for ClassificationCustomField.- Specified by:
setCustomFieldin interfaceClassification- Parameters:
customField- identifies which ClassificationCustomField is to be setvalue- the value of the ClassificationCustomField to be set
-
asSummary
Description copied from interface:ClassificationReturn a summary of the Classification.- Specified by:
asSummaryin interfaceClassification- Returns:
- the ClassificationSummary object for the current Classification
-
canEqual
- Overrides:
canEqualin classClassificationSummaryImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classClassificationSummaryImpl
-
equals
- Overrides:
equalsin classClassificationSummaryImpl
-
toString
- Overrides:
toStringin classClassificationSummaryImpl
-