com.endeca.itl.recordstore
Class GenerationId

java.lang.Object
  extended by com.endeca.itl.recordstore.GenerationId
All Implemented Interfaces:
Comparable<GenerationId>

public class GenerationId
extends Object
implements Comparable<GenerationId>


Field Summary
static GenerationId INITIAL_GENERATION_ID
           
 
Constructor Summary
GenerationId(int id)
           
 
Method Summary
 int compareTo(GenerationId o)
           
 boolean equals(Object other)
           
 int getId()
           
 GenerationId getNextGenerationId()
           
 GenerationId getPreviousGenerationId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INITIAL_GENERATION_ID

public static final GenerationId INITIAL_GENERATION_ID
Constructor Detail

GenerationId

public GenerationId(int id)
Method Detail

getId

public int getId()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

compareTo

public int compareTo(GenerationId o)
Specified by:
compareTo in interface Comparable<GenerationId>

toString

public String toString()
Overrides:
toString in class Object

getNextGenerationId

public GenerationId getNextGenerationId()

getPreviousGenerationId

public GenerationId getPreviousGenerationId()


Copyright © 2007, 2012, Oracle and/or its affiliates. All rights reserved.