com.projectdarkstar.tools.dtc.domain
Class LogFile

java.lang.Object
  extended by com.projectdarkstar.tools.dtc.domain.LogFile
All Implemented Interfaces:
Serializable

public class LogFile
extends Object
implements Serializable

Represents a log file

See Also:
Serialized Form

Constructor Summary
LogFile()
           
LogFile(String log)
           
 
Method Summary
 boolean equals(Object o)
           
 Long getId()
          Returns the id of the entity in persistent storage
 String getLog()
           
 Long getVersionNumber()
          Returns the version number in the data store that this entity represents.
 int hashCode()
           
 void setId(Long id)
           
 void setLog(String log)
           
 void setVersionNumber(Long versionNumber)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogFile

public LogFile()

LogFile

public LogFile(String log)
Method Detail

getId

public Long getId()
Returns the id of the entity in persistent storage

Returns:
id of the entity

setId

public void setId(Long id)

getVersionNumber

public Long getVersionNumber()
Returns the version number in the data store that this entity represents. Whenever an update to an object is pushed to the persistent data store, the version number is incremented.

Returns:
version number of the entity

setVersionNumber

public void setVersionNumber(Long versionNumber)

getLog

public String getLog()

setLog

public void setLog(String log)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013. All Rights Reserved.