|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.analysis.engine.Directive
Class defining a directive element in a symptom database. A directive is used to recommend actions to be taken by the user in order to solve a symptom. A directive can contain a human readable description of the action to be taken or a directiveString specifying an action to be executed by a program or both.
| Constructor Summary | |
|---|---|
Directive(java.lang.String id)
Convenience constructor for creating a Directive
with the parameter unique identifier but no associated action
to be executed and no English description. |
|
Directive(java.lang.String id,
java.lang.String directiveString)
Convenience constructor for creating a Directive
with the parameter unique identifier and associated action to
be executed but no English description. |
|
Directive(java.lang.String id,
java.lang.String directiveString,
java.lang.String description)
Constructor for creating a Directive
with the parameter unique identifier, associated action to be
executed and English description. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
Overrides java.lang.Object.equals() to indicate whether some other object is "equal to" this Directive object. |
java.lang.String |
getDescription()
Gets the English description. |
java.lang.String |
getDirectiveString()
Gets the associated action to be executed. |
java.lang.String |
getId()
Gets the unique identifier. |
void |
setDescription(java.lang.String description)
Sets the English description. |
void |
setDirectiveString(java.lang.String directiveString)
Sets the associated action to be executed. |
void |
setId(java.lang.String id)
Sets the unique identifier. |
java.lang.String |
toString()
Overrides java.lang.Object.toString() to return a string representation of this Directive object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Directive(java.lang.String id)
Directive
with the parameter unique identifier but no associated action
to be executed and no English description.
id - the unique identifierDirective(String,String,String)
public Directive(java.lang.String id,
java.lang.String directiveString)
Directive
with the parameter unique identifier and associated action to
be executed but no English description.
id - the unique identifierdirectiveString - the associated action to be executedDirective(String,String,String)
public Directive(java.lang.String id,
java.lang.String directiveString,
java.lang.String description)
Directive
with the parameter unique identifier, associated action to be
executed and English description.
id - the unique identifierdirectiveString - the associated action to be executeddescription - the English description| Method Detail |
public void setId(java.lang.String id)
id - the unique identifiergetId()public java.lang.String getId()
setId(String)public void setDirectiveString(java.lang.String directiveString)
directiveString - the associated action to be executedgetDirectiveString()public java.lang.String getDirectiveString()
setDirectiveString(String)public void setDescription(java.lang.String description)
description - the English descriptiongetDescription()public java.lang.String getDescription()
setDescription(String)public boolean equals(java.lang.Object object)
object - the reference object with which to compare.
public java.lang.String toString()
|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||