com.arcao.geocaching.api.data
Class CacheLog

java.lang.Object
  extended by com.arcao.geocaching.api.data.CacheLog

public class CacheLog
extends Object

CacheLog class keep all information cache log.

Author:
arcao

Constructor Summary
CacheLog(Date date, LogType logType, String author, String text)
          Create a new instance of cache log and fill it with data
 
Method Summary
 String getAuthor()
          Get an author of log
 Date getDate()
          Get a date when the cache was found
 LogType getLogType()
          Get a type of log
 String getText()
          Get a text of log
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheLog

public CacheLog(Date date,
                LogType logType,
                String author,
                String text)
Create a new instance of cache log and fill it with data

Parameters:
date - date when the cache was found
logType - type of log
author - author of log
text - text of log
Method Detail

getDate

public Date getDate()
Get a date when the cache was found

Returns:
date

getLogType

public LogType getLogType()
Get a type of log

Returns:
type of log

getAuthor

public String getAuthor()
Get an author of log

Returns:
author of log

getText

public String getText()
Get a text of log

Returns:
text of log

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.