public enum ScopeType extends Enum<ScopeType> implements Enumerator
SetupPackage.getScopeType()
Enum Constant and Description |
---|
INSTALLATION
The 'Installation' literal object.
|
NONE
The 'None' literal object.
|
PRODUCT
The 'Product' literal object.
|
PRODUCT_CATALOG
The 'Product Catalog' literal object.
|
PRODUCT_VERSION
The 'Product Version' literal object.
|
PROJECT
The 'Project' literal object.
|
PROJECT_CATALOG
The 'Project Catalog' literal object.
|
STREAM
The 'Stream' literal object.
|
USER
The 'User' literal object.
|
WORKSPACE
The 'Workspace' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
INSTALLATION_VALUE
The 'Installation' literal value.
|
static int |
NONE_VALUE
The 'None' literal value.
|
static int |
PRODUCT_CATALOG_VALUE
The 'Product Catalog' literal value.
|
static int |
PRODUCT_VALUE
The 'Product' literal value.
|
static int |
PRODUCT_VERSION_VALUE
The 'Product Version' literal value.
|
static int |
PROJECT_CATALOG_VALUE
The 'Project Catalog' literal value.
|
static int |
PROJECT_VALUE
The 'Project' literal value.
|
static int |
STREAM_VALUE
The 'Stream' literal value.
|
static int |
USER_VALUE
The 'User' literal value.
|
static List<ScopeType> |
VALUES
A public read-only list of all the 'Scope Type' enumerators.
|
static int |
WORKSPACE_VALUE
The 'Workspace' literal value.
|
Modifier and Type | Method and Description |
---|---|
static ScopeType |
get(int value)
Returns the 'Scope Type' literal with the specified integer value.
|
static ScopeType |
get(String literal)
Returns the 'Scope Type' literal with the specified literal value.
|
static ScopeType |
getByName(String name)
Returns the 'Scope 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 ScopeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScopeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScopeType NONE
NONE_VALUE
public static final ScopeType PRODUCT_CATALOG
PRODUCT_CATALOG_VALUE
public static final ScopeType PRODUCT
PRODUCT_VALUE
public static final ScopeType PRODUCT_VERSION
PRODUCT_VERSION_VALUE
public static final ScopeType PROJECT_CATALOG
PROJECT_CATALOG_VALUE
public static final ScopeType PROJECT
PROJECT_VALUE
public static final ScopeType STREAM
STREAM_VALUE
public static final ScopeType INSTALLATION
INSTALLATION_VALUE
public static final ScopeType WORKSPACE
WORKSPACE_VALUE
public static final ScopeType USER
USER_VALUE
public static final int NONE_VALUE
If the meaning of 'None' literal object isn't clear, there really should be more of a description here...
NONE
,
Constant Field Valuespublic static final int PRODUCT_CATALOG_VALUE
If the meaning of 'Product Catalog' literal object isn't clear, there really should be more of a description here...
PRODUCT_CATALOG
,
Constant Field Valuespublic static final int PRODUCT_VALUE
If the meaning of 'Product' literal object isn't clear, there really should be more of a description here...
PRODUCT
,
Constant Field Valuespublic static final int PRODUCT_VERSION_VALUE
If the meaning of 'Product Version' literal object isn't clear, there really should be more of a description here...
PRODUCT_VERSION
,
Constant Field Valuespublic static final int PROJECT_CATALOG_VALUE
If the meaning of 'Project Catalog' literal object isn't clear, there really should be more of a description here...
PROJECT_CATALOG
,
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 STREAM_VALUE
If the meaning of 'Stream' literal object isn't clear, there really should be more of a description here...
STREAM
,
Constant Field Valuespublic static final int INSTALLATION_VALUE
If the meaning of 'Installation' literal object isn't clear, there really should be more of a description here...
INSTALLATION
,
Constant Field Valuespublic static final int WORKSPACE_VALUE
If the meaning of 'Workspace' literal object isn't clear, there really should be more of a description here...
WORKSPACE
,
Constant Field Valuespublic static final int USER_VALUE
If the meaning of 'User' literal object isn't clear, there really should be more of a description here...
USER
,
Constant Field Valuespublic static ScopeType[] values()
for (ScopeType c : ScopeType.values()) System.out.println(c);
public static ScopeType 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 ScopeType get(String literal)
public static ScopeType getByName(String name)
public static ScopeType get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
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