|
SysML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RequirementKind>
org.topcased.sysml.RequirementKind
public enum RequirementKind
A representation of the literals of the enumeration ' < ? >Requirement Kind', and utility methods for working with them.
SysMLPackage.getRequirementKind()
Enum Constant Summary | |
---|---|
FUNCTIONAL_LITERAL
The ' < ? |
|
INTERFACE_LITERAL
The ' < ? |
|
PERFORMANCE_LITERAL
The ' < ? |
Field Summary | |
---|---|
static java.lang.String |
copyright
|
static int |
FUNCTIONAL
The ' < ? |
static int |
INTERFACE
The 'Interface' literal value |
static int |
PERFORMANCE
The ' < ? |
static java.util.List<RequirementKind> |
VALUES
A public read-only list of all the 'Requirement Kind' enumerators |
Method Summary | |
---|---|
static RequirementKind |
get(int value)
Returns the 'Requirement Kind' literal with the specified integer value |
static RequirementKind |
get(java.lang.String literal)
Returns the 'Requirement Kind' literal with the specified literal value |
static RequirementKind |
getByName(java.lang.String name)
Returns the 'Requirement 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 RequirementKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RequirementKind[] |
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 RequirementKind FUNCTIONAL_LITERAL
FUNCTIONAL
public static final RequirementKind PERFORMANCE_LITERAL
PERFORMANCE
public static final RequirementKind INTERFACE_LITERAL
INTERFACE
Field Detail |
---|
public static final java.lang.String copyright
public static final int FUNCTIONAL
FUNCTIONAL_LITERAL
,
Constant Field Valuespublic static final int PERFORMANCE
PERFORMANCE_LITERAL
,
Constant Field Valuespublic static final int INTERFACE
INTERFACE_LITERAL
,
Constant Field Valuespublic static final java.util.List<RequirementKind> VALUES
Method Detail |
---|
public static final RequirementKind[] values()
for(RequirementKind c : RequirementKind.values()) System.out.println(c);
public static RequirementKind 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 RequirementKind get(java.lang.String literal)
public static RequirementKind getByName(java.lang.String name)
public static RequirementKind 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<RequirementKind>
|
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.