public class Cause extends Object implements Serializable
Cause class.
Modifier and Type | Class and Description |
---|---|
static class |
Cause.Type |
Constructor and Description |
---|
Cause(Cause.Type type,
Long cause,
Event symptom)
Constructor for Cause.
|
Cause(Cause.Type type,
Long cause,
Event symptom,
Integer timerId)
Constructor for Cause.
|
Modifier and Type | Method and Description |
---|---|
void |
addImpacted(Cause cause)
addImpacted
|
Long |
getCause()
getCause
|
Set<Cause> |
getImpacted()
getImpacted
|
Event |
getSymptom()
getSymptom
|
Integer |
getTimerId()
getTimerId
|
Cause.Type |
getType()
getType
|
void |
setCause(Long causeNodeId)
setCause
|
void |
setSymptom(Event symptomEvent)
setSymptom
|
void |
setTimerId(Integer timerId)
setTimerId
|
void |
setType(Cause.Type type)
setType
|
String |
toString()
toString
|
public Cause(Cause.Type type, Long cause, Event symptom, Integer timerId)
Constructor for Cause.
type
- a Cause.Type
object.cause
- a Long
object.symptom
- a Event
object.timerId
- a Integer
object.public Cause(Cause.Type type, Long cause, Event symptom)
Constructor for Cause.
type
- a Cause.Type
object.cause
- a Long
object.symptom
- a Event
object.public Cause.Type getType()
getType
Cause.Type
object.public void setType(Cause.Type type)
setType
type
- a Cause.Type
object.public void setSymptom(Event symptomEvent)
setSymptom
symptomEvent
- a Event
object.public String toString()
toString
Copyright © 2020. All rights reserved.