public enum TransactionProcessingMode extends Enum<TransactionProcessingMode>
| Enum Constant and Description |
|---|
DELETE
If a resource matching the information provided is found, delete it.
|
IGNORE
If a matching resource is found, then ignore the resource and do not process it as part of the transaction (and return the matching resource information in the transaction response)
|
NULL
added to help the parsers
|
UPDATE
If a matching resource is found, then update it with this resource, otherwise create a new one
|
| Modifier and Type | Method and Description |
|---|---|
static TransactionProcessingMode |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static TransactionProcessingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionProcessingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionProcessingMode IGNORE
public static final TransactionProcessingMode UPDATE
public static final TransactionProcessingMode DELETE
public static final TransactionProcessingMode NULL
public static TransactionProcessingMode[] values()
for (TransactionProcessingMode c : TransactionProcessingMode.values()) System.out.println(c);
public static TransactionProcessingMode 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 static TransactionProcessingMode fromCode(String codeString) throws Exception
Exceptionpublic String getDefinition()
public String getDisplay()
Copyright © 2014–2018 University Health Network. All rights reserved.