public class PhoneType extends Object implements HybrisEnumValue
| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static PhoneType |
HOME
Generated enum value for PhoneType.HOME declared at extension mobileservices.
|
static PhoneType |
MOBILE
Generated enum value for PhoneType.MOBILE declared at extension mobileservices.
|
static PhoneType |
OFFICE
Generated enum value for PhoneType.OFFICE declared at extension mobileservices.
|
static String |
SIMPLE_CLASSNAME
Generated simple class name constant.
|
| 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
PhoneType. |
String |
toString()
Returns the code representing this enum value.
|
static PhoneType |
valueOf(String code)
Returns a PhoneType instance representing the specified enum value.
|
public static final String _TYPECODE
public static final String SIMPLE_CLASSNAME
public static final PhoneType MOBILE
public static final PhoneType OFFICE
public static final PhoneType HOME
public boolean equals(Object obj)
true
if and only if the argument is not null and is an PhoneType
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()
PhoneType.public String toString()
Copyright © 2017 SAP SE. All Rights Reserved.