|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jasp.adodb.Parameter
A Parameter object represents a parameter or argument associated with a Command object based on a parameterized query or stored procedure.
Constructor Summary | |
Parameter()
|
Method Summary | |
void |
AppendChunk(java.lang.Object obj)
Appends data to a large text or binary data. |
void |
AssignProps()
Sets all properties for the currect object. |
int |
getAttributes()
Returns the attributes of the Parameter. |
int |
getDirection()
Indicates whether the Parameter represents an input parameter, an output parameter, or both, or if the parameter is the return value from a stored procedure. |
java.lang.String |
getName()
Returns the name of the Parameter. |
byte |
getNumericScale()
Returns the numeric scale of the Parameter. |
int |
getObjectState()
Returns the state of the Parameter. |
byte |
getPrecision()
Returns the precision of the Parameter. |
Properties |
getProperties()
Returns the properties collection |
int |
getType()
Returns the type of the Parameter. |
variant |
getValue()
Returns the value of the Parameter. |
Property |
Properties(int index)
Gets a Property from the Properties collection. |
Property |
Properties(java.lang.String name)
Gets a Property from the Properties collection. |
Property |
Properties(variant var)
Gets a Property from the Properties collection. |
void |
setAttributes(int attrib)
Sets the attributes of the Parameter. |
void |
setDirection(int dir)
Sets the direction of the Parameter. |
void |
setName(java.lang.String name)
Sets the name of the Parameter. |
void |
setNumericScale(byte scale)
Sets the numeric scale of the Parameter. |
void |
setPrecision(byte precision)
Sets the precision of the Parameter. |
void |
setSize(int size)
Sets the size of the Parameter. |
void |
setType(int type)
Sets the type of the Parameter. |
void |
setValue(boolean val)
Set the value of the Parameter. |
void |
setValue(double val)
Set the value of the Parameter. |
void |
setValue(float val)
Set the value of the Parameter. |
void |
setValue(int val)
Set the value of the Parameter. |
void |
setValue(long val)
Set the value of the Parameter. |
void |
setValue(java.lang.Object val)
Set the value of the Parameter. |
void |
setValue(short value)
Set the value of the Parameter. |
void |
setValue(java.lang.String val)
Set the value of the Parameter. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Parameter()
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
public int getAttributes()
public void setAttributes(int attrib)
public int getDirection()
public void setDirection(int dir)
dir
- the direction of the Parameter. can be one of the following constants.
public void setPrecision(byte precision)
public byte getPrecision()
public int getType()
public void setType(int type) throws java.lang.Exception
type
- the new type of the parameter.public void setNumericScale(byte scale)
public byte getNumericScale()
public variant getValue() throws java.lang.Exception
public void setValue(int val) throws java.lang.Exception
public void setValue(long val) throws java.lang.Exception
public void setValue(short value) throws java.lang.Exception
public void setValue(boolean val) throws java.lang.Exception
public void setValue(float val) throws java.lang.Exception
public void setValue(double val) throws java.lang.Exception
public void setValue(java.lang.String val) throws java.lang.Exception
public void setValue(java.lang.Object val) throws java.lang.Exception
public void setSize(int size) throws java.lang.Exception
public void AppendChunk(java.lang.Object obj) throws java.lang.Exception
public Properties getProperties() throws java.lang.Exception
public int getObjectState()
public void AssignProps()
public Property Properties(variant var) throws java.lang.Exception
var
- the name or index of the property.public Property Properties(int index) throws java.lang.Exception
index
- the index of the property.public Property Properties(java.lang.String name) throws java.lang.Exception
name
- the name of the property.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |