E
- as any EventS
- as FlowStatus
public class Feedback<E,S extends FlowStatus> extends ModelObject implements Attributes
FlowStatus
,
SynchronousFlowStatusChange
,
Serialized FormConstructor and Description |
---|
Feedback() |
Modifier and Type | Method and Description |
---|---|
Object |
addAttribute(String name,
Object value) |
Map |
getAttributes()
Any optional feedback properties
|
Object |
getAttributeValue(String name)
Accessor to get the value and encapsulate how the value comes from the
Attributes .Attribute |
E |
getEvent()
The event over which we are getting feedback
|
String |
getEventSenderId()
The user, process or container Id that owns the event
|
Exception |
getException()
Any Exception
|
Date |
getLastUpdated()
The time the status was changed.
|
S |
getPastStatus()
The
FlowStatus type |
String |
getRecipientId()
The id of the recipient of the event that is transmitting this feedback
|
S |
getStatus()
Present status as
FlowStatus type exception is no null then the tokenStatus may reflect the same as pastStatus or be null. |
Object |
setAttribute(String name,
Object value)
This method encapsulates the responsibility of ensuring the @link Attribute} can be set into the entity,
including null checks, initializations, any relations between
Attributes and Attribute . |
void |
setAttributes(ImmutableValueHashMap attributes)
Any optional feedback properties
|
void |
setEvent(E event)
The event over which we are getting feedback
|
void |
setEventSenderId(String eventSenderId)
The user, process or container Id that owns the event
|
void |
setException(Exception exception)
Any Exception
|
void |
setLastUpdated(Date lastUpdated)
The time the status was changed.
|
void |
setPastStatus(S pastStatus)
The
FlowStatus type |
void |
setRecipientId(String recipientId)
The id of the recipient of the event that is transmitting this feedback
|
void |
setStatus(S status)
Present status as
FlowStatus type exception is no null then the tokenStatus may reflect the same as pastStatus or be null. |
String |
toString() |
public E getEvent()
public void setEvent(E event)
public String getEventSenderId()
public void setEventSenderId(String eventSenderId)
public String getRecipientId()
public void setRecipientId(String recipientId)
public S getPastStatus()
FlowStatus
type public void setPastStatus(S pastStatus)
FlowStatus
type public S getStatus()
FlowStatus
type exception
is no null then the tokenStatus may reflect the same as pastStatus
or be null.public void setStatus(S status)
FlowStatus
type exception
is no null then the tokenStatus may reflect the same as pastStatus
or be null.public Date getLastUpdated()
public void setLastUpdated(Date lastUpdated)
public Map getAttributes()
public void setAttributes(ImmutableValueHashMap attributes)
public Exception getException()
public void setException(Exception exception)
public Object setAttribute(String name, Object value)
Attributes
Attributes
and Attribute
.setAttribute
in interface Attributes
name
- as Stringvalue
- as addAttribute(String, Object)
public Object getAttributeValue(String name)
Attributes
Attributes
.Attribute
getAttributeValue
in interface Attributes
name
- as Stringpublic Object addAttribute(String name, Object value) throws ReadOnlyException, IllegalArgumentException
Copyright © 2018. All rights reserved.