Package com.nomagic.magicdraw.uaf
Enum UAF.ResourceExchangeKindEnum
- java.lang.Object
-
- java.lang.Enum<UAF.ResourceExchangeKindEnum>
-
- com.nomagic.magicdraw.uaf.UAF.ResourceExchangeKindEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UAF.ResourceExchangeKindEnum>
- Enclosing class:
- UAF
public static enum UAF.ResourceExchangeKindEnum extends java.lang.Enum<UAF.ResourceExchangeKindEnum>
Enumeration of the possible kinds of resource exchange applicable to a ResourceExchange.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GEOPOLITICALEXTENTEXCHANGE
Indicates that the ResourceInteraction associated with the ResourceInteractionKind is a an implementation of logical flow where GeoPoliticalExtents (i.e.RESOURCECOMMUNICATION
Indicates that the ResourceInteraction associated with the ResourceInteractionKind is a an implementation of logical flow of data between Resources.RESOURCEENERGYFLOW
Indicates that the ResourceInteraction associated with the ResourceInteractionKind is a an implementation of logical flow of natural resources between Resources.RESOURCEMOVEMENT
Indicates that the ResourceInteraction associated with the ResourceInteractionKind is a an implementation of logical flow of Resources between Resources.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UAF.ResourceExchangeKindEnum
from(java.lang.Object o)
java.lang.String
getText()
static UAF.ResourceExchangeKindEnum
toEnum(EnumerationLiteral literal)
static EnumerationLiteral
toEnumerationLiteral(UAF profile, UAF.ResourceExchangeKindEnum anEnum)
static UAF.ResourceExchangeKindEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UAF.ResourceExchangeKindEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESOURCECOMMUNICATION
public static final UAF.ResourceExchangeKindEnum RESOURCECOMMUNICATION
Indicates that the ResourceInteraction associated with the ResourceInteractionKind is a an implementation of logical flow of data between Resources.
-
RESOURCEMOVEMENT
public static final UAF.ResourceExchangeKindEnum RESOURCEMOVEMENT
Indicates that the ResourceInteraction associated with the ResourceInteractionKind is a an implementation of logical flow of Resources between Resources.
-
RESOURCEENERGYFLOW
public static final UAF.ResourceExchangeKindEnum RESOURCEENERGYFLOW
Indicates that the ResourceInteraction associated with the ResourceInteractionKind is a an implementation of logical flow of natural resources between Resources.
-
GEOPOLITICALEXTENTEXCHANGE
public static final UAF.ResourceExchangeKindEnum GEOPOLITICALEXTENTEXCHANGE
Indicates that the ResourceInteraction associated with the ResourceInteractionKind is a an implementation of logical flow where GeoPoliticalExtents (i.e. Borders) flow from one place to another.
-
-
Method Detail
-
values
public static UAF.ResourceExchangeKindEnum[] 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 (UAF.ResourceExchangeKindEnum c : UAF.ResourceExchangeKindEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UAF.ResourceExchangeKindEnum 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
-
getText
public java.lang.String getText()
-
from
@CheckForNull public static UAF.ResourceExchangeKindEnum from(@CheckForNull java.lang.Object o)
-
toEnum
@CheckForNull public static UAF.ResourceExchangeKindEnum toEnum(EnumerationLiteral literal)
-
toEnumerationLiteral
@CheckForNull public static EnumerationLiteral toEnumerationLiteral(UAF profile, UAF.ResourceExchangeKindEnum anEnum)
-
-