public enum DateTimeDisplayType extends Enum<DateTimeDisplayType> implements org.eclipse.emf.common.util.Enumerator
VViewPackage.getDateTimeDisplayType()
Enum Constant and Description |
---|
DATE_ONLY
The 'Date Only' literal object.
|
TIME_AND_DATE
The 'Time And Date' literal object.
|
TIME_ONLY
The 'Time Only' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
DATE_ONLY_VALUE
The 'Date Only' literal value.
|
static int |
TIME_AND_DATE_VALUE
The 'Time And Date' literal value.
|
static int |
TIME_ONLY_VALUE
The 'Time Only' literal value.
|
static List<DateTimeDisplayType> |
VALUES
A public read-only list of all the 'Date Time Display Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static DateTimeDisplayType |
get(int value)
Returns the 'Date Time Display Type' literal with the specified integer value.
|
static DateTimeDisplayType |
get(String literal)
Returns the 'Date Time Display Type' literal with the specified literal value.
|
static DateTimeDisplayType |
getByName(String name)
Returns the 'Date Time Display 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 DateTimeDisplayType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeDisplayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimeDisplayType TIME_AND_DATE
TIME_AND_DATE_VALUE
public static final DateTimeDisplayType TIME_ONLY
TIME_ONLY_VALUE
public static final DateTimeDisplayType DATE_ONLY
DATE_ONLY_VALUE
public static final int TIME_AND_DATE_VALUE
If the meaning of 'Time And Date' literal object isn't clear, there really should be more of a description here...
TIME_AND_DATE
,
Constant Field Valuespublic static final int TIME_ONLY_VALUE
If the meaning of 'Time Only' literal object isn't clear, there really should be more of a description here...
TIME_ONLY
,
Constant Field Valuespublic static final int DATE_ONLY_VALUE
If the meaning of 'Date Only' literal object isn't clear, there really should be more of a description here...
DATE_ONLY
,
Constant Field Valuespublic static final List<DateTimeDisplayType> VALUES
public static DateTimeDisplayType[] values()
for (DateTimeDisplayType c : DateTimeDisplayType.values()) System.out.println(c);
public static DateTimeDisplayType 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 DateTimeDisplayType get(String literal)
literal
- the literal.null
.public static DateTimeDisplayType getByName(String name)
name
- the name.null
.public static DateTimeDisplayType get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public String toString()
toString
in class Enum<DateTimeDisplayType>
Copyright © 2018. All rights reserved.