public enum UnsignedPolicy extends Enum<UnsignedPolicy> implements Enumerator
SetupPackage.getUnsignedPolicy()
Enum Constant and Description |
---|
ACCEPT
The 'ACCEPT' literal object.
|
DECLINE
The 'DECLINE' literal object.
|
PROMPT
The 'PROMPT' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
ACCEPT_VALUE
The 'ACCEPT' literal value.
|
static int |
DECLINE_VALUE
The 'DECLINE' literal value.
|
static int |
PROMPT_VALUE
The 'PROMPT' literal value.
|
static List<UnsignedPolicy> |
VALUES
A public read-only list of all the 'Unsigned Policy' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static UnsignedPolicy |
get(int value)
Returns the 'Unsigned Policy' literal with the specified integer value.
|
static UnsignedPolicy |
get(String literal)
Returns the 'Unsigned Policy' literal with the specified literal value.
|
static UnsignedPolicy |
getByName(String name)
Returns the 'Unsigned Policy' 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 UnsignedPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnsignedPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnsignedPolicy PROMPT
PROMPT_VALUE
public static final UnsignedPolicy ACCEPT
ACCEPT_VALUE
public static final UnsignedPolicy DECLINE
DECLINE_VALUE
public static final int PROMPT_VALUE
If the meaning of 'PROMPT' literal object isn't clear, there really should be more of a description here...
PROMPT
,
Constant Field Valuespublic static final int ACCEPT_VALUE
If the meaning of 'ACCEPT' literal object isn't clear, there really should be more of a description here...
ACCEPT
,
Constant Field Valuespublic static final int DECLINE_VALUE
If the meaning of 'DECLINE' literal object isn't clear, there really should be more of a description here...
DECLINE
,
Constant Field Valuespublic static final List<UnsignedPolicy> VALUES
public static UnsignedPolicy[] values()
for (UnsignedPolicy c : UnsignedPolicy.values()) System.out.println(c);
public static UnsignedPolicy 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 UnsignedPolicy get(String literal)
public static UnsignedPolicy getByName(String name)
public static UnsignedPolicy 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<UnsignedPolicy>
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