Class WorkbasketSummaryImpl
- java.lang.Object
-
- pro.taskana.workbasket.internal.models.WorkbasketSummaryImpl
-
- All Implemented Interfaces:
WorkbasketSummary
- Direct Known Subclasses:
WorkbasketImpl
public class WorkbasketSummaryImpl extends Object implements WorkbasketSummary
This entity contains the most important information about a workbasket.
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcustom1protected Stringcustom2protected Stringcustom3protected Stringcustom4protected Stringdescriptionprotected Stringdomainprotected Stringidprotected Stringkeyprotected booleanmarkedForDeletionprotected Stringnameprotected StringorgLevel1protected StringorgLevel2protected StringorgLevel3protected StringorgLevel4protected Stringownerprotected WorkbasketTypetype
-
Constructor Summary
Constructors Modifier Constructor Description WorkbasketSummaryImpl()protectedWorkbasketSummaryImpl(WorkbasketSummaryImpl copyFrom)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)WorkbasketSummaryImplcopy()Duplicates this WorkbasketSummary without the id.booleanequals(Object obj)StringgetCustom1()StringgetCustom2()StringgetCustom3()StringgetCustom4()StringgetCustomAttribute(WorkbasketCustomField customField)Gets the custom attribute of the workbasket.StringgetDescription()Gets the description of the workbasket.StringgetDomain()Gets the domain of the workbasket.StringgetId()Gets the id of the workbasket.StringgetKey()Gets the key of the workbasket.StringgetName()Gets the name of the workbasket.StringgetOrgLevel1()Gets the orglevel1 property of the workbasket.StringgetOrgLevel2()Gets the orglevel2 property of the workbasket.StringgetOrgLevel3()Gets the orglevel3 property of the workbasket.StringgetOrgLevel4()Gets the orglevel4 property of the workbasket.StringgetOwner()Gets the owner of the workbasket.WorkbasketTypegetType()Gets the type of the workbasket.inthashCode()booleanisMarkedForDeletion()Gets the markedForDeletion property of the workbasket.voidsetCustom1(String custom1)voidsetCustom2(String custom2)voidsetCustom3(String custom3)voidsetCustom4(String custom4)voidsetDescription(String description)voidsetDomain(String domain)voidsetId(String id)voidsetKey(String key)voidsetMarkedForDeletion(boolean markedForDeletion)voidsetName(String name)voidsetOrgLevel1(String orgLevel1)voidsetOrgLevel2(String orgLevel2)voidsetOrgLevel3(String orgLevel3)voidsetOrgLevel4(String orgLevel4)voidsetOwner(String owner)voidsetType(WorkbasketType type)StringtoString()
-
-
-
Field Detail
-
id
protected String id
-
key
protected String key
-
name
protected String name
-
description
protected String description
-
owner
protected String owner
-
domain
protected String domain
-
type
protected WorkbasketType type
-
custom1
protected String custom1
-
custom2
protected String custom2
-
custom3
protected String custom3
-
custom4
protected String custom4
-
orgLevel1
protected String orgLevel1
-
orgLevel2
protected String orgLevel2
-
orgLevel3
protected String orgLevel3
-
orgLevel4
protected String orgLevel4
-
markedForDeletion
protected boolean markedForDeletion
-
-
Constructor Detail
-
WorkbasketSummaryImpl
public WorkbasketSummaryImpl()
-
WorkbasketSummaryImpl
protected WorkbasketSummaryImpl(WorkbasketSummaryImpl copyFrom)
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:WorkbasketSummaryGets the id of the workbasket.- Specified by:
getIdin interfaceWorkbasketSummary- Returns:
- workbasketId
-
setId
public void setId(String id)
-
getKey
public String getKey()
Description copied from interface:WorkbasketSummaryGets the key of the workbasket.- Specified by:
getKeyin interfaceWorkbasketSummary- Returns:
- workbasketKey
-
setKey
public void setKey(String key)
-
getName
public String getName()
Description copied from interface:WorkbasketSummaryGets the name of the workbasket.- Specified by:
getNamein interfaceWorkbasketSummary- Returns:
- workbasket's name
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
Description copied from interface:WorkbasketSummaryGets the description of the workbasket.- Specified by:
getDescriptionin interfaceWorkbasketSummary- Returns:
- workbasket's description
-
setDescription
public void setDescription(String description)
-
getOwner
public String getOwner()
Description copied from interface:WorkbasketSummaryGets the owner of the workbasket.- Specified by:
getOwnerin interfaceWorkbasketSummary- Returns:
- workbasket's owner
-
setOwner
public void setOwner(String owner)
-
getDomain
public String getDomain()
Description copied from interface:WorkbasketSummaryGets the domain of the workbasket.- Specified by:
getDomainin interfaceWorkbasketSummary- Returns:
- workbasket's domain
-
setDomain
public void setDomain(String domain)
-
getType
public WorkbasketType getType()
Description copied from interface:WorkbasketSummaryGets the type of the workbasket.- Specified by:
getTypein interfaceWorkbasketSummary- Returns:
- workbasket's type
-
setType
public void setType(WorkbasketType type)
-
getCustomAttribute
public String getCustomAttribute(WorkbasketCustomField customField)
Description copied from interface:WorkbasketSummaryGets the custom attribute of the workbasket.- Specified by:
getCustomAttributein interfaceWorkbasketSummary- Parameters:
customField- identifies which custom attribute is requested.- Returns:
- the value for the given customField
-
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)
-
getOrgLevel1
public String getOrgLevel1()
Description copied from interface:WorkbasketSummaryGets the orglevel1 property of the workbasket.- Specified by:
getOrgLevel1in interfaceWorkbasketSummary- Returns:
- the workbasket's orglevel1 property
-
setOrgLevel1
public void setOrgLevel1(String orgLevel1)
-
getOrgLevel2
public String getOrgLevel2()
Description copied from interface:WorkbasketSummaryGets the orglevel2 property of the workbasket.- Specified by:
getOrgLevel2in interfaceWorkbasketSummary- Returns:
- the workbasket's orglevel2 property
-
setOrgLevel2
public void setOrgLevel2(String orgLevel2)
-
getOrgLevel3
public String getOrgLevel3()
Description copied from interface:WorkbasketSummaryGets the orglevel3 property of the workbasket.- Specified by:
getOrgLevel3in interfaceWorkbasketSummary- Returns:
- the workbasket's orglevel3 property
-
setOrgLevel3
public void setOrgLevel3(String orgLevel3)
-
getOrgLevel4
public String getOrgLevel4()
Description copied from interface:WorkbasketSummaryGets the orglevel4 property of the workbasket.- Specified by:
getOrgLevel4in interfaceWorkbasketSummary- Returns:
- the workbasket's orglevel4 property
-
setOrgLevel4
public void setOrgLevel4(String orgLevel4)
-
isMarkedForDeletion
public boolean isMarkedForDeletion()
Description copied from interface:WorkbasketSummaryGets the markedForDeletion property of the workbasket.- Specified by:
isMarkedForDeletionin interfaceWorkbasketSummary- Returns:
- the workbasket's markedForDeletion property
-
setMarkedForDeletion
public void setMarkedForDeletion(boolean markedForDeletion)
-
copy
public WorkbasketSummaryImpl copy()
Description copied from interface:WorkbasketSummaryDuplicates this WorkbasketSummary without the id.- Specified by:
copyin interfaceWorkbasketSummary- Returns:
- a copy of this WorkbasketSummary
-
canEqual
protected boolean canEqual(Object other)
-
-