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

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

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

A representation of the literals of the enumeration ' Data Type', and utility methods for working with them. This type represents the possible data type values associated with chart components.

See Also:
AttributePackage.getDataType(), Serialized Form

Field Summary
static int DATE_TIME
          The 'Date Time' literal value.
static DataType DATE_TIME_LITERAL
          The 'Date Time' literal object.
static int NUMERIC
          The 'Numeric' literal value.
static DataType NUMERIC_LITERAL
          The 'Numeric' literal object.
static int TEXT
          The 'Text' literal value.
static DataType TEXT_LITERAL
          The 'Text' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Data Type' enumerators.
 
Method Summary
static DataType get(int value)
          Returns the 'Data Type' literal with the specified integer value.
static DataType get(java.lang.String literal)
          Returns the 'Data Type' literal with the specified literal value.
static DataType getByName(java.lang.String name)
          Returns the 'Data 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

NUMERIC

public static final int NUMERIC
The 'Numeric' literal value.

See Also:
NUMERIC_LITERAL, Constant Field Values

DATE_TIME

public static final int DATE_TIME
The 'Date Time' literal value.

See Also:
DATE_TIME_LITERAL, Constant Field Values

TEXT

public static final int TEXT
The 'Text' literal value.

See Also:
TEXT_LITERAL, Constant Field Values

NUMERIC_LITERAL

public static final DataType NUMERIC_LITERAL
The 'Numeric' literal object.

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

See Also:
NUMERIC

DATE_TIME_LITERAL

public static final DataType DATE_TIME_LITERAL
The 'Date Time' literal object.

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

See Also:
DATE_TIME

TEXT_LITERAL

public static final DataType TEXT_LITERAL
The 'Text' literal object.

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

See Also:
TEXT

VALUES

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

Method Detail

get

public static DataType get(java.lang.String literal)
Returns the 'Data Type' literal with the specified literal value.


getByName

public static DataType getByName(java.lang.String name)
Returns the 'Data Type' literal with the specified name.


get

public static DataType get(int value)
Returns the 'Data Type' literal with the specified integer value.



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