org.eclipse.birt.chart.model.attribute
Class DateFormatType

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by org.eclipse.birt.chart.model.attribute.DateFormatType
All Implemented Interfaces:
java.io.Serializable, org.eclipse.emf.common.util.Enumerator

public final class DateFormatType
extends org.eclipse.emf.common.util.AbstractEnumerator

A representation of the literals of the enumeration ' Date Format Type', and utility methods for working with them. This type defines predefined date format types.

See Also:
AttributePackage.getDateFormatType(), Serialized Form

Field Summary
static int FULL
          The 'Full' literal value.
static DateFormatType FULL_LITERAL
          The 'Full' literal object.
static int LONG
          The 'Long' literal value.
static DateFormatType LONG_LITERAL
          The 'Long' literal object.
static int MEDIUM
          The 'Medium' literal value.
static DateFormatType MEDIUM_LITERAL
          The 'Medium' literal object.
static int SHORT
          The 'Short' literal value.
static DateFormatType SHORT_LITERAL
          The 'Short' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Date Format Type' enumerators.
 
Method Summary
static DateFormatType get(int value)
          Returns the 'Date Format Type' literal with the specified integer value.
static DateFormatType get(java.lang.String literal)
          Returns the 'Date Format Type' literal with the specified literal value.
static DateFormatType getByName(java.lang.String name)
          Returns the 'Date Format Type' literal with the specified name.
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LONG

public static final int LONG
The 'Long' literal value.

See Also:
LONG_LITERAL, Constant Field Values

SHORT

public static final int SHORT
The 'Short' literal value.

See Also:
SHORT_LITERAL, Constant Field Values

MEDIUM

public static final int MEDIUM
The 'Medium' literal value.

See Also:
MEDIUM_LITERAL, Constant Field Values

FULL

public static final int FULL
The 'Full' literal value.

See Also:
FULL_LITERAL, Constant Field Values

LONG_LITERAL

public static final DateFormatType LONG_LITERAL
The 'Long' literal object.

If the meaning of 'Long' literal object isn't clear, there really should be more of a description here...

See Also:
LONG

SHORT_LITERAL

public static final DateFormatType SHORT_LITERAL
The 'Short' literal object.

If the meaning of 'Short' literal object isn't clear, there really should be more of a description here...

See Also:
SHORT

MEDIUM_LITERAL

public static final DateFormatType MEDIUM_LITERAL
The 'Medium' literal object.

If the meaning of 'Medium' literal object isn't clear, there really should be more of a description here...

See Also:
MEDIUM

FULL_LITERAL

public static final DateFormatType FULL_LITERAL
The 'Full' literal object.

If the meaning of 'Full' literal object isn't clear, there really should be more of a description here...

See Also:
FULL

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'Date Format Type' enumerators.

Method Detail

get

public static DateFormatType get(java.lang.String literal)
Returns the 'Date Format Type' literal with the specified literal value.


getByName

public static DateFormatType getByName(java.lang.String name)
Returns the 'Date Format Type' literal with the specified name.


get

public static DateFormatType get(int value)
Returns the 'Date Format Type' literal with the specified integer value.



Copyright © 2005-2008 Actuate Corp. All rights reserved.