package org.fluxtream.connectors.bodymedia; import org.fluxtream.core.TimeInterval; import org.fluxtream.core.connectors.vos.AbstractInstantFacetVO; import org.fluxtream.core.connectors.vos.AllDayVO; import org.fluxtream.core.domain.GuestSettings; public class BodymediaStepsFacetVO extends AbstractInstantFacetVO<BodymediaStepsFacet> implements AllDayVO { public int totalSteps; // public String stepsJson; @Override protected void fromFacet(final BodymediaStepsFacet facet, final TimeInterval timeInterval, final GuestSettings settings) { this.totalSteps = facet.totalSteps; // this.stepsJson = facet.json; this.date = facet.date; } @Override public boolean allDay() { return true; } }