public class ShapePoint extends Entity
| Modifier and Type | Class and Description |
|---|---|
static class |
ShapePoint.Loader |
static class |
ShapePoint.Writer |
| Modifier and Type | Field and Description |
|---|---|
double |
shape_dist_traveled |
String |
shape_id |
double |
shape_pt_lat |
double |
shape_pt_lon |
int |
shape_pt_sequence |
DOUBLE_MISSING, id, INT_MISSING| Constructor and Description |
|---|
ShapePoint() |
ShapePoint(String shape_id,
double shape_pt_lat,
double shape_pt_lon,
int shape_pt_sequence,
double shape_dist_traveled) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
This method should be overridden by each Entity subtype to return the proper key field for that subtype.
|
Integer |
getSequenceNumber()
This method should be overridden by each Entity subtype to return the proper sequence field for that subtype.
|
void |
setStatementParameters(PreparedStatement statement,
boolean setDefaultId)
Sets the parameters for a prepared statement following the parameter order defined in
Table.SHAPES. |
human, setDoubleParameter, setIntParameterpublic String shape_id
public double shape_pt_lat
public double shape_pt_lon
public int shape_pt_sequence
public double shape_dist_traveled
public ShapePoint()
public ShapePoint(String shape_id, double shape_pt_lat, double shape_pt_lon, int shape_pt_sequence, double shape_dist_traveled)
public String getId()
EntitygetId in class Entitypublic Integer getSequenceNumber()
EntitygetSequenceNumber in class Entitypublic void setStatementParameters(PreparedStatement statement, boolean setDefaultId) throws SQLException
Table.SHAPES. JDBC prepared statement parameters use a one-based index.setStatementParameters in class EntitySQLExceptionCopyright © 2019. All rights reserved.