public enum ResponseState extends java.lang.Enum<ResponseState>
| Enum Constant and Description |
|---|
DUPLICATE_CONNECTION_ID |
DUPLICATE_MESSAGE_ID |
DUPLICATE_NEED_ID |
FAILURE |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jena.rdf.model.Resource |
getResource() |
static ResponseState |
getResponseState(org.apache.jena.rdf.model.Resource resource) |
static ResponseState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResponseState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseState SUCCESS
public static final ResponseState FAILURE
public static final ResponseState DUPLICATE_NEED_ID
public static final ResponseState DUPLICATE_CONNECTION_ID
public static final ResponseState DUPLICATE_MESSAGE_ID
public static ResponseState[] values()
for (ResponseState c : ResponseState.values()) System.out.println(c);
public static ResponseState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic org.apache.jena.rdf.model.Resource getResource()
public static ResponseState getResponseState(org.apache.jena.rdf.model.Resource resource)
Copyright © 2018. All Rights Reserved.