|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.wli.worklist.api.taskplan.TaskPlanId
public class TaskPlanId
Server-wide unique identifier for a task plan. This is a composite identifier that includes the folder and name (as a TaskPlanPath) and version of the task plan.
Constructor Summary | |
---|---|
TaskPlanId()
Serialization use only |
|
TaskPlanId(String spec)
Construct an ID from a string value generated by a prior call to ID.toString(). |
|
TaskPlanId(String path,
float version)
Construct a new ID given the path and version of the task type. |
|
TaskPlanId(String worklistHostAppId,
String path,
float version)
Construct a new ID given the Worklist host application id, path and version of the task plan. |
|
TaskPlanId(String worklistHostAppId,
TaskPlanPath path,
float version)
Construct a new ID given the Worklist host application id, path and version of the task plan. |
|
TaskPlanId(TaskPlanPath path,
float version)
Construct a new ID given the path and version of the task type. |
Method Summary | |
---|---|
int |
compareTo(Object o)
Natural order is sorted by path+name first, followed by version |
boolean |
equals(Object obj)
|
protected void |
fromStringValue(String spec)
|
TaskPlanPath |
getPath()
|
String |
getStringValue()
Get a String representation of this ID. |
float |
getVersion()
Set the version of the task plan represented by this ID. |
String |
getWorklistHostApplicationId()
|
int |
hashCode()
|
void |
setPath(String path)
Set the String representation of this path, in the form returned by toString(). |
void |
setPath(TaskPlanPath path)
Set the path to this task plan. |
void |
setStringValue(String value)
Initialize this ID using a String representation obtained from a prior call to toString() on this or another ID instance. |
void |
setVersion(float version)
Set the version of the task plan this ID represents. |
void |
setWorklistHostApplicationId(String hostAppId)
Set the Worklist host application id for this task plan. |
String |
toString()
Get a printable representation of this identifier in folder/name:version format. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TaskPlanId()
public TaskPlanId(String path, float version)
path
- Path of the task plan in the correlation hierarchy. This
must be of the form /Folder1/Folder2/TaskPlan1. In other
words, the path must start with
a forward slash, all names in the path are
separated with a forward slash, and there is no
trailing forward slash.version
- The version for this task plan.public TaskPlanId(String worklistHostAppId, String path, float version)
worklistHostAppId
- The ID of the Worklist host application to
which this task plan is (or will be) deployed. May be null for
task plans that have not yet been deployed (e.g. design-time
or early in runtime).path
- Path of the task plan in the correlation hierarchy. This
must be of the form /Folder1/Folder2/TaskPlan1. In other
words, the path must start with
a forward slash, all names in the path are
separated with a forward slash, and there is no
trailing forward slash.version
- The version for this task plan.public TaskPlanId(TaskPlanPath path, float version)
path
- Path of the task plan in the correlation hierarchy. This
must be of the form /Folder1/Folder2/TaskPlan1. In other
words, the path must start with
a forward slash, all names in the path are
separated with a forward slash, and there is no
trailing forward slash.version
- The version for this task plan.public TaskPlanId(String worklistHostAppId, TaskPlanPath path, float version)
worklistHostAppId
- The ID of the Worklist host application to
which this task plan is (or will be) deployed. May be null for
task plans that have not yet been deployed (e.g. design-time
or early in runtime).path
- Path of the task plan in the correlation hierarchy. This
must be of the form /Folder1/Folder2/TaskPlan1. In other
words, the path must start with
a forward slash, all names in the path are
separated with a forward slash, and there is no
trailing forward slash.version
- The version for this task plan.public TaskPlanId(String spec)
spec
- The string value from toString() to be parsed.Method Detail |
---|
protected void fromStringValue(String spec)
public TaskPlanPath getPath()
public void setPath(String path)
path
- non-null path to this task plan.public void setPath(TaskPlanPath path)
path
- Path to this task plan, must not be null.public float getVersion()
setVersion(float)
public void setVersion(float version)
version
- The version of the task plan this ID represents or
0f to indicate no version has been set.public String getWorklistHostApplicationId()
public void setWorklistHostApplicationId(String hostAppId)
hostAppId
- The ID of the Worklist host application to which
this task plan is (or will be) deployed. May be null for
task plans that have not yet been deployed (e.g. design-time
or early in runtime).public String getStringValue()
setStringValue(String)
public void setStringValue(String value)
value
- String representation. Must not be null.public int compareTo(Object o)
compareTo
in interface Comparable
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |