org.apache.xalan.lib.sql
Class QueryParameter
java.lang.Object
org.apache.xalan.lib.sql.QueryParameter
public class QueryParameter
- extends Object
Method Summary |
String |
getName()
|
int |
getType()
|
String |
getTypeName()
|
String |
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 created |
void |
setName(String n)
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 |
void |
setTypeName(String newType)
Used to set the parameter type when the type information is provided in the query. |
void |
setValue(String newValue)
|
QueryParameter
public QueryParameter()
QueryParameter
public QueryParameter(String v,
String t)
- Parameters:
v
- The parameter value.t
- The type of the parameter.
QueryParameter
public QueryParameter(String name,
String value,
String type,
boolean out_flag)
getValue
public String getValue()
setValue
public void setValue(String newValue)
- Parameters:
newValue
-
setTypeName
public void setTypeName(String newType)
- Used to set the parameter type when the type information is provided in the query.
- Parameters:
newType
- The parameter type.
getTypeName
public String getTypeName()
getType
public int getType()
getName
public String getName()
setName
public void setName(String n)
- 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
Copyright ? 2005 Apache XML Project. All Rights Reserved.