Package de.hybris.platform.b2b.enums
Class B2BPermissionTypeEnum
java.lang.Object
de.hybris.platform.b2b.enums.B2BPermissionTypeEnum
- All Implemented Interfaces:
HybrisEnumValue,Serializable
Generated enum B2BPermissionTypeEnum declared at extension b2bcommerce.
This enum type will be used for selecting B2B Permission type.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final B2BPermissionTypeEnumGenerated enum value for B2BPermissionTypeEnum.B2BBudgetExceededPermission declared at extension b2bcommerce.static final B2BPermissionTypeEnumGenerated enum value for B2BPermissionTypeEnum.B2BOrderThresholdPermission declared at extension b2bcommerce.static final B2BPermissionTypeEnumGenerated enum value for B2BPermissionTypeEnum.B2BOrderThresholdTimespanPermission declared at extension b2bcommerce.static final StringGenerated simple class name constant. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares this object to the specified object.getCode()Gets the code of this enum value.getType()Gets the type this enum value belongs to.inthashCode()Returns a hash code for thisB2BPermissionTypeEnum.toString()Returns the code representing this enum value.static B2BPermissionTypeEnumReturns a B2BPermissionTypeEnum instance representing the specified enum value.
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
SIMPLE_CLASSNAME
Generated simple class name constant.- See Also:
-
B2BORDERTHRESHOLDPERMISSION
Generated enum value for B2BPermissionTypeEnum.B2BOrderThresholdPermission declared at extension b2bcommerce. -
B2BORDERTHRESHOLDTIMESPANPERMISSION
Generated enum value for B2BPermissionTypeEnum.B2BOrderThresholdTimespanPermission declared at extension b2bcommerce. -
B2BBUDGETEXCEEDEDPERMISSION
Generated enum value for B2BPermissionTypeEnum.B2BBudgetExceededPermission declared at extension b2bcommerce.
-
-
Method Details
-
equals
Compares this object to the specified object. The result istrueif and only if the argument is notnulland is anB2BPermissionTypeEnumobject that contains the enum valuecodeas this object. -
getCode
Gets the code of this enum value.- Specified by:
getCodein interfaceHybrisEnumValue- Returns:
- code of value
-
getType
Gets the type this enum value belongs to.- Specified by:
getTypein interfaceHybrisEnumValue- Returns:
- code of type
-
hashCode
public int hashCode()Returns a hash code for thisB2BPermissionTypeEnum. -
toString
Returns the code representing this enum value. -
valueOf
Returns a B2BPermissionTypeEnum instance representing the specified enum value.- Parameters:
code- an enum value- Returns:
- a B2BPermissionTypeEnum instance representing value.
-