org.apache.ws.jaxme.sqls.db2

Class PageSize

public class PageSize extends Object

A DB2 page size is limited to certain values.

Field Summary
static PageSizePAGESIZE_16384
The default page size (16384 bytes).
static PageSizePAGESIZE_32768
The default page size (32768 bytes).
static PageSizePAGESIZE_4096
The default page size (4096 bytes).
static PageSizePAGESIZE_8192
The default page size (8192 bytes).
Method Summary
booleanequals(Object pOther)
static PageSize[]getInstances()
Returns the possible pagesize specifications.
longgetSize()
Returns the size of the pagesize specification.
inthashCode()
StringtoString()
static PageSizevalueOf(String pSize)
Converts the given string into a pagesize specification.
static PageSizevalueOf(long pSize)
Converts the given long value into a pagesize specification.

Field Detail

PAGESIZE_16384

public static final PageSize PAGESIZE_16384
The default page size (16384 bytes).

PAGESIZE_32768

public static final PageSize PAGESIZE_32768
The default page size (32768 bytes).

PAGESIZE_4096

public static final PageSize PAGESIZE_4096
The default page size (4096 bytes).

PAGESIZE_8192

public static final PageSize PAGESIZE_8192
The default page size (8192 bytes).

Method Detail

equals

public boolean equals(Object pOther)

getInstances

public static PageSize[] getInstances()
Returns the possible pagesize specifications.

getSize

public long getSize()
Returns the size of the pagesize specification.

hashCode

public int hashCode()

toString

public String toString()

valueOf

public static PageSize valueOf(String pSize)
Converts the given string into a pagesize specification.

valueOf

public static PageSize valueOf(long pSize)
Converts the given long value into a pagesize specification.