|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xins.common.spec.FunctionSpec
Specification of a function.
Method Summary | |
String |
getDescription()
Gets the description of the function. |
ErrorCodeSpec |
getErrorCode(String errorCodeName)
Gets the error code specification for the specified error code. |
Map |
getErrorCodes()
Gets the error code specifications defined in the function. |
DataSectionElementSpec |
getInputDataSectionElement(String elementName)
Gets the specification of the element of the input data section with the specified name. |
Map |
getInputDataSectionElements()
Gets the specification of the elements of the input data section. |
List |
getInputParamCombos()
Gets the input param combo specifications. |
ParameterSpec |
getInputParameter(String parameterName)
Gets the input parameter for the specified name. |
Map |
getInputParameters()
Gets the input parameter specifications defined in the function. |
String |
getName()
Gets the name of the function. |
DataSectionElementSpec |
getOutputDataSectionElement(String elementName)
Gets the specification of the element of the output data section with the specified name. |
Map |
getOutputDataSectionElements()
Gets the specification of the elements of the output data section. |
List |
getOutputParamCombos()
Gets the output param combo specifications. |
ParameterSpec |
getOutputParameter(String parameterName)
Gets the output parameter of the specified name. |
Map |
getOutputParameters()
Gets the output parameter specifications defined in the function. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public String getName()
null
.public String getDescription()
null
.public ParameterSpec getInputParameter(String parameterName) throws EntityNotFoundException, IllegalArgumentException
parameterName
- the name of the parameter, cannot be null
.
null
.
EntityNotFoundException
- if the function does not contain any input parameter with the specified name.
IllegalArgumentException
- if parameterName == null
.public Map getInputParameters()
ParameterSpec
object.
null
.public ParameterSpec getOutputParameter(String parameterName) throws IllegalArgumentException, EntityNotFoundException
parameterName
- the name of the parameter, cannot be null
.
null
.
IllegalArgumentException
- if parameterName == null
.
EntityNotFoundException
- if the function does not contain any output parameter with the specified name.public Map getOutputParameters()
ParameterSpec
object.
null
.public ErrorCodeSpec getErrorCode(String errorCodeName) throws IllegalArgumentException, EntityNotFoundException
errorCodeName
- the name of the error code, cannot be null
.
null
.
IllegalArgumentException
- if errorCodeName == null
.
EntityNotFoundException
- if the function does not define any error code with the specified name.public Map getErrorCodes()
ErrorCodeSpec
object.
null
.public DataSectionElementSpec getInputDataSectionElement(String elementName) throws IllegalArgumentException, EntityNotFoundException
elementName
- the name of the element, cannot be null
.
null
.
IllegalArgumentException
- if elementName == null
.
EntityNotFoundException
- if the function does not define any input data element with the specified name.public Map getInputDataSectionElements()
DataSectionElementSpec
object.
null
.public DataSectionElementSpec getOutputDataSectionElement(String elementName) throws IllegalArgumentException, EntityNotFoundException
elementName
- the name of the element, cannot be null
.
null
.
IllegalArgumentException
- if elementName == null
.
EntityNotFoundException
- if the function does not define any output data element with the specified name.public Map getOutputDataSectionElements()
DataSectionElementSpec
object.
null
.public List getInputParamCombos()
ParamComboSpec
), never null
.public List getOutputParamCombos()
ParamComboSpec
), never null
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |