IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.plugins.io.datadescriptor
Enum AttributeType

java.lang.Object
  extended by java.lang.Enum<AttributeType>
      extended by com.ibm.websphere.objectgrid.plugins.io.datadescriptor.AttributeType
All Implemented Interfaces:
Serializable, Comparable<AttributeType>

public enum AttributeType
extends Enum<AttributeType>

Identifies all types that can be set on an Attribute. The attribute types are used to identify how the eXtreme Scale runtime can access and store data appropriately.

Since:
7.1.1
See Also:
Attribute

Enum Constant Summary
BIGDECIMAL
          An arbitrary-precision signed decimal.
BIGINT
          An integer with arbitrary precision.
BOOLEAN
          A binary value representing true or false.
BYTE
          A 8-bit integer.
BYTES
          Represents an array of bytes.
CHAR
          Represents a single unicode character.
DATE
          Represents a date.
DATETIME
          Represents a date and time.
DOUBLE
          Represents a double floating point decimal.
EMBEDDED
          Represents a double floating point decimal.
ENUM
          Represents an enumeration.
FLOAT
          Represents a single floating point decimal.
INT16
          A 16-bit integer.
INT32
          A 32-bit integer.
INT64
          A 64-bit integer.
OBJECT
          Represents an arbitrary serializable Object.
STRING
          Represents a variable length unicode string.
TIME
          Represents a time.
TIMESTAMP
          Represents a date and time including nanos.
 
Method Summary
static AttributeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AttributeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BOOLEAN

public static final AttributeType BOOLEAN
A binary value representing true or false.

The equivalent Java data type is: boolean or java.lang.Boolean


BYTE

public static final AttributeType BYTE
A 8-bit integer. The equivalent Java data type is: byte or java.lang.Byte


BYTES

public static final AttributeType BYTES
Represents an array of bytes. The equivalent Java data type is: byte[]


INT16

public static final AttributeType INT16
A 16-bit integer. The equivalent Java data type is: short or java.lang.Short


INT32

public static final AttributeType INT32
A 32-bit integer. The equivalent Java data type is: int or java.lang.Integer


INT64

public static final AttributeType INT64
A 64-bit integer. The equivalent Java data type is: long or java.lang.Long


BIGINT

public static final AttributeType BIGINT
An integer with arbitrary precision. The equivalent Java data type is: java.math.BigInteger


FLOAT

public static final AttributeType FLOAT
Represents a single floating point decimal. The equivalent Java data type is: float or java.lang.Double


DOUBLE

public static final AttributeType DOUBLE
Represents a double floating point decimal. The equivalent Java data type is: float or java.lang.Double


BIGDECIMAL

public static final AttributeType BIGDECIMAL
An arbitrary-precision signed decimal. The equivalent Java data type is: java.math.BigDecimal


CHAR

public static final AttributeType CHAR
Represents a single unicode character. The equivalent Java data type is: char or java.lang.Character


DATE

public static final AttributeType DATE
Represents a date. The equivalent Java data type is: java.sql.Date


TIME

public static final AttributeType TIME
Represents a time. The equivalent Java data is: java.sql.Time


DATETIME

public static final AttributeType DATETIME
Represents a date and time. The equivalent Java data type is: java.util.Date


TIMESTAMP

public static final AttributeType TIMESTAMP
Represents a date and time including nanos. The equivalent Java data type is: java.sql.Timestamp


EMBEDDED

public static final AttributeType EMBEDDED
Represents a double floating point decimal. The equivalent Java data type is: float or java.lang.Double


STRING

public static final AttributeType STRING
Represents a variable length unicode string. The equivalent Java data type is: java.lang.String


ENUM

public static final AttributeType ENUM
Represents an enumeration. The equivalent Java data type is: enum


OBJECT

public static final AttributeType OBJECT
Represents an arbitrary serializable Object. The equivalent Java data type is: java.lang.Object

Method Detail

values

public static AttributeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AttributeType c : AttributeType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AttributeType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.