Enum Class WsHasMemberResult.WsHasMemberResultCode
java.lang.Object
java.lang.Enum<WsHasMemberResult.WsHasMemberResultCode>
edu.internet2.middleware.grouper.ws.coresoap.WsHasMemberResult.WsHasMemberResultCode
- All Implemented Interfaces:
Serializable
,Comparable<WsHasMemberResult.WsHasMemberResultCode>
,Constable
- Enclosing class:
- WsHasMemberResult
public static enum WsHasMemberResult.WsHasMemberResultCode
extends Enum<WsHasMemberResult.WsHasMemberResultCode>
result code of a request
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionproblem with queryinvalid query (e.g.the subject is a member (success = T)the subject was found and is not a member (success = T)found multiple resultscant find the subject -
Method Summary
Modifier and TypeMethodDescriptionif there is one result, convert to the results codeboolean
if this is a successful resultReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUBJECT_DUPLICATE
found multiple results -
SUBJECT_NOT_FOUND
cant find the subject -
IS_MEMBER
the subject is a member (success = T) -
IS_NOT_MEMBER
the subject was found and is not a member (success = T) -
EXCEPTION
problem with query -
INVALID_QUERY
invalid query (e.g. if everything blank)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isSuccess
public boolean isSuccess()if this is a successful result- Returns:
- true if success
-
convertToLiteCode
if there is one result, convert to the results code- Returns:
- result code
-