|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--grs.pds.RCoords
A Cartesian vector, matching the SQL type used in the GRS database schema.
| Field Summary | |
double |
x
|
double |
y
|
double |
z
|
| Constructor Summary | |
RCoords()
Construct a new RCoords, the zero-vector. |
|
RCoords(double x,
double y,
double z)
Construct a new RCoords, with vector components x, y, and z. |
|
| Method Summary | |
String |
getSQLTypeName()
Return the SQL type name, given when read from the database. |
void |
readDataStream(DataInputStream in)
Read the record from DataInputStream. |
void |
readSQL(SQLInput in,
String type)
Read the record from SQL input. |
void |
writeDataStream(DataOutputStream out)
Write the record to a DataOutputStream. |
void |
writeSQL(SQLOutput out)
Write the record to a SQL output. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public double x
public double y
public double z
| Constructor Detail |
public RCoords()
public RCoords(double x,
double y,
double z)
| Method Detail |
public String getSQLTypeName()
getSQLTypeName in interface SQLDataSQLData.getSQLTypeName()
public void readSQL(SQLInput in,
String type)
throws SQLException
readSQL in interface SQLDataSQLExceptionSQLData.readSQL(SQLInput, String)
public void writeSQL(SQLOutput out)
throws SQLException
writeSQL in interface SQLDataSQLExceptionSQLData.writeSQL(SQLOutput)
public void readDataStream(DataInputStream in)
throws IOException
IOException
public void writeDataStream(DataOutputStream out)
throws IOException
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||