com.jguild.jrpm.io.constant
public final class RPMIndexType extends Object implements EnumIf
Version: $Id: RPMIndexType.java,v 1.3 2003/10/20 16:32:12 mkuss Exp $
Field Summary | |
---|---|
static RPMIndexType | BIN |
static RPMIndexType | CHAR |
static RPMIndexType | I18NSTRING |
static RPMIndexType | INT16 |
static RPMIndexType | INT32 |
static RPMIndexType | INT64 |
static RPMIndexType | INT8 |
static RPMIndexType | NULL |
static RPMIndexType | STRING |
static RPMIndexType | STRING_ARRAY |
static RPMIndexType | UNKNOWN |
static int | _BIN |
static int | _CHAR |
static int | _I18NSTRING |
static int | _INT16 |
static int | _INT32 |
static int | _INT64 |
static int | _INT8 |
static int | _NULL |
static int | _STRING |
static int | _STRING_ARRAY |
Method Summary | |
---|---|
static boolean | containsEnumId(Long id)
Check if this enum class contains a enum of a specified id
|
static EnumIf | getEnumById(long id)
Get a enum by id
|
static EnumIf | getEnumByName(String name)
Get a enum by name
|
static String[] | getEnumNames()
Get all defined enums of this class
|
long | getId() |
String | getName() |
static RPMIndexType | getRPMIndexType(long type)
Get a enum of this class by id
|
int | getSize()
Get the size of this enum in byte
|
String | toString() |
Parameters: id The id of the enum
Returns: TRUE if the enum is defined in this class
Parameters: id The id of the enum
Returns: The enum object
Parameters: name The name of the enum
Returns: The enum object
Returns: An array of all defined enum objects
Parameters: type The id
Returns: The enum object
Returns: The size in byte