com.jguild.jrpm.io.constant
public final class LeadType extends Object implements EnumIf
Version: $Id: LeadType.java,v 1.3 2003/10/20 16:32:12 mkuss Exp $
| Field Summary | |
|---|---|
| static LeadType | BINARY |
| static LeadType | SOURCE |
| static LeadType | UNKNOWN |
| static int | _BINARY |
| static int | _SOURCE |
| 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() |
| static LeadType | getLeadType(int type)
Get a enum of this class by id
|
| String | getName() |
| 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