This class has 2 direct subclasses.
The main reason for this class is to ensure that equality etc. works in a consistent way across both subclasses.
| Modifier and Type | Field and Description |
|---|---|
| protected byte[] | |
| protected int | format_id
Protected Fields of the class |
| protected byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | hashCode()
Overrides java. Provide a hashCode which is compatable with the equals() method. |
| public String |
| branch_id | back to summary |
|---|---|
| protected byte[] branch_id | |
| format_id | back to summary |
|---|---|
| protected int format_id Protected Fields of the class | |
| global_id | back to summary |
|---|---|
| protected byte[] global_id | |
| GlobalXact | back to summary |
|---|---|
| public GlobalXact() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Provide a hashCode which is compatable with the equals() method.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |