public class StravaLap extends Object implements StravaCacheable<Integer>
A lap within an StravaActivity; this is a user-specified section of a ride somewhat like a segment effort, but specifically bound to either being a
lap of a track or a section of the activity of a particular length (distance)
| Constructor and Description |
|---|
StravaLap()
No args constructor
|
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public StravaActivity getActivity()
public StravaAthlete getAthlete()
public Float getAverageCadence()
public Float getAverageHeartrate()
public Float getAverageSpeed()
public Float getAverageWatts()
public Boolean getDeviceWatts()
public Float getDistance()
public Integer getElapsedTime()
public Integer getEndIndex()
public Integer getId()
getId in interface StravaCacheable<Integer>public Integer getLapIndex()
public Float getMaxHeartrate()
public Float getMaxSpeed()
public Integer getMovingTime()
public String getName()
public StravaResourceState getResourceState()
getResourceState in interface StravaCacheable<Integer>public ZonedDateTime getStartDate()
public LocalDateTime getStartDateLocal()
public Integer getStartIndex()
public Float getTotalElevationGain()
public int hashCode()
hashCode in class ObjectObject.hashCode()public void setActivity(StravaActivity activity)
activity - the activity to setpublic void setAthlete(StravaAthlete athlete)
athlete - the athlete to setpublic void setAverageCadence(Float averageCadence)
averageCadence - the averageCadence to setpublic void setAverageHeartrate(Float averageHeartrate)
averageHeartrate - the averageHeartrate to setpublic void setAverageSpeed(Float averageSpeed)
averageSpeed - the averageSpeed to setpublic void setAverageWatts(Float averageWatts)
averageWatts - the averageWatts to setpublic void setDeviceWatts(Boolean deviceWatts)
deviceWatts - the deviceWatts to setpublic void setDistance(Float distance)
distance - the distance to setpublic void setElapsedTime(Integer elapsedTime)
elapsedTime - the elapsedTime to setpublic void setEndIndex(Integer endIndex)
endIndex - the endIndex to setpublic void setId(Integer id)
id - the id to setpublic void setLapIndex(Integer lapIndex)
lapIndex - the lapIndex to setpublic void setMaxHeartrate(Float maxHeartrate)
maxHeartrate - the maxHeartrate to setpublic void setMaxSpeed(Float maxSpeed)
maxSpeed - the maxSpeed to setpublic void setMovingTime(Integer movingTime)
movingTime - the movingTime to setpublic void setName(String name)
name - the name to setpublic void setResourceState(StravaResourceState resourceState)
resourceState - the resourceState to setpublic void setStartDate(ZonedDateTime startDate)
startDate - the startDate to setpublic void setStartDateLocal(LocalDateTime startDateLocal)
startDateLocal - the startDateLocal to setpublic void setStartIndex(Integer startIndex)
startIndex - the startIndex to setpublic void setTotalElevationGain(Float totalElevationGain)
totalElevationGain - the totalElevationGain to setpublic String toString()
toString in class ObjectObject.toString()Copyright © 2016 Dan Shannon. All rights reserved.