public class Cause extends Object
Constructor and Description |
---|
Cause()
Create a new cause.
|
Cause(Cause other)
Create a new cause as clone of the other.
|
Cause(Cause old,
String targetname)
Create a new cause rolling old one.
|
Cause(String sourcename,
String targetname)
Create a new cause.
|
Cause(String sourceid,
String targetid,
String sourcename,
String targetname)
Create a new cause.
|
Cause(String chainid,
String sourceid,
String targetid,
String sourcename,
String targetname)
Create a new cause.
|
Modifier and Type | Method and Description |
---|---|
Cause |
createNext()
Create the next cause.
|
String |
createUniqueId()
Create a unique id.
|
String |
getOrigin()
Get the chain id.
|
String |
getSourceId()
Get the sourceId.
|
String |
getTargetId()
Get the targetId.
|
void |
setOrigin(String callid)
Set the chain id.
|
void |
setSourceId(String sourceid)
Set the sourceId.
|
void |
setTargetId(String targetid)
Set the targetId.
|
String |
toString()
Get the string representation.
|
public Cause()
public Cause(String sourceid, String targetid, String sourcename, String targetname)
public Cause(String chainid, String sourceid, String targetid, String sourcename, String targetname)
public Cause(Cause other)
public Cause createNext()
targetname
- The new target name.public String createUniqueId()
public String getOrigin()
public void setOrigin(String callid)
origin
- The chainid to set.public String getSourceId()
public void setSourceId(String sourceid)
sourceid
- The sourceId to set.public String getTargetId()
public void setTargetId(String targetid)
targetid
- The targetId to set.Copyright © 2013. All Rights Reserved.