Enum BusinessUnitStoreMode.BusinessUnitStoreModeEnum
java.lang.Object
java.lang.Enum<BusinessUnitStoreMode.BusinessUnitStoreModeEnum>
com.commercetools.api.models.business_unit.BusinessUnitStoreMode.BusinessUnitStoreModeEnum
- All Implemented Interfaces:
BusinessUnitStoreMode
,JsonEnum
,Serializable
,Comparable<BusinessUnitStoreMode.BusinessUnitStoreModeEnum>
,java.lang.constant.Constable
- Enclosing interface:
- BusinessUnitStoreMode
public static enum BusinessUnitStoreMode.BusinessUnitStoreModeEnum
extends Enum<BusinessUnitStoreMode.BusinessUnitStoreModeEnum>
implements BusinessUnitStoreMode
possible values of BusinessUnitStoreMode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface com.commercetools.api.models.business_unit.BusinessUnitStoreMode
BusinessUnitStoreMode.BusinessUnitStoreModeEnum
-
Enum Constant Summary
-
Field Summary
Fields inherited from interface com.commercetools.api.models.business_unit.BusinessUnitStoreMode
EXPLICIT, FROM_PARENT
-
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
Methods inherited from interface com.commercetools.api.models.business_unit.BusinessUnitStoreMode
name
-
Enum Constant Details
-
EXPLICIT
Explicit -
FROM_PARENT
FromParent
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getJsonName
Description copied from interface:BusinessUnitStoreMode
the JSON value- Specified by:
getJsonName
in interfaceBusinessUnitStoreMode
- Specified by:
getJsonName
in interfaceJsonEnum
- Returns:
- json value
-
toString
Description copied from interface:BusinessUnitStoreMode
convert value to string- Specified by:
toString
in interfaceBusinessUnitStoreMode
- Specified by:
toString
in interfaceJsonEnum
- Overrides:
toString
in classEnum<BusinessUnitStoreMode.BusinessUnitStoreModeEnum>
- Returns:
- string representation
-