public enum AccessConstraintSource extends Enum<AccessConstraintSource> implements Enumeration
Enum Constant and Description |
---|
INHERITED_RECEIVER_CONSTRAINT
The constraint is owned by and inherited from the "Receiver" platform.
|
INHERITED_TRANSMITTER_CONSTRAINT
The constraint is owned by and inherited from the "Transmitter" platform.
|
RECEIVER_CONSTRAINT
The constraint is owned by the
AccessComputation instance and associated with the "Receiver" platform. |
TRANSMITTER_CONSTRAINT
The constraint is owned by the
AccessComputation instance and associated with the "Transmitter" platform. |
Modifier and Type | Method and Description |
---|---|
static AccessConstraintSource |
getDefault()
Get the enum constant that is considered to be the default.
|
static AccessConstraintSource |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static AccessConstraintSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessConstraintSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessConstraintSource TRANSMITTER_CONSTRAINT
AccessComputation
instance and associated with the "Transmitter" platform.public static final AccessConstraintSource RECEIVER_CONSTRAINT
AccessComputation
instance and associated with the "Receiver" platform.public static final AccessConstraintSource INHERITED_TRANSMITTER_CONSTRAINT
public static final AccessConstraintSource INHERITED_RECEIVER_CONSTRAINT
public static AccessConstraintSource[] values()
for (AccessConstraintSource c : AccessConstraintSource.values()) System.out.println(c);
public static AccessConstraintSource valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static AccessConstraintSource getFromValue(int value)
value
- a numeric value.@Nonnull public static AccessConstraintSource getDefault()