Package com.nomagic.magicdraw.uaf
Enum UAF.RuleKindEnum
- java.lang.Object
-
- java.lang.Enum<UAF.RuleKindEnum>
-
- com.nomagic.magicdraw.uaf.UAF.RuleKindEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UAF.RuleKindEnum>
- Enclosing class:
- UAF
public static enum UAF.RuleKindEnum extends java.lang.Enum<UAF.RuleKindEnum>
Enumeration of the possible kinds of Rules applicable to constraints.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIONASSERTION
Indicates that the Rule associated with the RuleKind is a statement that concerns some dynamic aspect.CAVEAT
Indicates that the Rule associated with the RuleKind is a statement that details alternate conditions under which the rule is not valid.CONSTRAINT
Indicates that the Rule associated with the RuleKind is a statement that details a limitation, e.g.CONTRACT
Indicates that the Rule associated with the RuleKind is a statement that details a consent among parties regarding the terms and conditions of activities that said parties participate in.DERIVATION
Indicates that the Rule associated with the RuleKind is a statement that details a Rule derived from another Rule.GUIDANCE
Indicates that the Rule associated with the RuleKind is a statement that details an authoritative statement intended to lead or steer the execution of actions.SECURITYPOLICY
Indicates that the Rule associated with the RuleKind is a statement that details a constraint that specifies policy for information handling, physical security, encryption, etc.STRUCTURALASSERTION
Indicates that the Rule associated with the RuleKind is a statement that details that something of importance either exists as a concept of interest or exists in relationship to another thing of interest.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UAF.RuleKindEnum
from(java.lang.Object o)
java.lang.String
getText()
static UAF.RuleKindEnum
toEnum(EnumerationLiteral literal)
static EnumerationLiteral
toEnumerationLiteral(UAF profile, UAF.RuleKindEnum anEnum)
static UAF.RuleKindEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UAF.RuleKindEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRUCTURALASSERTION
public static final UAF.RuleKindEnum STRUCTURALASSERTION
Indicates that the Rule associated with the RuleKind is a statement that details that something of importance either exists as a concept of interest or exists in relationship to another thing of interest.
-
ACTIONASSERTION
public static final UAF.RuleKindEnum ACTIONASSERTION
Indicates that the Rule associated with the RuleKind is a statement that concerns some dynamic aspect.
-
DERIVATION
public static final UAF.RuleKindEnum DERIVATION
Indicates that the Rule associated with the RuleKind is a statement that details a Rule derived from another Rule.
-
CONTRACT
public static final UAF.RuleKindEnum CONTRACT
Indicates that the Rule associated with the RuleKind is a statement that details a consent among parties regarding the terms and conditions of activities that said parties participate in.
-
CONSTRAINT
public static final UAF.RuleKindEnum CONSTRAINT
Indicates that the Rule associated with the RuleKind is a statement that details a limitation, e.g. business rule, restraint, operational limitation.
-
GUIDANCE
public static final UAF.RuleKindEnum GUIDANCE
Indicates that the Rule associated with the RuleKind is a statement that details an authoritative statement intended to lead or steer the execution of actions.
-
SECURITYPOLICY
public static final UAF.RuleKindEnum SECURITYPOLICY
Indicates that the Rule associated with the RuleKind is a statement that details a constraint that specifies policy for information handling, physical security, encryption, etc.
-
CAVEAT
public static final UAF.RuleKindEnum CAVEAT
Indicates that the Rule associated with the RuleKind is a statement that details alternate conditions under which the rule is not valid.
-
-
Method Detail
-
values
public static UAF.RuleKindEnum[] 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.RuleKindEnum c : UAF.RuleKindEnum.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.RuleKindEnum 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.RuleKindEnum from(@CheckForNull java.lang.Object o)
-
toEnum
@CheckForNull public static UAF.RuleKindEnum toEnum(EnumerationLiteral literal)
-
toEnumerationLiteral
@CheckForNull public static EnumerationLiteral toEnumerationLiteral(UAF profile, UAF.RuleKindEnum anEnum)
-
-