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
Business object representing a linear asset location.
- Since:
- 16.0
- See Also:
- GCApi:
- bo
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanSays if the end coordinates of the address are valid.booleanSays if the start coordinates of the address are valid.Returns the access end point access time.Returns the access end point X coordinate.Returns the access end point Y coordinate.Returns the access time id.Returns the access X coordinate.Returns the access Y coordinate.Returns the end point X coordinate.Returns the end point Y coordinate.intintgetId()Returns the linear asset location id.Returns the start x coordinate.Returns the start y coordinate.Returns the asset id.booleanbooleanChecks if is the linear asset location is invertible.voidsetAccessEndPointAccessTime(Long accessEndPointAccessTime) Sets the access end point access time.voidsetAccessEndPointXCoordinate(Double accessEndPointXCoordinate) Sets the access end point X coordinate.voidsetAccessEndPointYCoordinate(Double accessEndPointYCoordinate) Sets the access end point Y coordinate.voidsetAccessTime(Long accessTime) Sets the access time id.voidsetAccessXCoordinate(Double accessXCoordinate) Sets the access X coordinate.voidsetAccessYCoordinate(Double accessYCoordinate) Sets the access Y coordinate.voidsetEndPointXCoordinate(Double endPointXCoordinate) Sets the end point X coordinate.voidsetEndPointYCoordinate(Double endPointYCoordinate) Sets the end point Y coordinate.voidSets the linear asset location id.voidsetInvertible(Boolean invertible) Sets the linear asset location to invertible.voidsetStartXCoordinate(Double startXCoordinate) Sets the start x coordinate.voidsetStartYCoordinate(Double startYCoordinate) Sets the start y coordinate.voidSets the asset id.booleanbooleanMethods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
BOLinearAssetLocation
public BOLinearAssetLocation()
-
-
Method Details
-
getId
Returns the linear asset location id.- Returns:
- the linear asset location id
-
setId
Sets the linear asset location id.- Parameters:
id- the linear asset location id
-
getTarget
Returns the asset id.- Returns:
- the asset id
- See Also:
-
setTarget
Sets the asset id.- Parameters:
target- the asset id- See Also:
-
getStartXCoordinate
Returns the start x coordinate.- Returns:
- the start x coordinate
-
setStartXCoordinate
Sets the start x coordinate.- Parameters:
startXCoordinate- the start x coordinate
-
getStartYCoordinate
Returns the start y coordinate.- Returns:
- the start y coordinate
-
setStartYCoordinate
Sets the start y coordinate.- Parameters:
startYCoordinate- the start y coordinate
-
getEndPointXCoordinate
Returns the end point X coordinate.- Returns:
- the end point X coordinate
-
setEndPointXCoordinate
Sets the end point X coordinate.- Parameters:
endPointXCoordinate- the end point X coordinate
-
getEndPointYCoordinate
Returns the end point Y coordinate.- Returns:
- the end point Y coordinate
-
setEndPointYCoordinate
Sets the end point Y coordinate.- Parameters:
endPointYCoordinate- the end point Y coordinate
-
getAccessTime
Returns the access time id.- Returns:
- the access time id
-
setAccessTime
Sets the access time id.- Parameters:
accessTime- the access time id
-
getAccessXCoordinate
Returns the access X coordinate.- Returns:
- the access X coordinate
-
setAccessXCoordinate
Sets the access X coordinate.- Parameters:
accessXCoordinate- the access X coordinate
-
getAccessYCoordinate
Returns the access Y coordinate.- Returns:
- the access Y coordinate
-
setAccessYCoordinate
Sets the access Y coordinate.- Parameters:
accessYCoordinate- the access Y coordinate
-
getAccessEndPointXCoordinate
Returns the access end point X coordinate.- Returns:
- the access end point X coordinate
-
setAccessEndPointXCoordinate
Sets the access end point X coordinate.- Parameters:
accessEndPointXCoordinate- the access end point X coordinate
-
getAccessEndPointYCoordinate
Returns the access end point Y coordinate.- Returns:
- the access end point Y coordinate
-
setAccessEndPointYCoordinate
Sets the access end point Y coordinate.- Parameters:
accessEndPointYCoordinate- the access end point Y coordinate
-
getAccessEndPointAccessTime
Returns the access end point access time.- Returns:
- the access end point access time
-
setAccessEndPointAccessTime
Sets the access end point access time.- Parameters:
accessEndPointAccessTime- the access end point access time
-
isInvertible
Checks if is the linear asset location is invertible.- Returns:
- true if the linear asset location is invertible, false otherwise
-
setInvertible
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
-
getEnterLatitude
-
getExitLongitude
-
getExitLatitude
-
useEnterAccessTime
public boolean useEnterAccessTime() -
getEnterAccessTime
public int getEnterAccessTime() -
useExitAccessTime
public boolean useExitAccessTime() -
getExitAccessTime
public int getExitAccessTime()
-