public enum LeadSourceType extends java.lang.Enum<LeadSourceType> implements ICRMLookupEnum
Enum Constant and Description |
---|
ADVERTISEMENT |
COMMUNICATIONS |
CUSTOM1 |
CUSTOM2 |
CUSTOM3 |
CUSTOM4 |
CUSTOM5 |
NOTIFICATIONS |
OTHER |
RECOMMENDEDBYCONTACT |
RECOMMENDEDBYEMPLOYEE |
RECOMMENDEDBYPARTNER |
WEBSITE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
static LeadSourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LeadSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LeadSourceType ADVERTISEMENT
public static final LeadSourceType NOTIFICATIONS
public static final LeadSourceType COMMUNICATIONS
public static final LeadSourceType RECOMMENDEDBYCONTACT
public static final LeadSourceType RECOMMENDEDBYEMPLOYEE
public static final LeadSourceType RECOMMENDEDBYPARTNER
public static final LeadSourceType WEBSITE
public static final LeadSourceType OTHER
public static final LeadSourceType CUSTOM1
public static final LeadSourceType CUSTOM2
public static final LeadSourceType CUSTOM3
public static final LeadSourceType CUSTOM4
public static final LeadSourceType CUSTOM5
public static LeadSourceType[] values()
for (LeadSourceType c : LeadSourceType.values()) System.out.println(c);
public static LeadSourceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getLabel()
getLabel
in interface ICRMLookupEnum