biz.c24.io.api.data
Class NumberPatternInstanceEnum

java.lang.Object
  extended by biz.c24.io.api.data.NumberPatternInstanceEnum
All Implemented Interfaces:
Serializable

public final class NumberPatternInstanceEnum
extends Object
implements Serializable

An enumeration of the valid number pattern instances.

A number pattern instance defines the style of localised pattern that should be used to format a number.

See Also:
NumberFormat, Serialized Form

Field Summary
static NumberPatternInstanceEnum CURRENCY
          Specifies a currency pattern should be used when localised.
static NumberPatternInstanceEnum INTEGER
          Specifies an integer pattern should be used when localised.
static NumberPatternInstanceEnum NUMBER
          Specifies a number pattern should be used when localised.
static NumberPatternInstanceEnum PERCENT
          Specifies a percent pattern should be used when localised.
 
Method Summary
static NumberPatternInstanceEnum[] getEnumArray()
          Returns an array containing the members of this enumeration.
static NumberPatternInstanceEnum getEnumValue(String name)
          Returns the enumeration value called name.
 String getName()
          Returns the name.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INTEGER

public static final NumberPatternInstanceEnum INTEGER
Specifies an integer pattern should be used when localised.


NUMBER

public static final NumberPatternInstanceEnum NUMBER
Specifies a number pattern should be used when localised.


CURRENCY

public static final NumberPatternInstanceEnum CURRENCY
Specifies a currency pattern should be used when localised.


PERCENT

public static final NumberPatternInstanceEnum PERCENT
Specifies a percent pattern should be used when localised.

Method Detail

getName

public String getName()
Returns the name.

Returns:
The name.

toString

public String toString()
Overrides:
toString in class Object

getEnumArray

public static NumberPatternInstanceEnum[] getEnumArray()
Returns an array containing the members of this enumeration.

Returns:
The enumeration as an array.

getEnumValue

public static NumberPatternInstanceEnum getEnumValue(String name)
Returns the enumeration value called name.

Parameters:
name - The name of the enumeration value to return.
Returns:
The enumeration value or null if none was found.


C24 Technologies © 2002-2012: All Rights Reserved.