public enum AccessType extends java.lang.Enum<AccessType> implements org.eclipse.emf.common.util.Enumerator
Aadl2Package.getAccessType()
Enum Constant and Description |
---|
PROVIDES
The 'Provides' literal object.
|
REQUIRES
The 'Requires' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
PROVIDES_VALUE
The 'Provides' literal value.
|
static int |
REQUIRES_VALUE
The 'Requires' literal value.
|
static java.util.List<AccessType> |
VALUES
A public read-only list of all the 'Access Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static AccessType |
get(int value)
Returns the 'Access Type' literal with the specified integer value.
|
static AccessType |
get(java.lang.String literal)
Returns the 'Access Type' literal with the specified literal value.
|
static AccessType |
getByName(java.lang.String name)
Returns the 'Access Type' literal with the specified name.
|
AccessType |
getInverseType() |
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static AccessType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessType PROVIDES
PROVIDES_VALUE
public static final AccessType REQUIRES
REQUIRES_VALUE
public static final int PROVIDES_VALUE
If the meaning of 'Provides' literal object isn't clear, there really should be more of a description here...
PROVIDES
,
Constant Field Valuespublic static final int REQUIRES_VALUE
If the meaning of 'Requires' literal object isn't clear, there really should be more of a description here...
REQUIRES
,
Constant Field Valuespublic static final java.util.List<AccessType> VALUES
public static AccessType[] values()
for (AccessType c : AccessType.values()) System.out.println(c);
public static AccessType 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 AccessType get(java.lang.String literal)
public static AccessType getByName(java.lang.String name)
public static AccessType get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<AccessType>
public AccessType getInverseType()