org.ucmtwine.parameter.types
Class ResultSetParameter
java.lang.Object
org.ucmtwine.parameter.Parameter
org.ucmtwine.parameter.types.ResultSetParameter
- All Implemented Interfaces:
- IParameter
public class ResultSetParameter
- extends Parameter
|
Method Summary |
Object |
getArgumentValue(Object object,
intradoc.server.Service service)
Returns a result set found by the passed in string value. |
Object |
getBinderValue(intradoc.server.Service service)
Get the value from the binder, checking for type compatibility and
mandatory requirements. |
int |
getGrammarElementType()
Returns the GrammarElement type for use in idoc script function
definitions. |
| Methods inherited from class org.ucmtwine.parameter.Parameter |
create, create, create, getName, getStringValue, getType, isRequired, parseRequiredString, setName, setRequired, toActionString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultSetParameter
public ResultSetParameter()
ResultSetParameter
public ResultSetParameter(String name)
ResultSetParameter
public ResultSetParameter(String name,
Class<?> type)
getBinderValue
public Object getBinderValue(intradoc.server.Service service)
- Get the value from the binder, checking for type compatibility and
mandatory requirements.
- Specified by:
getBinderValue in interface IParameter- Specified by:
getBinderValue in class Parameter
- Parameters:
service - The execution context.
- Returns:
- A type cast value or null
getArgumentValue
public Object getArgumentValue(Object object,
intradoc.server.Service service)
throws ClassCastException
- Returns a result set found by the passed in string value.
- Specified by:
getArgumentValue in interface IParameter- Overrides:
getArgumentValue in class Parameter
- Returns:
-
- Throws:
ClassCastException
getGrammarElementType
public int getGrammarElementType()
- Returns the GrammarElement type for use in idoc script function
definitions.
- Returns:
Copyright © 2012. All Rights Reserved.