|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jguild.jrpm.io.constant.LeadType
Constants for Lead type.
Field Summary | |
static int |
_BINARY
|
static int |
_SOURCE
|
static LeadType |
BINARY
|
static LeadType |
SOURCE
|
static LeadType |
UNKNOWN
|
Fields inherited from interface com.jguild.jrpm.io.constant.EnumIf |
_UNKNOWN |
Method Summary | |
static boolean |
containsEnumId(java.lang.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(java.lang.String name)
Get a enum by name |
static java.lang.String[] |
getEnumNames()
Get all defined enums of this class |
long |
getId()
Get the id of this enum object |
static LeadType |
getLeadType(int type)
Get a enum of this class by id |
java.lang.String |
getName()
Get the name of this enum object |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final LeadType UNKNOWN
public static final int _BINARY
public static final LeadType BINARY
public static final int _SOURCE
public static final LeadType SOURCE
Method Detail |
public static EnumIf getEnumById(long id)
id
- The id of the enum
public static EnumIf getEnumByName(java.lang.String name)
name
- The name of the enum
public static java.lang.String[] getEnumNames()
public static LeadType getLeadType(int type)
type
- The id
public static boolean containsEnumId(java.lang.Long id)
id
- The id of the enum
public long getId()
EnumIf
getId
in interface EnumIf
public java.lang.String getName()
EnumIf
getName
in interface EnumIf
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |