public enum AccessMode extends java.lang.Enum<AccessMode>
Determines where the Access relationship arrowheads appear.
The graphic notation will point in the opposite direction of the metamodel direction to denote 'read' access, and in both directions to denote read-write access.
Modifier and Type | Field and Description |
---|---|
static int |
READ_VALUE |
static int |
READWRITE_VALUE |
static int |
UNDEFINED_VALUE |
static java.util.List<AccessMode> |
VALUES |
static int |
WRITE_VALUE |
Modifier and Type | Method and Description |
---|---|
static AccessMode |
get(int value) |
static AccessMode |
get(java.lang.String literal) |
static AccessMode |
getByName(java.lang.String name) |
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString() |
static AccessMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccessMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessMode UNDEFINED
public static final AccessMode READ
public static final AccessMode WRITE
public static final AccessMode READWRITE
public static final int UNDEFINED_VALUE
public static final int READ_VALUE
public static final int WRITE_VALUE
public static final int READWRITE_VALUE
public static final java.util.List<AccessMode> VALUES
public static AccessMode[] values()
for (AccessMode c : AccessMode.values()) System.out.println(c);
public static AccessMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AccessMode get(java.lang.String literal)
public static AccessMode getByName(java.lang.String name)
public static AccessMode get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<AccessMode>