Enum Class DeleteEntityStatus.DeleteEntityStatusCode

java.lang.Object
java.lang.Enum<DeleteEntityStatus.DeleteEntityStatusCode>
com.priint.pubserver.entity.DeleteEntityStatus.DeleteEntityStatusCode
All Implemented Interfaces:
Serializable, Comparable<DeleteEntityStatus.DeleteEntityStatusCode>, Constable
Enclosing class:
DeleteEntityStatus

public static enum DeleteEntityStatus.DeleteEntityStatusCode extends Enum<DeleteEntityStatus.DeleteEntityStatusCode>
List of possible status codes after deleting entity

You can get the type from calling DeleteEntityStatus.getDeleteEntityStatusCode() on an enum value.

  • Enum Constant Details

  • Method Details

    • values

      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DeleteEntityStatus.DeleteEntityStatusCode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getErrorCode

      public int getErrorCode()
      Gets error code.
      Returns:
      errorCode as int
    • setErrorCode

      public void setErrorCode(int errorCode)
      Sets error code.
      Parameters:
      errorCode - the error code
    • getErrorMessage

      public String getErrorMessage()
      Gets error message.
      Returns:
      errorMessage as Strig
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
      Sets error message.
      Parameters:
      errorMessage - the error message