org.apache.xalan.lib.sql

Class QueryParameter

public class QueryParameter extends Object

Constructor Summary
QueryParameter()
QueryParameter(String v, String t)
QueryParameter(String name, String value, String type, boolean out_flag)
Method Summary
StringgetName()
intgetType()
StringgetTypeName()
StringgetValue()
booleanisOutput()
voidsetIsOutput(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
voidsetName(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
voidsetTypeName(String newType)
Used to set the parameter type when the type information is provided in the query.
voidsetValue(String newValue)

Constructor Detail

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 Detail

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 © 2005 Apache XML Project. All Rights Reserved.