public abstract class TaskDefinition extends ElementDefinition implements Attributable
Modifier and Type | Field and Description |
---|---|
static String |
OBJECT_TYPE |
description, name
Constructor and Description |
---|
TaskDefinition(String name,
String description,
String elementId,
Element.ElementType type,
String processFlowIdentifier,
long revision)
Initializing constructor which sets the values of all variables.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<Attribute> |
getAttributes() |
String |
getObjectType() |
int |
hashCode() |
void |
setAttribute(Attribute attribute) |
void |
setAttributes(List<Attribute> attributes) |
void |
setDescription(String description)
Sets the description of this element definition
|
void |
setName(String name)
Sets the name of this element definition
|
getDescription, getElementId, getName, getProcessFlowIdentifier, getRevision, getType, toString
public static final String OBJECT_TYPE
public TaskDefinition(String name, String description, String elementId, Element.ElementType type, String processFlowIdentifier, long revision)
It is not intended or recommended that the consumer of the API construct these objects. They should only be
retrieved from service calls such as
ProcessFlowService.getElementDefinitions(ProcessFlowContext, String)
.
name
- The name of the element definitiondescription
- The description of the element definitionelementId
- The id of the element definition as it appears in the process definitiontype
- The type of the elementprocessFlowIdentifier
- The identifier of the process flow that contains this elementrevision
- the internal revision numberpublic String getObjectType()
public void setName(String name)
name
- the name of this element definitionpublic void setDescription(String description)
description
- public List<Attribute> getAttributes()
getAttributes
in interface Attributable
public void setAttributes(List<Attribute> attributes)
setAttributes
in interface Attributable
attributes
- The attributes to set.public void setAttribute(Attribute attribute)
attribute
- The attributes to set.public int hashCode()
hashCode
in class ElementDefinition
public boolean equals(Object obj)
equals
in class ElementDefinition
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA