Package com.nomagic.magicdraw.sysml.util
Enum Class SysMLProfile.FlowDirectionKindEnum
java.lang.Object
java.lang.Enum<SysMLProfile.FlowDirectionKindEnum>
com.nomagic.magicdraw.sysml.util.SysMLProfile.FlowDirectionKindEnum
- All Implemented Interfaces:
Serializable
,Comparable<SysMLProfile.FlowDirectionKindEnum>
,Constable
- Enclosing class:
- SysMLProfile
public static enum SysMLProfile.FlowDirectionKindEnum
extends Enum<SysMLProfile.FlowDirectionKindEnum>
FlowDirection is an enumeration type that defines literals used for specifying input and output directions. FlowDirection is used by flow properties to indicate if a property is an input or an output with respect to its owner.
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetText()
toEnum
(EnumerationLiteral literal) static EnumerationLiteral
toEnumerationLiteral
(SysMLProfile profile, SysMLProfile.FlowDirectionKindEnum anEnum) Returns the enum constant of this class with the specified name.static SysMLProfile.FlowDirectionKindEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IN
Indicates that the flow property is input to the owning block. -
OUT
Indicates that the flow property is an output of the owning block. -
INOUT
Indicates that the flow property is both an input and an output of the owning block.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getText
-
from
-
toEnum
-
toEnumerationLiteral
@CheckForNull public static EnumerationLiteral toEnumerationLiteral(SysMLProfile profile, SysMLProfile.FlowDirectionKindEnum anEnum)
-