public abstract class Operation extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Operation.Type |
| Constructor and Description |
|---|
Operation(Operation.Type value,
boolean isRequest) |
| Modifier and Type | Method and Description |
|---|---|
String |
getReferenceId() |
String |
getTicketId() |
Operation.Type |
getType() |
String |
getVersion() |
boolean |
isRequest() |
boolean |
isResponse() |
void |
setReferenceId(String value) |
void |
setTicketId(String value) |
String |
toString() |
abstract void |
validate()
Validates the operation whether it contains all required properties
per the SXMP protocol specifications.
|
protected String version
public Operation(Operation.Type value, boolean isRequest)
public Operation.Type getType()
public boolean isRequest()
public boolean isResponse()
public String getVersion()
public void setReferenceId(String value) throws SxmpErrorException
SxmpErrorExceptionpublic String getReferenceId()
public void setTicketId(String value)
public String getTicketId()
public abstract void validate()
throws SxmpErrorException
SxmpErrorException - Thrown if any required elements are missing.Copyright © 2016. All rights reserved.