public enum ServiceContractSearchStatusType extends Enum<ServiceContractSearchStatusType>
| Modifier and Type | Method and Description |
|---|---|
static ServiceContractSearchStatusType |
forValues(Integer code,
String message) |
Integer |
getCode() |
String |
getMessage() |
void |
setCode(Integer code) |
void |
setMessage(String message) |
static ServiceContractSearchStatusType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceContractSearchStatusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceContractSearchStatusType SUCCESS
public static final ServiceContractSearchStatusType FAILURE
public static final ServiceContractSearchStatusType NOT_FOUND
public static ServiceContractSearchStatusType[] values()
for (ServiceContractSearchStatusType c : ServiceContractSearchStatusType.values()) System.out.println(c);
public static ServiceContractSearchStatusType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ServiceContractSearchStatusType forValues(Integer code, String message)
public Integer getCode()
public void setCode(Integer code)
public String getMessage()
public void setMessage(String message)
Copyright © 2023 City of Paris. All rights reserved.