de.hunsicker.jalopy.storage
Class History.Entry

java.lang.Object
  |
  +--de.hunsicker.jalopy.storage.History.Entry
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
History

public static final class History.Entry
extends java.lang.Object
implements java.io.Serializable

Represents a history entry.

See Also:
Serialized Form

Constructor Summary
History.Entry(java.lang.String packageName, long modification)
          Creates a new entry object.
 
Method Summary
 long getModification()
          Returns the last modification value (could be timestamp or crc).
 java.lang.String getPackageName()
          Returns the package name of the entry.
 java.lang.String toString()
          Returns a string representation of this entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

History.Entry

public History.Entry(java.lang.String packageName,
                     long modification)
Creates a new entry object.

Parameters:
packageName - the package name of the entry.
modification - the value calculated for the last processing of this entry.
Method Detail

getModification

public long getModification()
Returns the last modification value (could be timestamp or crc).

Returns:
last modification value.

getPackageName

public java.lang.String getPackageName()
Returns the package name of the entry.

Returns:
the package name.

toString

public java.lang.String toString()
Returns a string representation of this entry.

Overrides:
toString in class java.lang.Object
Returns:
a string representation of this entry.


Copyright © 1997-2005 Jalopy. All Rights Reserved.