|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.model.PromptDependency
Prompt dependencies for jobs and job streams are represented through multiple instances of the PromptDependency class, each one referencing a Prompt object. Dependencies from predefined prompts and ad-hoc prompts are both represented by instances of PromptDependency, but reference prompts of different types.
The following syntax validation constraints must be met on PromptDependency objects:
prompt | Must be either an ad-hoc prompt or an existing predefined prompt |
Prompt
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
PromptDependency()
Creates an empty PromptDependency. |
|
PromptDependency(Identifier id)
Creates a PromptDependency, specifying the identifier of the referenced prompt. |
|
PromptDependency(Prompt target)
Creates a PromptDependency, specifying the referenced prompt. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this PromptDependency object are equal to those of the given one. |
Identifier |
getId()
Returns the identifier of the prompt referenced by this dependency. |
Prompt |
getPrompt()
Returns the referenced prompt. |
Identifier |
getPromptId()
Returns the identifier of the referenced prompt. |
int |
hashCode()
Returns a hash code for this PromptDependency object. |
boolean |
isAdHoc()
Returns true if the referenced prompt is an ad-hoc one. |
void |
setAdHoc(boolean value)
Sets the property used to decide if the referenced prompt is an ad-hoc one. |
void |
setPrompt(Prompt target)
Sets the referenced prompt. |
void |
setPromptId(Identifier id)
Sets the identifier of the referenced prompt. |
java.lang.String |
toString()
Returns a string representation of this PromptDependency object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public PromptDependency()
public PromptDependency(Identifier id)
id
- The identifier of the referenced prompt.public PromptDependency(Prompt target)
target
- The referenced prompt.Method Detail |
public Identifier getId()
getId
in interface TWSLink
public Identifier getPromptId()
public Prompt getPrompt()
public boolean isAdHoc()
public void setPromptId(Identifier id)
id
- The identifier of the referenced prompt.public void setPrompt(Prompt target)
target
- The referenced prompt.public void setAdHoc(boolean value)
value
- True if the referenced prompt is an ad-hoc one.public boolean equals(java.lang.Object object)
object
- The object to be compared with this one.
public int hashCode()
public java.lang.String toString()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |