com.endeca.itl.recordstore
Class RecordId

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

public class RecordId
extends Object
implements Comparable<RecordId>


Constructor Summary
RecordId(String id)
           
 
Method Summary
 int compareTo(RecordId o)
           
static List<RecordId> createRecordIdCollection(Collection<String> recordIds)
           
 boolean equals(Object other)
           
 String getId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecordId

public RecordId(String id)
Method Detail

createRecordIdCollection

public static List<RecordId> createRecordIdCollection(Collection<String> recordIds)
Parameters:
recordIds - The Ids to create
Returns:
A new RecordIdCollection with the specified Ids

getId

public String 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(RecordId o)
Specified by:
compareTo in interface Comparable<RecordId>

toString

public String toString()
Overrides:
toString in class Object


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