|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.jpa.JPAObject
com.sptci.jpa.StartLetter
public class StartLetter
A simple object that is used to implement efficient alphabetical indexing of persistent objects. Querying instances of this object can return the starting characters for the associated object very efficiently instead of running through the extent for the object instances.
© Copyright 2007, Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
protected char |
letter
The start letter that is represented by this instance. |
protected String |
source
The discriminator field that is used to qualify the source object with which this instance is associated. |
| Fields inherited from class com.sptci.jpa.JPAObject |
|---|
hash, HASH, logger, oid, startLetter |
| Constructor Summary | |
|---|---|
protected |
StartLetter()
Default constructor. |
|
StartLetter(char letter,
String source)
Create a new instance of the object with the specified values. |
| Method Summary | |
|---|---|
char |
getLetter()
Returns letter. |
String |
getSource()
Returns source. |
| Methods inherited from class com.sptci.jpa.JPAObject |
|---|
clone, compareTo, createXStream, equals, fromXML, getObjectId, getStartLetter, hashCode, jdoPostLoad, jdoPreDelete, jdoPreStore, resetHash, toString, toXML |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected char letter
protected String source
| Constructor Detail |
|---|
protected StartLetter()
public StartLetter(char letter,
String source)
| Method Detail |
|---|
public char getLetter()
letter.
public String getSource()
source.
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||