Package de.hybris.platform.b2b.enums
Class PermissionType
java.lang.Object
de.hybris.platform.b2b.enums.PermissionType
- All Implemented Interfaces:
de.hybris.platform.core.HybrisEnumValue,Serializable
Generated enum PermissionType declared at extension b2bapprovalprocess.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final PermissionTypeGenerated enum value for PermissionType.AMOUNTTIMESPAN declared at extension b2bapprovalprocess.static final PermissionTypeGenerated enum value for PermissionType.BUDGETEXCEEDED declared at extension b2bapprovalprocess.static final PermissionTypeGenerated enum value for PermissionType.ORDERTHRESHOLD declared at extension b2bapprovalprocess.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 thisPermissionType.toString()Returns the code representing this enum value.static PermissionTypeReturns a PermissionType 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:
-
ORDERTHRESHOLD
Generated enum value for PermissionType.ORDERTHRESHOLD declared at extension b2bapprovalprocess. -
BUDGETEXCEEDED
Generated enum value for PermissionType.BUDGETEXCEEDED declared at extension b2bapprovalprocess. -
AMOUNTTIMESPAN
Generated enum value for PermissionType.AMOUNTTIMESPAN declared at extension b2bapprovalprocess.
-
-
Method Details
-
equals
Compares this object to the specified object. The result istrueif and only if the argument is notnulland is anPermissionTypeobject that contains the enum valuecodeas this object. -
getCode
Gets the code of this enum value.- Specified by:
getCodein interfacede.hybris.platform.core.HybrisEnumValue- Returns:
- code of value
-
getType
Gets the type this enum value belongs to.- Specified by:
getTypein interfacede.hybris.platform.core.HybrisEnumValue- Returns:
- code of type
-
hashCode
public int hashCode()Returns a hash code for thisPermissionType. -
toString
Returns the code representing this enum value. -
valueOf
Returns a PermissionType instance representing the specified enum value.- Parameters:
code- an enum value- Returns:
- a PermissionType instance representing value.
-