Class BOLinearAssetLocation

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.assets.bl.linearassetlocation.BOLinearAssetLocation
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOLinearAssetLocation extends DynO
Business object representing a linear asset location.
Since:
16.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOLinearAssetLocation

      public BOLinearAssetLocation()
  • Method Details

    • getId

      public Long getId()
      Returns the linear asset location id.
      Returns:
      the linear asset location id
    • setId

      public void setId(Long id)
      Sets the linear asset location id.
      Parameters:
      id - the linear asset location id
    • getTarget

      public Long getTarget()
      Returns the asset id.
      Returns:
      the asset id
      See Also:
    • setTarget

      public void setTarget(Long target)
      Sets the asset id.
      Parameters:
      target - the asset id
      See Also:
    • getStartXCoordinate

      public Double getStartXCoordinate()
      Returns the start x coordinate.
      Returns:
      the start x coordinate
    • setStartXCoordinate

      public void setStartXCoordinate(Double startXCoordinate)
      Sets the start x coordinate.
      Parameters:
      startXCoordinate - the start x coordinate
    • getStartYCoordinate

      public Double getStartYCoordinate()
      Returns the start y coordinate.
      Returns:
      the start y coordinate
    • setStartYCoordinate

      public void setStartYCoordinate(Double startYCoordinate)
      Sets the start y coordinate.
      Parameters:
      startYCoordinate - the start y coordinate
    • getEndPointXCoordinate

      public Double getEndPointXCoordinate()
      Returns the end point X coordinate.
      Returns:
      the end point X coordinate
    • setEndPointXCoordinate

      public void setEndPointXCoordinate(Double endPointXCoordinate)
      Sets the end point X coordinate.
      Parameters:
      endPointXCoordinate - the end point X coordinate
    • getEndPointYCoordinate

      public Double getEndPointYCoordinate()
      Returns the end point Y coordinate.
      Returns:
      the end point Y coordinate
    • setEndPointYCoordinate

      public void setEndPointYCoordinate(Double endPointYCoordinate)
      Sets the end point Y coordinate.
      Parameters:
      endPointYCoordinate - the end point Y coordinate
    • getAccessTime

      public Long getAccessTime()
      Returns the access time id.
      Returns:
      the access time id
    • setAccessTime

      public void setAccessTime(Long accessTime)
      Sets the access time id.
      Parameters:
      accessTime - the access time id
    • getAccessXCoordinate

      public Double getAccessXCoordinate()
      Returns the access X coordinate.
      Returns:
      the access X coordinate
    • setAccessXCoordinate

      public void setAccessXCoordinate(Double accessXCoordinate)
      Sets the access X coordinate.
      Parameters:
      accessXCoordinate - the access X coordinate
    • getAccessYCoordinate

      public Double getAccessYCoordinate()
      Returns the access Y coordinate.
      Returns:
      the access Y coordinate
    • setAccessYCoordinate

      public void setAccessYCoordinate(Double accessYCoordinate)
      Sets the access Y coordinate.
      Parameters:
      accessYCoordinate - the access Y coordinate
    • getAccessEndPointXCoordinate

      public Double getAccessEndPointXCoordinate()
      Returns the access end point X coordinate.
      Returns:
      the access end point X coordinate
    • setAccessEndPointXCoordinate

      public void setAccessEndPointXCoordinate(Double accessEndPointXCoordinate)
      Sets the access end point X coordinate.
      Parameters:
      accessEndPointXCoordinate - the access end point X coordinate
    • getAccessEndPointYCoordinate

      public Double getAccessEndPointYCoordinate()
      Returns the access end point Y coordinate.
      Returns:
      the access end point Y coordinate
    • setAccessEndPointYCoordinate

      public void setAccessEndPointYCoordinate(Double accessEndPointYCoordinate)
      Sets the access end point Y coordinate.
      Parameters:
      accessEndPointYCoordinate - the access end point Y coordinate
    • getAccessEndPointAccessTime

      public Long getAccessEndPointAccessTime()
      Returns the access end point access time.
      Returns:
      the access end point access time
    • setAccessEndPointAccessTime

      public void setAccessEndPointAccessTime(Long accessEndPointAccessTime)
      Sets the access end point access time.
      Parameters:
      accessEndPointAccessTime - the access end point access time
    • isInvertible

      public Boolean isInvertible()
      Checks if is the linear asset location is invertible.
      Returns:
      true if the linear asset location is invertible, false otherwise
    • setInvertible

      public void setInvertible(Boolean invertible)
      Sets the linear asset location to invertible.
      Parameters:
      invertible - true if the linear asset location must be invertible, false otherwise
    • areStartCoordinatesValid

      public boolean areStartCoordinatesValid()
      Says if the start coordinates of the address are valid.
      Returns:
      true if the start address coordinates are valid, false otherwise
    • areEndCoordinatesValid

      public boolean areEndCoordinatesValid()
      Says if the end coordinates of the address are valid.
      Returns:
      true if the end address coordinates are valid, false otherwise
    • hasEnterAccessPoint

      public boolean hasEnterAccessPoint()
    • hasExitAccessPoint

      public boolean hasExitAccessPoint()
    • getEnterLongitude

      public Double getEnterLongitude()
    • getEnterLatitude

      public Double getEnterLatitude()
    • getExitLongitude

      public Double getExitLongitude()
    • getExitLatitude

      public Double getExitLatitude()
    • useEnterAccessTime

      public boolean useEnterAccessTime()
    • getEnterAccessTime

      public int getEnterAccessTime()
    • useExitAccessTime

      public boolean useExitAccessTime()
    • getExitAccessTime

      public int getExitAccessTime()