com.mizar.addressing.routing
Class SegmentSequence

java.lang.Object
  extended by com.mizar.persistence.jpa.beans.GenericBean
      extended by com.mizar.persistence.jpa.beans.GeometryBean
          extended by com.mizar.addressing.routing.SegmentSequence
All Implemented Interfaces:
JPAGeometryInterface, JPAInterface, java.io.Serializable, java.lang.Comparable
Direct Known Subclasses:
SegmentSequenceRow

public class SegmentSequence
extends GeometryBean

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mizar.persistence.jpa.beans.GeometryBean
searchTolerance, sridPrecision, wktLocation, wktMBR, wktShape
 
Fields inherited from class com.mizar.persistence.jpa.beans.GenericBean
_logger, DELETE, EDIT, NEW, READ, serialVersionUID
 
Constructor Summary
SegmentSequence()
           
 
Method Summary
 java.lang.String getAddress()
           
 java.lang.String getDirection()
           
 java.lang.Double getDistance()
           
 java.lang.String getDistanceUnits()
           
 oracle.spatial.geometry.JGeometry getGeom()
          Entity classes implementing GeometryBean should have at least one SDO_GEOMETRY column in their associated table.
 java.lang.String getInstruction()
           
 java.lang.Integer getPrimaryKeyValue()
          NOTE: If an implementing bean expects to be extended by a RowInterface in a often-used Table, you should override this method in order to avoid the overheads associated with the reflective code in JPAUtils.getPrimaryKeyValue(this)
 java.lang.Double getRunningDistance()
           
 java.lang.String getRunningDistanceUnits()
           
 java.lang.Double getRunningTime()
           
 java.lang.Integer getSequenceId()
           
 java.lang.Double getTime()
           
 java.lang.String getTimeUnits()
           
 void setAddress(java.lang.String address)
           
 void setDirection(java.lang.String direction)
           
 void setDistance(java.lang.Double distance)
           
 void setDistanceUnits(java.lang.String units)
           
 void setGeom(oracle.spatial.geometry.JGeometry geom)
           
 void setInstruction(java.lang.String instruction)
           
 void setRunningDistance(java.lang.Double runningDistance)
           
 void setRunningDistanceUnits(java.lang.String runningDistanceUnits)
           
 void setRunningTime(java.lang.Double runningTime)
           
 void setSequenceId(java.lang.Integer sequenceId)
           
 void setTime(java.lang.Double time)
           
 void setTimeUnits(java.lang.String timeUnits)
           
 
Methods inherited from class com.mizar.persistence.jpa.beans.GeometryBean
getArea, getBasicGeometryType, getGeomDimensions, getGeomNumPoints, getGeomType, getGType, getHeight, getLength, getRange, getSearchTolerance, getSrid, getSridPrecision, getWidth, getWktLocation, getWktMBR, getWktShape, isGeometryExtant, setArea, setSearchTolerance, setSridPrecision, setWktLocation, setWktShape
 
Methods inherited from class com.mizar.persistence.jpa.beans.GenericBean
compareTo, equals, getDELETE, getEDIT, getEntityState, getEntityStateLabel, getLogger, getNEW, getREAD, hashCode, isEditable, isNew, setEditable, setEntityState, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SegmentSequence

public SegmentSequence()
Method Detail

setGeom

public void setGeom(oracle.spatial.geometry.JGeometry geom)
Specified by:
setGeom in class GeometryBean

getGeom

public oracle.spatial.geometry.JGeometry getGeom()
Description copied from class: GeometryBean
Entity classes implementing GeometryBean should have at least one SDO_GEOMETRY column in their associated table. It is entirely possible for an Entity to support more than one SDO_GEOMETRY column but one must be designated and the default or nominal object and a getter method called getGeom() must be mapped to it.

Specified by:
getGeom in class GeometryBean
Returns:
the principal SDO_GEOMETRY column

getPrimaryKeyValue

public java.lang.Integer getPrimaryKeyValue()
Description copied from class: GenericBean

NOTE: If an implementing bean expects to be extended by a RowInterface in a often-used Table, you should override this method in order to avoid the overheads associated with the reflective code in JPAUtils.getPrimaryKeyValue(this)

 public Object getPrimaryKeyValue(){
   return getProperty();
 }
 

In the absence of an overriding method, this method provides a generic method to get the value of the primary key. This is especially useful for calls to em.find(object) from within abstract classes

Overrides:
getPrimaryKeyValue in class GenericBean
Returns:
JPAUtils#getPrimaryKeyValue(this)
See Also:
RowInterface.getPrimaryKeyValue()

setSequenceId

public void setSequenceId(java.lang.Integer sequenceId)

getSequenceId

public java.lang.Integer getSequenceId()

setInstruction

public void setInstruction(java.lang.String instruction)

getInstruction

public java.lang.String getInstruction()
Returns:
the Start/Turn/Arrive instruction clause

setDistance

public void setDistance(java.lang.Double distance)

getDistance

public java.lang.Double getDistance()

setTime

public void setTime(java.lang.Double time)

getTime

public java.lang.Double getTime()

setDistanceUnits

public void setDistanceUnits(java.lang.String units)

getDistanceUnits

public java.lang.String getDistanceUnits()

setTimeUnits

public void setTimeUnits(java.lang.String timeUnits)

getTimeUnits

public java.lang.String getTimeUnits()

setAddress

public void setAddress(java.lang.String address)

getAddress

public java.lang.String getAddress()

setDirection

public void setDirection(java.lang.String direction)

getDirection

public java.lang.String getDirection()

setRunningDistance

public void setRunningDistance(java.lang.Double runningDistance)

getRunningDistance

public java.lang.Double getRunningDistance()

setRunningTime

public void setRunningTime(java.lang.Double runningTime)

getRunningTime

public java.lang.Double getRunningTime()

setRunningDistanceUnits

public void setRunningDistanceUnits(java.lang.String runningDistanceUnits)

getRunningDistanceUnits

public java.lang.String getRunningDistanceUnits()