Class ClassificationSummaryImpl
- java.lang.Object
-
- pro.taskana.classification.internal.models.ClassificationSummaryImpl
-
- All Implemented Interfaces:
ClassificationSummary
- Direct Known Subclasses:
ClassificationImpl
public class ClassificationSummaryImpl extends Object implements ClassificationSummary
Implementation for the short summaries of a classification entity.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringapplicationEntryPointprotected Stringcategoryprotected Stringcustom1protected Stringcustom2protected Stringcustom3protected Stringcustom4protected Stringcustom5protected Stringcustom6protected Stringcustom7protected Stringcustom8protected Stringdomainprotected Stringidprotected Stringkeyprotected Stringnameprotected StringparentIdprotected StringparentKeyprotected intpriorityprotected StringserviceLevelprotected Stringtype
-
Constructor Summary
Constructors Modifier Constructor Description ClassificationSummaryImpl()protectedClassificationSummaryImpl(ClassificationSummaryImpl copyFrom)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleancanEqual(Object other)ClassificationSummaryImplcopy()Duplicates this ClassificationSummary without the id.booleanequals(Object obj)StringgetApplicationEntryPoint()Gets the application entry point of the classification.StringgetCategory()Gets the category of the classification.StringgetCustom1()StringgetCustom2()StringgetCustom3()StringgetCustom4()StringgetCustom5()StringgetCustom6()StringgetCustom7()StringgetCustom8()StringgetCustomAttribute(ClassificationCustomField customField)Deprecated.StringgetCustomField(ClassificationCustomField customField)Gets the custom field of the classification.StringgetDomain()Gets the domain of the classification.StringgetId()Gets the id of the classification.StringgetKey()Gets the key of the classification.StringgetName()Gets the name of the classification.StringgetParentId()Gets the ID of the parent classification.StringgetParentKey()Gets the key of the parent classification.intgetPriority()Gets the priority of the classification.StringgetServiceLevel()Gets the service level of the classification.StringgetType()Gets the type of the classification.inthashCode()voidsetApplicationEntryPoint(String applicationEntryPoint)voidsetCategory(String category)voidsetCustom1(String custom1)voidsetCustom2(String custom2)voidsetCustom3(String custom3)voidsetCustom4(String custom4)voidsetCustom5(String custom5)voidsetCustom6(String custom6)voidsetCustom7(String custom7)voidsetCustom8(String custom8)voidsetDomain(String domain)voidsetId(String id)voidsetKey(String key)voidsetName(String name)voidsetParentId(String parentId)voidsetParentKey(String parentKey)voidsetPriority(int priority)voidsetServiceLevel(String serviceLevel)voidsetType(String type)StringtoString()
-
-
-
Field Detail
-
id
protected String id
-
applicationEntryPoint
protected String applicationEntryPoint
-
category
protected String category
-
domain
protected String domain
-
key
protected String key
-
name
protected String name
-
parentId
protected String parentId
-
parentKey
protected String parentKey
-
priority
protected int priority
-
serviceLevel
protected String serviceLevel
-
type
protected String type
-
custom1
protected String custom1
-
custom2
protected String custom2
-
custom3
protected String custom3
-
custom4
protected String custom4
-
custom5
protected String custom5
-
custom6
protected String custom6
-
custom7
protected String custom7
-
custom8
protected String custom8
-
-
Constructor Detail
-
ClassificationSummaryImpl
public ClassificationSummaryImpl()
-
ClassificationSummaryImpl
protected ClassificationSummaryImpl(ClassificationSummaryImpl copyFrom)
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:ClassificationSummaryGets the id of the classification.- Specified by:
getIdin interfaceClassificationSummary- Returns:
- classificationId
-
setId
public void setId(String id)
-
getKey
public String getKey()
Description copied from interface:ClassificationSummaryGets the key of the classification.- Specified by:
getKeyin interfaceClassificationSummary- Returns:
- classificationKey
-
setKey
public void setKey(String key)
-
getCategory
public String getCategory()
Description copied from interface:ClassificationSummaryGets the category of the classification.- Specified by:
getCategoryin interfaceClassificationSummary- Returns:
- classificationCategory
-
setCategory
public void setCategory(String category)
-
getType
public String getType()
Description copied from interface:ClassificationSummaryGets the type of the classification.- Specified by:
getTypein interfaceClassificationSummary- Returns:
- classificationType
-
setType
public void setType(String type)
-
getDomain
public String getDomain()
Description copied from interface:ClassificationSummaryGets the domain of the classification.- Specified by:
getDomainin interfaceClassificationSummary- Returns:
- classificationDomain
-
setDomain
public void setDomain(String domain)
-
getName
public String getName()
Description copied from interface:ClassificationSummaryGets the name of the classification.- Specified by:
getNamein interfaceClassificationSummary- Returns:
- classificationName
-
setName
public void setName(String name)
-
getParentId
public String getParentId()
Description copied from interface:ClassificationSummaryGets the ID of the parent classification.- Specified by:
getParentIdin interfaceClassificationSummary- Returns:
- parentId
-
setParentId
public void setParentId(String parentId)
-
getParentKey
public String getParentKey()
Description copied from interface:ClassificationSummaryGets the key of the parent classification.- Specified by:
getParentKeyin interfaceClassificationSummary- Returns:
- parentKey
-
setParentKey
public void setParentKey(String parentKey)
-
getServiceLevel
public String getServiceLevel()
Description copied from interface:ClassificationSummaryGets the service level of the classification. It is a String in ISO-8601 duration format. See the parse() method ofDurationfor details.- Specified by:
getServiceLevelin interfaceClassificationSummary- Returns:
- the service level
-
setServiceLevel
public void setServiceLevel(String serviceLevel)
-
getApplicationEntryPoint
public String getApplicationEntryPoint()
Description copied from interface:ClassificationSummaryGets the application entry point of the classification.- Specified by:
getApplicationEntryPointin interfaceClassificationSummary- Returns:
- the application entry point
-
setApplicationEntryPoint
public void setApplicationEntryPoint(String applicationEntryPoint)
-
getPriority
public int getPriority()
Description copied from interface:ClassificationSummaryGets the priority of the classification.- Specified by:
getPriorityin interfaceClassificationSummary- Returns:
- the priority
-
setPriority
public void setPriority(int priority)
-
getCustomAttribute
@Deprecated public String getCustomAttribute(ClassificationCustomField customField)
Deprecated.Description copied from interface:ClassificationSummaryGets the custom attribute of the classification.- Specified by:
getCustomAttributein interfaceClassificationSummary- Parameters:
customField- identifies which custom attribute is requested.- Returns:
- the value for the given customField
-
getCustomField
public String getCustomField(ClassificationCustomField customField)
Description copied from interface:ClassificationSummaryGets the custom field of the classification.- Specified by:
getCustomFieldin interfaceClassificationSummary- Parameters:
customField- identifies which custom field is requested.- Returns:
- the value for the given custom field
-
copy
public ClassificationSummaryImpl copy()
Description copied from interface:ClassificationSummaryDuplicates this ClassificationSummary without the id.- Specified by:
copyin interfaceClassificationSummary- Returns:
- a copy of this ClassificationSummary
-
getCustom1
public String getCustom1()
-
setCustom1
public void setCustom1(String custom1)
-
getCustom2
public String getCustom2()
-
setCustom2
public void setCustom2(String custom2)
-
getCustom3
public String getCustom3()
-
setCustom3
public void setCustom3(String custom3)
-
getCustom4
public String getCustom4()
-
setCustom4
public void setCustom4(String custom4)
-
getCustom5
public String getCustom5()
-
setCustom5
public void setCustom5(String custom5)
-
getCustom6
public String getCustom6()
-
setCustom6
public void setCustom6(String custom6)
-
getCustom7
public String getCustom7()
-
setCustom7
public void setCustom7(String custom7)
-
getCustom8
public String getCustom8()
-
setCustom8
public void setCustom8(String custom8)
-
canEqual
protected boolean canEqual(Object other)
-
-