public class IntervalResolution extends java.lang.Object implements HybrisEnumValue
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static IntervalResolution |
DAY
Generated enum value for IntervalResolution.DAY declared at extension basecommerce.
|
static IntervalResolution |
HOUR
Generated enum value for IntervalResolution.HOUR declared at extension basecommerce.
|
static IntervalResolution |
MINUTE
Generated enum value for IntervalResolution.MINUTE declared at extension basecommerce.
|
static IntervalResolution |
MONTH
Generated enum value for IntervalResolution.MONTH declared at extension basecommerce.
|
static java.lang.String |
SIMPLE_CLASSNAME
Generated simple class name constant.
|
static IntervalResolution |
WEEK
Generated enum value for IntervalResolution.WEEK declared at extension basecommerce.
|
static IntervalResolution |
YEAR
Generated enum value for IntervalResolution.YEAR declared at extension basecommerce.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares this object to the specified object.
|
java.lang.String |
getCode()
Gets the code of this enum value.
|
java.lang.String |
getType()
Gets the type this enum value belongs to.
|
int |
hashCode()
Returns a hash code for this
IntervalResolution. |
java.lang.String |
toString()
Returns the code representing this enum value.
|
static IntervalResolution |
valueOf(java.lang.String code)
Returns a IntervalResolution instance representing the specified enum value.
|
public static final java.lang.String _TYPECODE
public static final java.lang.String SIMPLE_CLASSNAME
public static final IntervalResolution YEAR
public static final IntervalResolution MONTH
public static final IntervalResolution WEEK
public static final IntervalResolution DAY
public static final IntervalResolution HOUR
public static final IntervalResolution MINUTE
public boolean equals(java.lang.Object obj)
true
if and only if the argument is not null and is an IntervalResolution
object that contains the enum value code as this object.equals in class java.lang.Objectobj - the object to compare with.true if the objects are the same;
false otherwise.public java.lang.String getCode()
getCode in interface HybrisEnumValuepublic java.lang.String getType()
getType in interface HybrisEnumValuepublic int hashCode()
IntervalResolution.hashCode in class java.lang.Objectcode
represented by this IntervalResolution object.public java.lang.String toString()
toString in class java.lang.Objectpublic static IntervalResolution valueOf(java.lang.String code)
code - an enum valueCopyright © 2018 SAP SE. All Rights Reserved.