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()Returns the applicationEntryPoint of the Classification.StringgetCategory()Returns the category of the Classification.StringgetCustom1()StringgetCustom2()StringgetCustom3()StringgetCustom4()StringgetCustom5()StringgetCustom6()StringgetCustom7()StringgetCustom8()StringgetCustomAttribute(ClassificationCustomField customField)Deprecated.StringgetCustomField(ClassificationCustomField customField)Returns the value of the specified ClassificationCustomField of the classification.StringgetDomain()Returns the domain of the Classification.StringgetId()Returns the id of the Classification.StringgetKey()Returns the key of the Classification.StringgetName()Returns the name of the Classification.StringgetParentId()Returns the id of the parent Classification.StringgetParentKey()Returns the key of the parent Classification.intgetPriority()Returns the priority of the Classification.StringgetServiceLevel()Returns the serviceLevel of the Classification.StringgetType()Returns 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:ClassificationSummaryReturns the id of the Classification.- Specified by:
getIdin interfaceClassificationSummary- Returns:
- the id of the Classification
-
setId
public void setId(String id)
-
getKey
public String getKey()
Description copied from interface:ClassificationSummaryReturns the key of the Classification.- Specified by:
getKeyin interfaceClassificationSummary- Returns:
- the key of the Classification
-
setKey
public void setKey(String key)
-
getCategory
public String getCategory()
Description copied from interface:ClassificationSummaryReturns the category of the Classification.- Specified by:
getCategoryin interfaceClassificationSummary- Returns:
- the category of the Classification
-
setCategory
public void setCategory(String category)
-
getType
public String getType()
Description copied from interface:ClassificationSummaryReturns the type of the Classification.- Specified by:
getTypein interfaceClassificationSummary- Returns:
- the type of the Classification
-
setType
public void setType(String type)
-
getDomain
public String getDomain()
Description copied from interface:ClassificationSummaryReturns the domain of the Classification.- Specified by:
getDomainin interfaceClassificationSummary- Returns:
- the domain of the Classification
-
setDomain
public void setDomain(String domain)
-
getName
public String getName()
Description copied from interface:ClassificationSummaryReturns the name of the Classification.- Specified by:
getNamein interfaceClassificationSummary- Returns:
- the name of the Classification
-
setName
public void setName(String name)
-
getParentId
public String getParentId()
Description copied from interface:ClassificationSummaryReturns 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:ClassificationSummaryReturns 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:ClassificationSummaryReturns the serviceLevel of the Classification. It is a String in ISO-8601 duration format. See the parse() method ofDurationfor details.- Specified by:
getServiceLevelin interfaceClassificationSummary- Returns:
- serviceLevel
-
setServiceLevel
public void setServiceLevel(String serviceLevel)
-
getApplicationEntryPoint
public String getApplicationEntryPoint()
Description copied from interface:ClassificationSummaryReturns the applicationEntryPoint of the Classification.- Specified by:
getApplicationEntryPointin interfaceClassificationSummary- Returns:
- applicationEntryPoint
-
setApplicationEntryPoint
public void setApplicationEntryPoint(String applicationEntryPoint)
-
getPriority
public int getPriority()
Description copied from interface:ClassificationSummaryReturns the priority of the Classification.- Specified by:
getPriorityin interfaceClassificationSummary- Returns:
- priority
-
setPriority
public void setPriority(int priority)
-
getCustomAttribute
@Deprecated public String getCustomAttribute(ClassificationCustomField customField)
Deprecated.Description copied from interface:ClassificationSummaryReturns the value of the specified ClassificationCustomField of the Classification.- Specified by:
getCustomAttributein interfaceClassificationSummary- Parameters:
customField- identifies which ClassificationCustomField is requested- Returns:
- the value for the given ClassificationCustomField
-
getCustomField
public String getCustomField(ClassificationCustomField customField)
Description copied from interface:ClassificationSummaryReturns the value of the specified ClassificationCustomField of the classification.- Specified by:
getCustomFieldin interfaceClassificationSummary- Parameters:
customField- identifies which ClassificationCustomField is requested- Returns:
- the value for the given ClassificationCustomField
-
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)
-
-