|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SFOperation
SFOperation represents an operation that can have exactly one input and exectly one output.
| Method Summary | |
|---|---|
java.util.List<SFFault> |
getFaults()
|
SFGenerationProperties |
getGenerationProperties()
|
SFInput |
getInput()
|
java.lang.String |
getName()
|
SFOutput |
getOutput()
|
void |
setFaults(java.util.List<SFFault> faults)
Sets the faults of the operations. |
void |
setGenerationProperties(SFGenerationProperties genProps)
Sets the operation's generation properties. |
void |
setInput(SFInput input)
Sets the input of the operation. |
void |
setName(java.lang.String name)
Sets the name of the operation. |
void |
setOutput(SFOutput output)
Sets the output of the operation. |
| Method Detail |
|---|
java.lang.String getName()
void setName(java.lang.String name)
throws SFException
name - The name of the operation.
SFException - One of the following exceptions may result:
| Error | Description | Severity |
| WZEF1001E_ARGSERROR | Illegal arguments. The name is null. | ERROR: The name was not set successfully. |
| WZEF1200E_NAMENOTVALID | The operation name is not a valid NCName. | ERROR: The name was not set successfully. |
| WZEF1206E_OPERATIONNAMECONFLICT | The operations file contains at least two operations with the same name. (Applies only if the operation is associated with an operations file.) | ERROR: The name was not set successfully. |
SFInput getInput()
void setInput(SFInput input)
throws SFException
input - The input of the operation.
SFException - One of the following exceptions may result:
| Error | Description | Severity |
| WZEF1001E_ARGSERROR | Illegal arguments. The input is null. | ERROR: The input was not set successfully. |
| WZEF1201E_CHANNELTYPEMISMATCH | An attempt to add a non-channel input or output to a channel operation or an attempt to add a channel input or output to a non-channel operation was detected. | ERROR: The input was not set successfully. |
SFOutput getOutput()
void setOutput(SFOutput output)
throws SFException
output - The output of the operation.
SFException - One of the following exceptions may result:
| Error | Description | Severity |
| WZEF1001E_ARGSERROR | Illegal arguments. The output is null. | ERROR: The output was not set successfully. |
| WZEF1201E_CHANNELTYPEMISMATCH | An attempt to add a non-channel input or output to a channel operation or an attempt to add a channel input or output to a non-channel operation was detected. | ERROR: The output was not set successfully. |
java.util.List<SFFault> getFaults()
void setFaults(java.util.List<SFFault> faults)
throws SFException
faults - The faults of the operation.
SFException - One of the following exceptions may result:
| Error | Description | Severity |
| WZEF1001E_ARGSERROR | Illegal arguments. The faults is null. | ERROR: The faults was not set successfully. |
SFGenerationProperties getGenerationProperties()
void setGenerationProperties(SFGenerationProperties genProps)
throws SFException
genProps - The generation properties.
SFException - One of the following exceptions may result:
| Error | Description | Severity |
| WZEF1001E_ARGSERROR | Illegal arguments. The genProps is null. | ERROR: The generation properties were not set successfully. |
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||