Package org.apache.xalan.lib.sql
Class QueryParameter
java.lang.Object
org.apache.xalan.lib.sql.QueryParameter
-
Constructor Summary
ConstructorsConstructorDescriptionQueryParameter
(String v, String t) QueryParameter
(String name, String value, String type, boolean out_flag) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
int
getType()
getValue()
boolean
isOutput()
void
setIsOutput
(boolean flag) Set Name, this should really be covered in the constructor but the QueryParser has a State issue where the name is discoverd after the Parameter object needs to be createdvoid
Set Name, this should really be covered in the constructor but the QueryParser has a State issue where the name is discoverd after the Parameter object needs to be createdvoid
setTypeName
(String newType) Used to set the parameter type when the type information is provided in the query.void
-
Constructor Details
-
QueryParameter
public QueryParameter() -
QueryParameter
- Parameters:
v
- The parameter value.t
- The type of the parameter.
-
QueryParameter
-
-
Method Details
-
getValue
-
setValue
- Parameters:
newValue
-
-
setTypeName
Used to set the parameter type when the type information is provided in the query.- Parameters:
newType
- The parameter type.
-
getTypeName
-
getType
public int getType() -
getName
-
setName
Set Name, this should really be covered in the constructor but the QueryParser has a State issue where the name is discoverd after the Parameter object needs to be created -
isOutput
public boolean isOutput() -
setIsOutput
public void setIsOutput(boolean flag) Set Name, this should really be covered in the constructor but the QueryParser has a State issue where the name is discoverd after the Parameter object needs to be created
-