Package com.nomagic.magicdraw.sysml.util
Enum SysMLUtility.DirectedFeature
- java.lang.Object
-
- java.lang.Enum<SysMLUtility.DirectedFeature>
-
- com.nomagic.magicdraw.sysml.util.SysMLUtility.DirectedFeature
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SysMLUtility.DirectedFeature>
- Enclosing class:
- SysMLUtility
public static enum SysMLUtility.DirectedFeature extends java.lang.Enum<SysMLUtility.DirectedFeature>
DirectedFeature enumeration- See Also:
SysMLProfile
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Empty
Provided
ProvidedRequired
Required
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDirection()
static SysMLUtility.DirectedFeature
resolveFlowDirection(SysMLUtility.FlowDirection flowDirection)
static SysMLUtility.DirectedFeature
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SysMLUtility.DirectedFeature[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Provided
public static final SysMLUtility.DirectedFeature Provided
-
Required
public static final SysMLUtility.DirectedFeature Required
-
ProvidedRequired
public static final SysMLUtility.DirectedFeature ProvidedRequired
-
Empty
public static final SysMLUtility.DirectedFeature Empty
-
-
Method Detail
-
values
public static SysMLUtility.DirectedFeature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SysMLUtility.DirectedFeature c : SysMLUtility.DirectedFeature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SysMLUtility.DirectedFeature 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 namejava.lang.NullPointerException
- if the argument is null
-
resolveFlowDirection
public static SysMLUtility.DirectedFeature resolveFlowDirection(SysMLUtility.FlowDirection flowDirection)
-
getDirection
public java.lang.String getDirection()
-
-