public enum VariableType extends Enum<VariableType> implements Enumerator
SetupPackage.getVariableType()
Enum Constant and Description |
---|
BOOLEAN
The 'BOOLEAN' literal object.
|
CONTAINER
The 'CONTAINER' literal object.
|
FILE
The 'FILE' literal object.
|
FLOAT
The 'FLOAT' literal object.
|
FOLDER
The 'FOLDER' literal object.
|
INTEGER
The 'INTEGER' literal object.
|
PASSWORD
The 'PASSWORD' literal object.
|
PATTERN
The 'PATTERN' literal object.
|
PROJECT
The 'PROJECT' literal object.
|
RESOURCE
The 'RESOURCE' literal object.
|
STRING
The 'STRING' literal object.
|
TEXT
The 'TEXT' literal object.
|
URI
The 'URI' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
BOOLEAN_VALUE
The 'BOOLEAN' literal value.
|
static int |
CONTAINER_VALUE
The 'CONTAINER' literal value.
|
static int |
FILE_VALUE
The 'FILE' literal value.
|
static int |
FLOAT_VALUE
The 'FLOAT' literal value.
|
static int |
FOLDER_VALUE
The 'FOLDER' literal value.
|
static int |
INTEGER_VALUE
The 'INTEGER' literal value.
|
static int |
PASSWORD_VALUE
The 'PASSWORD' literal value.
|
static int |
PATTERN_VALUE
The 'PATTERN' literal value.
|
static int |
PROJECT_VALUE
The 'PROJECT' literal value.
|
static int |
RESOURCE_VALUE
The 'RESOURCE' literal value.
|
static int |
STRING_VALUE
The 'STRING' literal value.
|
static int |
TEXT_VALUE
The 'TEXT' literal value.
|
static int |
URI_VALUE
The 'URI' literal value.
|
static List<VariableType> |
VALUES
A public read-only list of all the 'Variable Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static VariableType |
get(int value)
Returns the 'Variable Type' literal with the specified integer value.
|
static VariableType |
get(String literal)
Returns the 'Variable Type' literal with the specified literal value.
|
static VariableType |
getByName(String name)
Returns the 'Variable Type' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static VariableType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VariableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariableType STRING
STRING_VALUE
public static final VariableType TEXT
TEXT_VALUE
public static final VariableType PASSWORD
PASSWORD_VALUE
public static final VariableType PATTERN
PATTERN_VALUE
public static final VariableType URI
URI_VALUE
public static final VariableType FILE
FILE_VALUE
public static final VariableType FOLDER
FOLDER_VALUE
public static final VariableType RESOURCE
RESOURCE_VALUE
public static final VariableType CONTAINER
CONTAINER_VALUE
public static final VariableType PROJECT
PROJECT_VALUE
public static final VariableType BOOLEAN
BOOLEAN_VALUE
public static final VariableType INTEGER
INTEGER_VALUE
public static final VariableType FLOAT
FLOAT_VALUE
public static final int STRING_VALUE
If the meaning of 'STRING' literal object isn't clear, there really should be more of a description here...
STRING
,
Constant Field Valuespublic static final int TEXT_VALUE
If the meaning of 'TEXT' literal object isn't clear, there really should be more of a description here...
TEXT
,
Constant Field Valuespublic static final int PASSWORD_VALUE
If the meaning of 'PASSWORD' literal object isn't clear, there really should be more of a description here...
PASSWORD
,
Constant Field Valuespublic static final int PATTERN_VALUE
If the meaning of 'PATTERN' literal object isn't clear, there really should be more of a description here...
PATTERN
,
Constant Field Valuespublic static final int URI_VALUE
If the meaning of 'URI' literal object isn't clear, there really should be more of a description here...
URI
,
Constant Field Valuespublic static final int FILE_VALUE
If the meaning of 'FILE' literal object isn't clear, there really should be more of a description here...
FILE
,
Constant Field Valuespublic static final int FOLDER_VALUE
If the meaning of 'FOLDER' literal object isn't clear, there really should be more of a description here...
FOLDER
,
Constant Field Valuespublic static final int RESOURCE_VALUE
If the meaning of 'RESOURCE' literal object isn't clear, there really should be more of a description here...
RESOURCE
,
Constant Field Valuespublic static final int CONTAINER_VALUE
If the meaning of 'CONTAINER' literal object isn't clear, there really should be more of a description here...
CONTAINER
,
Constant Field Valuespublic static final int PROJECT_VALUE
If the meaning of 'PROJECT' literal object isn't clear, there really should be more of a description here...
PROJECT
,
Constant Field Valuespublic static final int BOOLEAN_VALUE
If the meaning of 'BOOLEAN' literal object isn't clear, there really should be more of a description here...
BOOLEAN
,
Constant Field Valuespublic static final int INTEGER_VALUE
If the meaning of 'INTEGER' literal object isn't clear, there really should be more of a description here...
INTEGER
,
Constant Field Valuespublic static final int FLOAT_VALUE
If the meaning of 'FLOAT' literal object isn't clear, there really should be more of a description here...
FLOAT
,
Constant Field Valuespublic static final List<VariableType> VALUES
public static VariableType[] values()
for (VariableType c : VariableType.values()) System.out.println(c);
public static VariableType 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 static VariableType get(String literal)
public static VariableType getByName(String name)
public static VariableType get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<VariableType>
Copyright (c) 2014 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v20.html