public enum ApprovalType extends Enum<ApprovalType>
Enum Constant and Description |
---|
INDIVIDUAL |
PROJECT |
Modifier and Type | Method and Description |
---|---|
static ApprovalType |
getApprovalTypeByString(String s) |
String |
toString() |
static ApprovalType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApprovalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApprovalType INDIVIDUAL
public static final ApprovalType PROJECT
public static ApprovalType getApprovalTypeByString(String s) throws InvalidParameterException
InvalidParameterException
public String toString()
toString
in class Enum<ApprovalType>
public static ApprovalType 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 ApprovalType[] values()
for (ApprovalType c : ApprovalType.values()) System.out.println(c);
Copyright © 2015 Kakao Corp. All rights reserved.