Class AgrAgreementType

java.lang.Object
de.hybris.platform.agreementservices.enums.AgrAgreementType
All Implemented Interfaces:
de.hybris.platform.core.HybrisEnumValue, Serializable

@Deprecated(since="2208", forRemoval=true) public class AgrAgreementType extends Object implements de.hybris.platform.core.HybrisEnumValue
Deprecated, for removal: This API element is subject to removal in a future version.
Generated enum AgrAgreementType declared at extension agreementservices.

Type describing type of the agreement.

See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated model type code constant.
    static final AgrAgreementType
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated enum value for AgrAgreementType.COMMERCIAL declared at extension agreementservices.
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated simple class name constant.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Compares this object to the specified object.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the code of this enum value.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the type this enum value belongs to.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns a hash code for this AgrAgreementType.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the code representing this enum value.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns a AgrAgreementType instance representing the specified enum value.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated model type code constant.
      See Also:
    • SIMPLE_CLASSNAME

      public static final String SIMPLE_CLASSNAME
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated simple class name constant.
      See Also:
    • COMMERCIAL

      public static final AgrAgreementType COMMERCIAL
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated enum value for AgrAgreementType.COMMERCIAL declared at extension agreementservices.
  • Method Details

    • equals

      public boolean equals(Object obj)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Compares this object to the specified object. The result is true if and only if the argument is not null and is an AgrAgreementType object that contains the enum value code as this object.
      Overrides:
      equals in class Object
      Parameters:
      obj - the object to compare with.
      Returns:
      true if the objects are the same; false otherwise.
    • getCode

      public String getCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the code of this enum value.
      Specified by:
      getCode in interface de.hybris.platform.core.HybrisEnumValue
      Returns:
      code of value
    • getType

      public String getType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the type this enum value belongs to.
      Specified by:
      getType in interface de.hybris.platform.core.HybrisEnumValue
      Returns:
      code of type
    • hashCode

      public int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns a hash code for this AgrAgreementType.
      Overrides:
      hashCode in class Object
      Returns:
      a hash code value for this object, equal to the enum value code represented by this AgrAgreementType object.
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the code representing this enum value.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the value of this object.
    • valueOf

      public static AgrAgreementType valueOf(String code)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns a AgrAgreementType instance representing the specified enum value.
      Parameters:
      code - an enum value
      Returns:
      a AgrAgreementType instance representing value.