public class StartLetter extends Object implements Comparable<StartLetter>, Serializable
© Copyright 2007, Sans Pareil Technologies, Inc.
| Modifier | Constructor and Description |
|---|---|
protected |
StartLetter()
Default constructor.
|
|
StartLetter(char letter,
Class source)
Create a new instance of the object with the specified values.
|
|
StartLetter(char letter,
String source)
Create a new instance of the object with the specified values.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(StartLetter object)
Compares this object with the specified object for order.
|
boolean |
equals(Object object)
Compare the specified object with this instance for equality.
|
char |
getLetter()
Returns
letter. |
String |
getObjectId()
Return the
ObjectId of this persistent instance. |
String |
getSource()
Returns
source. |
int |
hashCode()
Calculate the hash code for this instance.
|
String |
toString()
Return a string representation of this object.
|
protected StartLetter()
public StartLetter(char letter,
String source)
oid primary
key field to be initialised.letter - The starting letter to associate.source - The object with which the starting letter is associated.public StartLetter(char letter,
Class source)
source is assigned the fully qualified class name of the
specified source parameter.letter - The starting letter to associate.source - The object with which the starting letter is associated.public String getObjectId()
ObjectId of this persistent instance.ObjectId of this instance. Returns
null if this instance is transient.public boolean equals(Object object)
ObjectId,
or if they have the same values for the fields.public int hashCode()
ObjectId or the fields.public String toString()
public int compareTo(StartLetter object)
Compare the values of letter
compareTo in interface Comparable<StartLetter>object - The object that is to be compared with this object.public char getLetter()
letter.