|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axonframework.domain.AbstractAggregateIdentifier
public abstract class AbstractAggregateIdentifier
Abstract implementation of the aggregate identifier providing basic functionality as defined by AggregateIdentifier.
compareTo(AggregateIdentifier), equals(Object), hashCode() and toString() methods.
The compareTo(AggregateIdentifier) methods returns the result of the comparison of both identifier's string
representations. For numerical values, this may not be a suitable comparison. For example, 3 would be evaluated as
being larger than 10, when compared as Strings.
| Constructor Summary | |
|---|---|
AbstractAggregateIdentifier()
|
|
| Method Summary | |
|---|---|
int |
compareTo(AggregateIdentifier other)
This implementation compared the string representations of both identifiers. |
boolean |
equals(Object o)
|
int |
hashCode()
This implementation returns the hashCode of the string representation of the identifier. |
String |
toString()
This implementation returns the result of AggregateIdentifier.asString(). |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.axonframework.domain.AggregateIdentifier |
|---|
asString |
| Constructor Detail |
|---|
public AbstractAggregateIdentifier()
| Method Detail |
|---|
public String toString()
AggregateIdentifier.asString().
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic int compareTo(AggregateIdentifier other)
compareTo in interface Comparable<AggregateIdentifier>public boolean equals(Object o)
AggregateIdentifier
equals in interface AggregateIdentifierequals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||