Package org.openehr.utils.operation
Enum OperationOutcomeStatus
- java.lang.Object
-
- java.lang.Enum<OperationOutcomeStatus>
-
- org.openehr.utils.operation.OperationOutcomeStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<OperationOutcomeStatus>
public enum OperationOutcomeStatus extends java.lang.Enum<OperationOutcomeStatus>
Copyright 2017 Cognitive Medical Systems, Inc (http://www.cognitivemedicine.com).Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Created by cnanjo on 1/17/17.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OperationOutcomeStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OperationOutcomeStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final OperationOutcomeStatus SUCCESS
-
FAILURE
public static final OperationOutcomeStatus FAILURE
-
-
Method Detail
-
values
public static OperationOutcomeStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OperationOutcomeStatus c : OperationOutcomeStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationOutcomeStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-