ariba.util.fieldtype
Interface NumericTypes

All Known Implementing Classes:
ExprOps

public interface NumericTypes

This interface defines some useful constants for describing the various possible numeric types of AribaExpr.

Author:
Luke Blanshard (blanshlu@netscape.net), Drew Davidson (drew@ognl.org)

Field Summary
static int BIGDEC
          Type tag meaning java.math.BigDecimal.
static int BIGINT
          Type tag meaning java.math.BigInteger.
static int BOOL
          Type tag meaning boolean.
static int BYTE
          Type tag meaning byte.
static int CHAR
          Type tag meaning char.
static int CUSTOMNUMERICTYPE
          Type tag meaning something other than a number.
static int DOUBLE
          Type tag meaning double.
static int FLOAT
          Type tag meaning float.
static int INT
          Type tag meaning int.
static int LONG
          Type tag meaning long.
static int MIN_REAL_TYPE
          The smallest type tag that represents reals as opposed to integers.
static int NONNUMERIC
          Type tag meaning something other than a number.
static int NULL
           
static int SHORT
          Type tag meaning short.
 

Field Detail

NULL

static final int NULL
See Also:
Constant Field Values

BOOL

static final int BOOL
Type tag meaning boolean.

See Also:
Constant Field Values

BYTE

static final int BYTE
Type tag meaning byte.

See Also:
Constant Field Values

CHAR

static final int CHAR
Type tag meaning char.

See Also:
Constant Field Values

SHORT

static final int SHORT
Type tag meaning short.

See Also:
Constant Field Values

INT

static final int INT
Type tag meaning int.

See Also:
Constant Field Values

LONG

static final int LONG
Type tag meaning long.

See Also:
Constant Field Values

BIGINT

static final int BIGINT
Type tag meaning java.math.BigInteger.

See Also:
Constant Field Values

FLOAT

static final int FLOAT
Type tag meaning float.

See Also:
Constant Field Values

DOUBLE

static final int DOUBLE
Type tag meaning double.

See Also:
Constant Field Values

BIGDEC

static final int BIGDEC
Type tag meaning java.math.BigDecimal.

See Also:
Constant Field Values

CUSTOMNUMERICTYPE

static final int CUSTOMNUMERICTYPE
Type tag meaning something other than a number.

See Also:
Constant Field Values

NONNUMERIC

static final int NONNUMERIC
Type tag meaning something other than a number.

See Also:
Constant Field Values

MIN_REAL_TYPE

static final int MIN_REAL_TYPE
The smallest type tag that represents reals as opposed to integers. You can see whether a type tag represents reals or integers by comparing the tag to this constant: all tags less than this constant represent integers, and all tags greater than or equal to this constant represent reals. Of course, you must also check for NONNUMERIC, which means it is not a number at all.

See Also:
Constant Field Values


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.