SysML

org.topcased.sysml
Enum RequirementKind

java.lang.Object
  extended by java.lang.Enum<RequirementKind>
      extended by org.topcased.sysml.RequirementKind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RequirementKind>, Enumerator

public enum RequirementKind
extends java.lang.Enum<RequirementKind>
implements Enumerator

A representation of the literals of the enumeration ' < ? >Requirement Kind', and utility methods for working with them.

See Also:
SysMLPackage.getRequirementKind()
** Generated **
Model:

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

FUNCTIONAL_LITERAL

public static final RequirementKind FUNCTIONAL_LITERAL
The ' < ? >Functional' literal object.

See Also:
FUNCTIONAL
** Generated **
Ordered:

PERFORMANCE_LITERAL

public static final RequirementKind PERFORMANCE_LITERAL
The ' < ? >Performance' literal object.

See Also:
PERFORMANCE
** Generated **
Ordered:

INTERFACE_LITERAL

public static final RequirementKind INTERFACE_LITERAL
The ' < ? >Interface' literal object.

See Also:
INTERFACE
** Generated **
Ordered:
Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
** Generated **

FUNCTIONAL

public static final int FUNCTIONAL
The ' < ? >Functional' literal value. < ? > If the meaning of ' < ? >Functional' literal object isn't clear, there really should be more of a description here...

See Also:
FUNCTIONAL_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:
name="Functional" annotation="http://www.topcased.org/uuid uuid='114129629366459'"

PERFORMANCE

public static final int PERFORMANCE
The ' < ? >Performance' literal value. < ? > If the meaning of ' < ? >Performance' literal object isn't clear, there really should be more of a description here...

See Also:
PERFORMANCE_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:
name="Performance" annotation="http://www.topcased.org/uuid uuid='114129629366460'"

INTERFACE

public static final int INTERFACE
The 'Interface' literal value. < ? > If the meaning of ' < ? >Interface' literal object isn't clear, there really should be more of a description here...

See Also:
INTERFACE_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:
name="Interface" annotation="http://www.topcased.org/uuid uuid='114129629367961'"

VALUES

public static final java.util.List<RequirementKind> VALUES
A public read-only list of all the 'Requirement Kind' enumerators.

** Generated **
Method Detail

values

public static final RequirementKind[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(RequirementKind c : RequirementKind.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static RequirementKind valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

get

public static RequirementKind get(java.lang.String literal)
Returns the 'Requirement Kind' literal with the specified literal value.

** Generated **

getByName

public static RequirementKind getByName(java.lang.String name)
Returns the 'Requirement Kind' literal with the specified name.

** Generated **

get

public static RequirementKind get(int value)
Returns the 'Requirement Kind' literal with the specified integer value.

** Generated **

getValue

public int getValue()

Specified by:
getValue in interface Enumerator
** Generated **

getName

public java.lang.String getName()

Specified by:
getName in interface Enumerator
** Generated **

getLiteral

public java.lang.String getLiteral()

Specified by:
getLiteral in interface Enumerator
** Generated **

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<RequirementKind>
** Generated **

SysML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.