|
SysML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<VerdictKind>
org.topcased.sysml.VerdictKind
public enum VerdictKind
A representation of the literals of the enumeration ' < ? >Verdict Kind', and utility methods for working with them.
SysMLPackage.getVerdictKind()
Enum Constant Summary | |
---|---|
ERROR_LITERAL
The 'Error' literal object |
|
FAIL_LITERAL
The 'Fail' literal object |
|
INCONCLUSIVE_LITERAL
The ' < ? |
|
PASS_LITERAL
The 'Pass' literal object |
Field Summary | |
---|---|
static java.lang.String |
copyright
|
static int |
ERROR
The 'Error' literal value |
static int |
FAIL
The 'Fail' literal value |
static int |
INCONCLUSIVE
The ' < ? |
static int |
PASS
The 'Pass' literal value |
static java.util.List<VerdictKind> |
VALUES
A public read-only list of all the 'Verdict Kind' enumerators |
Method Summary | |
---|---|
static VerdictKind |
get(int value)
Returns the 'Verdict Kind' literal with the specified integer value |
static VerdictKind |
get(java.lang.String literal)
Returns the 'Verdict Kind' literal with the specified literal value |
static VerdictKind |
getByName(java.lang.String name)
Returns the 'Verdict Kind' literal with the specified name |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation |
static VerdictKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static VerdictKind[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final VerdictKind PASS_LITERAL
PASS
public static final VerdictKind FAIL_LITERAL
FAIL
public static final VerdictKind INCONCLUSIVE_LITERAL
INCONCLUSIVE
public static final VerdictKind ERROR_LITERAL
ERROR
Field Detail |
---|
public static final java.lang.String copyright
public static final int PASS
PASS_LITERAL
,
Constant Field Valuespublic static final int FAIL
FAIL_LITERAL
,
Constant Field Valuespublic static final int INCONCLUSIVE
INCONCLUSIVE_LITERAL
,
Constant Field Valuespublic static final int ERROR
ERROR_LITERAL
,
Constant Field Valuespublic static final java.util.List<VerdictKind> VALUES
Method Detail |
---|
public static final VerdictKind[] values()
for(VerdictKind c : VerdictKind.values()) System.out.println(c);
public static VerdictKind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static VerdictKind get(java.lang.String literal)
public static VerdictKind getByName(java.lang.String name)
public static VerdictKind get(int value)
public int getValue()
getValue
in interface Enumerator
public java.lang.String getName()
getName
in interface Enumerator
public java.lang.String getLiteral()
getLiteral
in interface Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<VerdictKind>
|
SysML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.