Class RouteSegment

All Implemented Interfaces:
Serializable

@Entity public class RouteSegment extends BaseEntity<Long>
The RouteSegment represents a route segment in the EnduranceTrio Tracker system.

The RouteSegment fields are defined as follows:

See Also:
  • Constructor Details

    • RouteSegment

      public RouteSegment()
  • Method Details

    • getOrder

      public Integer getOrder()
    • setOrder

      public void setOrder(Integer order)
    • getStartDevice

      public String getStartDevice()
    • setStartDevice

      public void setStartDevice(String startDevice)
    • getEndDevice

      public String getEndDevice()
    • setEndDevice

      public void setEndDevice(String endDevice)
    • equals

      public boolean equals(Object o)
      Description copied from class: BaseEntity
      Equality is based on the entity's identifier. Two entities are considered equal if they are of the same class and have the same non-null identifier.

      If the ID is null, we treat it as a transient (new) object. Transient objects are only equal if they are the exact same instance.

      Overrides:
      equals in class BaseEntity<Long>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BaseEntity<Long>
    • toString

      public String toString()
      Overrides:
      toString in class Object