Class DoubleBiathlonDistance

All Implemented Interfaces:
Serializable

@Entity(name="DoubleBiathlonDistance") public class DoubleBiathlonDistance extends Distance implements Serializable
The DoubleBiathlonDistance entity extends the Distance entity and represents the data of a Double Biathlon Course's Distance.

Besides the fields inherited from Distance, the DoubleBiathlonDistance's fields are defined as follows:

See Also:
  • Constructor Details

    • DoubleBiathlonDistance

      public DoubleBiathlonDistance()
      Default constructor for the DoubleBiathlonDistance entity.
  • Method Details

    • getFirstBikeDistance

      public Integer getFirstBikeDistance()
    • setFirstBikeDistance

      public void setFirstBikeDistance(Integer firstBikeDistance)
    • getFirstBikeLaps

      public Integer getFirstBikeLaps()
    • setFirstBikeLaps

      public void setFirstBikeLaps(Integer firstBikeLaps)
    • getFirstRunDistance

      public Integer getFirstRunDistance()
    • setFirstRunDistance

      public void setFirstRunDistance(Integer firstRunDistance)
    • getFirstRunLaps

      public Integer getFirstRunLaps()
    • setFirstRunLaps

      public void setFirstRunLaps(Integer firstRunLaps)
    • getSecondBikeDistance

      public Integer getSecondBikeDistance()
    • setSecondBikeDistance

      public void setSecondBikeDistance(Integer secondBikeDistance)
    • getSecondBikeLaps

      public Integer getSecondBikeLaps()
    • setSecondBikeLaps

      public void setSecondBikeLaps(Integer secondBikeLaps)
    • getSecondRunDistance

      public Integer getSecondRunDistance()
    • setSecondRunDistance

      public void setSecondRunDistance(Integer secondRunDistance)
    • getSecondRunLaps

      public Integer getSecondRunLaps()
    • setSecondRunLaps

      public void setSecondRunLaps(Integer secondRunLaps)
    • 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 Distance
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Distance
    • toString

      public String toString()
      Overrides:
      toString in class Distance