|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.graphiti.features.impl.Reason
public class Reason
The Class Reason.
| Field Summary | |
|---|---|
private boolean |
bool
|
private static String |
FALSE_REASON_TEXT
|
private String |
text
|
private static String |
TRUE_REASON_TEXT
|
| Constructor Summary | |
|---|---|
Reason(boolean b)
Creates a new Reason. |
|
Reason(boolean b,
String reasonText)
Creates a new Reason. |
|
| Method Summary | |
|---|---|
static IReason |
createFalseReason()
Creates the false reason. |
static IReason |
createFalseReason(String string)
Creates the false reason. |
static IReason |
createTrueReason()
Creates the true reason. |
static IReason |
createTrueReason(String string)
Creates the true reason. |
String |
getText()
Gets the text. |
void |
setBool(boolean bool)
Sets the bool. |
void |
setText(String reasonText)
Sets the text. |
boolean |
toBoolean()
Converts to boolean. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final String FALSE_REASON_TEXT
private static final String TRUE_REASON_TEXT
private boolean bool
private String text
| Constructor Detail |
|---|
public Reason(boolean b)
Reason.
b - the bool
public Reason(boolean b,
String reasonText)
Reason.
b - the boolreasonText - the reason text| Method Detail |
|---|
public static IReason createFalseReason()
public static IReason createFalseReason(String string)
string - the string
public static IReason createTrueReason()
public static IReason createTrueReason(String string)
string - the string
public String getText()
IReason
getText in interface IReasonpublic void setBool(boolean bool)
bool - the new boolpublic void setText(String reasonText)
reasonText - the new textpublic boolean toBoolean()
IReason
toBoolean in interface IReasonpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||