public class QueryParameter extends Object
Constructor and Description |
---|
QueryParameter() |
QueryParameter(String v,
String t) |
QueryParameter(String name,
String value,
String type,
boolean out_flag) |
Modifier and Type | Method and Description |
---|---|
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) |
public QueryParameter()
public QueryParameter(String v, String t)
v
- The parameter value.t
- The type of the parameter.public String getValue()
public void setValue(String newValue)
newValue
- public void setTypeName(String newType)
newType
- The parameter type.public String getTypeName()
public int getType()
public String getName()
public void setName(String n)
public boolean isOutput()
public void setIsOutput(boolean flag)
Copyright © 2017 JBoss by Red Hat. All rights reserved.