-
public final class GeocachingLog extends Storable
This Object is container for cache Logs. <br></br><br></br> Useful pages with list:<br></br>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classGeocachingLog.Companion
-
Field Summary
Fields Modifier and Type Field Description private Longidprivate Integertypeprivate Longdateprivate Stringfinderprivate LongfindersIdprivate IntegerfindersFoundprivate StringlogTextprivate DoublecooLonprivate DoublecooLatprivate final Iterator<GeocachingImage>imagesprivate final Storablecopyprivate final ByteArrayasBytes
-
Constructor Summary
Constructors Constructor Description GeocachingLog()
-
Method Summary
Modifier and Type Method Description final LonggetId()Unique ID of a log. final UnitsetId(Long id)Unique ID of a log. final IntegergetType()Type of log defined by CACHE_LOG_TYPE_X parameter. final UnitsetType(Integer type)Type of log defined by CACHE_LOG_TYPE_X parameter. final LonggetDate()Time when log was created (in ms). final UnitsetDate(Long date)Time when log was created (in ms). final StringgetFinder()Name of 'finder'. final UnitsetFinder(String finder)Name of 'finder'. final LonggetFindersId()ID of the 'finder'. final UnitsetFindersId(Long findersId)ID of the 'finder'. final IntegergetFindersFound()Amount of already found caches by current 'finder'. final UnitsetFindersFound(Integer findersFound)Amount of already found caches by current 'finder'. final StringgetLogText()Text of log itself. final UnitsetLogText(String logText)Text of log itself. final DoublegetCooLon()Longitude coordinate to this log. final UnitsetCooLon(Double cooLon)Longitude coordinate to this log. final DoublegetCooLat()Latitude coordinate to this log. final UnitsetCooLat(Double cooLat)Latitude coordinate to this log. final Iterator<GeocachingImage>getImages()final StorablegetCopy()final ByteArraygetAsBytes()final UnitaddImage(GeocachingImage image)Add image to current list of images attached to this log. -
-
Method Detail
-
getFindersId
final Long getFindersId()
ID of the 'finder'.
-
setFindersId
final Unit setFindersId(Long findersId)
ID of the 'finder'.
-
getFindersFound
final Integer getFindersFound()
Amount of already found caches by current 'finder'.
-
setFindersFound
final Unit setFindersFound(Integer findersFound)
Amount of already found caches by current 'finder'.
-
getLogText
final String getLogText()
Text of log itself.
-
setLogText
final Unit setLogText(String logText)
Text of log itself.
-
setCooLon
final Unit setCooLon(Double cooLon)
Longitude coordinate to this log. Value is in WGS84 format.
-
setCooLat
final Unit setCooLat(Double cooLat)
Latitude coordinate to this log. Value is in WGS84 format.
-
getImages
final Iterator<GeocachingImage> getImages()
-
getAsBytes
final ByteArray getAsBytes()
-
addImage
final Unit addImage(GeocachingImage image)
Add image to current list of images attached to this log.
- Parameters:
image- image to add
-
-
-
-