Package com.sodius.mdw.metamodel.sa
Enum RelationKind
- java.lang.Object
-
- java.lang.Enum<RelationKind>
-
- com.sodius.mdw.metamodel.sa.RelationKind
-
- All Implemented Interfaces:
Serializable
,Comparable<RelationKind>
,org.eclipse.emf.common.util.Enumerator
public enum RelationKind extends Enum<RelationKind> implements org.eclipse.emf.common.util.Enumerator
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDRESSES
CONNECTS_FROM
CONNECTS_INPUT
CONNECTS_OUTPUT
CONNECTS_TO
EMBEDDED_BY
EMBEDS
EXPANDS_FROM
EXPANDS_TO
IS_ADDRESSED_BY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLiteral()
String
getName()
int
getValue()
static RelationKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static RelationKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXPANDS_TO
public static final RelationKind EXPANDS_TO
-
EXPANDS_FROM
public static final RelationKind EXPANDS_FROM
-
CONNECTS_OUTPUT
public static final RelationKind CONNECTS_OUTPUT
-
CONNECTS_FROM
public static final RelationKind CONNECTS_FROM
-
CONNECTS_INPUT
public static final RelationKind CONNECTS_INPUT
-
CONNECTS_TO
public static final RelationKind CONNECTS_TO
-
EMBEDS
public static final RelationKind EMBEDS
-
EMBEDDED_BY
public static final RelationKind EMBEDDED_BY
-
ADDRESSES
public static final RelationKind ADDRESSES
-
IS_ADDRESSED_BY
public static final RelationKind IS_ADDRESSED_BY
-
-
Method Detail
-
values
public static RelationKind[] 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 (RelationKind c : RelationKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelationKind valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceorg.eclipse.emf.common.util.Enumerator
-
-