public enum AcknowledgeType extends Enum<AcknowledgeType>
Enum Constant and Description |
---|
ACKNOWLEDGED |
BOTH |
UNACKNOWLEDGED |
Modifier and Type | Method and Description |
---|---|
static AcknowledgeType |
getAcknowledgeType(String ackTypeString)
getAcknowledgeType
|
protected String |
getAcknowledgeTypeClause()
Convenience method for getting the SQL ORDER BY clause related
this sort style.
|
String |
getName()
getName
|
String |
getShortName()
getShortName
|
String |
toString()
toString
|
static AcknowledgeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AcknowledgeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AcknowledgeType ACKNOWLEDGED
public static final AcknowledgeType UNACKNOWLEDGED
public static final AcknowledgeType BOTH
public static AcknowledgeType[] values()
for (AcknowledgeType c : AcknowledgeType.values()) System.out.println(c);
public static AcknowledgeType 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 String toString()
toString
toString
in class Enum<AcknowledgeType>
String
object.protected String getAcknowledgeTypeClause()
String
object.public static AcknowledgeType getAcknowledgeType(String ackTypeString)
getAcknowledgeType
ackTypeString
- a String
object.AcknowledgeType
object.Copyright © 2016. All rights reserved.