|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jasp.adodb.Field
A Field object represents a columns's information.
| Constructor Summary | |
Field()
|
|
| 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 |
getActualSize()
Returns the actual size of the Field. |
int |
getAttributes()
Returns the attributes of the Filed. |
java.lang.Object |
GetChunk(int size)
Returns all or a portion of the contents of a large text or binary data. |
int |
getDefinedSize()
Returns the defined size of the Field. |
java.lang.String |
getName()
Returns the name of the Field. |
int |
getNumericScale()
Returns the Scale of the Field. |
int |
getObjectState()
Returns the State of the current recordset. |
variant |
getOriginalValue()
Returns the original value of the Field. |
byte |
getPrecision()
Returns the precision of the Field. |
Properties |
getProperties()
Returns the Properties collection of the Field. |
int |
getType()
Returns the type of the Field. |
java.lang.Object |
getUnderlyingValue()
Returns the underlying value of the Field. |
variant |
getValue()
Returns the value of the Field. |
Property |
Properties(int index)
Gets a Property from the Properties collection. |
Property |
Properties(java.lang.String index)
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 Field |
void |
setDefinedSize(int definedsize)
Sets the defined-size of the Field. |
void |
setNumericScale(byte scale)
Sets the Scale of the Field. |
void |
setPrecision(byte precision)
Sets the precision of the Field. |
void |
setType(int type)
Sets type of the Field. |
void |
setValue(boolean val)
Sets the value of the Field. |
void |
setValue(double val)
Sets the value of the Field. |
void |
setValue(float val)
Sets the value of the Field. |
void |
setValue(int val)
Sets the value of the Field. |
void |
setValue(long val)
Sets the value of the Field. |
void |
setValue(java.lang.Object objval)
Sets the value of the Field. |
void |
setValue(short value)
Sets the value of the Field. |
void |
setValue(java.lang.String val)
Sets the value of the Field. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Field()
| Method Detail |
public int getNumericScale()
public void setPrecision(byte precision)
throws java.lang.Exception
public void setNumericScale(byte scale)
throws java.lang.Exception
public variant getValue()
throws java.lang.Exception
public void setValue(int val)
throws java.lang.Exception
val - the new value of the Field.
public void setValue(long val)
throws java.lang.Exception
val - the new value of the Field.
public void setValue(short value)
throws java.lang.Exception
val - the new value of the Field.
public void setValue(boolean val)
throws java.lang.Exception
val - the new value of the Field.
public void setValue(float val)
throws java.lang.Exception
val - the new value of the Field.
public void setValue(double val)
throws java.lang.Exception
val - the new value of the Field.
public void setValue(java.lang.String val)
throws java.lang.Exception
val - the new value of the Field.
public void setValue(java.lang.Object objval)
throws java.lang.Exception
val - the new value of the Field.
public variant getOriginalValue()
throws java.lang.Exception
public void AppendChunk(java.lang.Object obj)
throws java.lang.Exception
obj - An object containing the data you want to append to the Field.public int getAttributes()
public int getActualSize()
throws java.lang.Exception
public void setAttributes(int attrib)
attrib - the new value of the attributes.
public Properties getProperties()
throws java.lang.Exception
public int getObjectState()
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 index)
throws java.lang.Exception
name - the name of the Property.
public void AssignProps()
throws java.lang.Exception
public int getDefinedSize()
public java.lang.String getName()
public int getType()
public void setType(int type)
throws java.lang.Exception
type - the new type of the Field.
public void setDefinedSize(int definedsize)
throws java.lang.Exception
definedsize - the new defined-size of the Field.
public java.lang.Object getUnderlyingValue()
throws java.lang.Exception
public java.lang.Object GetChunk(int size)
throws java.lang.Exception
size - An integer expression equal to the number of bytes or characters you want to retrievepublic byte getPrecision()
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 | ||||||||