public class StatusType extends Object implements Comparable<StatusType>, Serializable
Modifier and Type | Field and Description |
---|---|
static StatusType |
ACTIVE |
static StatusType |
BAD |
static StatusType |
DELETED |
static StatusType |
GOOD |
static StatusType |
INACTIVE |
static StatusType |
UNKNOWN |
Constructor and Description |
---|
StatusType(char statusType) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(StatusType o) |
boolean |
equals(Object o) |
static StatusType |
get(char code) |
static StatusType |
get(String code) |
char |
getCharCode() |
static String |
getStatusString(char code) |
int |
hashCode() |
void |
setCharCode(char statusType) |
String |
toString() |
public static final StatusType ACTIVE
public static final StatusType INACTIVE
public static final StatusType DELETED
public static final StatusType UNKNOWN
public static final StatusType BAD
public static final StatusType GOOD
public char getCharCode()
public void setCharCode(char statusType)
public int compareTo(StatusType o)
compareTo
in interface Comparable<StatusType>
public static StatusType get(char code)
public static String getStatusString(char code)
public static StatusType get(String code)
Copyright © 2018. All rights reserved.