public class PhoneContactInfoType extends Object implements HybrisEnumValue
| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static PhoneContactInfoType |
HOME
Generated enum value for PhoneContactInfoType.HOME declared at extension core.
|
static PhoneContactInfoType |
MOBILE
Generated enum value for PhoneContactInfoType.MOBILE declared at extension core.
|
static String |
SIMPLE_CLASSNAME
Generated simple class name constant.
|
static PhoneContactInfoType |
WORK
Generated enum value for PhoneContactInfoType.WORK declared at extension core.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compares this object to the specified object.
|
String |
getCode()
Gets the code of this enum value.
|
String |
getType()
Gets the type this enum value belongs to.
|
int |
hashCode()
Returns a hash code for this
PhoneContactInfoType. |
String |
toString()
Returns the code representing this enum value.
|
static PhoneContactInfoType |
valueOf(String code)
Returns a PhoneContactInfoType instance representing the specified enum value.
|
public static final String _TYPECODE
public static final String SIMPLE_CLASSNAME
public static final PhoneContactInfoType MOBILE
public static final PhoneContactInfoType WORK
public static final PhoneContactInfoType HOME
public boolean equals(Object obj)
true
if and only if the argument is not null and is an PhoneContactInfoType
object that contains the enum value code as this object.public String getCode()
getCode in interface HybrisEnumValuepublic String getType()
getType in interface HybrisEnumValuepublic int hashCode()
PhoneContactInfoType.public String toString()
public static PhoneContactInfoType valueOf(String code)
code - an enum valueCopyright © 2017 SAP SE. All Rights Reserved.