org.apache.xalan.lib.sql

Class QueryParameter


public class QueryParameter
extends java.lang.Object

Constructor Summary

QueryParameter()
QueryParameter(String v, String t)
QueryParameter(String name, String value, String type, boolean out_flag)

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)

Constructor Details

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)

Method Details

getName

public String getName()

getType

public int getType()

getTypeName

public String getTypeName()

getValue

public String getValue()

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

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

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.

setValue

public void setValue(String newValue)
Parameters:
newValue -

Copyright © 2006 Apache XML Project. All Rights Reserved.