|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.entity.AbstractBasicEntity
@MappedSuperclass public abstract class AbstractBasicEntity
The most basic default implementation for entities used in pulse,
containing a generated id and #equals(Object), #hashCode()
and #compareTo(AbstractBasicEntity) methods.
| Constructor Summary | |
|---|---|
AbstractBasicEntity()
|
|
| Method Summary | |
|---|---|
int |
compareTo(AbstractBasicEntity object)
Compares this AbstractBasicEntity to the parameter object,
and either returns an int as the result of the comparison, or throws a
ClassCastException. |
boolean |
equals(java.lang.Object object)
Checks if this AbstractBasicEntity is equal to the parameter
object. |
protected java.lang.String |
getFullQualifiedClassNameJAXB()
Deprecated. |
java.lang.Long |
getId()
Returns the unique, generated Id of this AbstractBasicEntity
. |
int |
hashCode()
Returns a hashCode for this AbstractBasicEntity. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractBasicEntity()
| Method Detail |
|---|
public final java.lang.Long getId()
AbstractBasicEntity
.
AbstractBasicEntity@Deprecated protected final java.lang.String getFullQualifiedClassNameJAXB()
The FQN for evaluation in XSL:
return getClass().getCanonicalName();
public final int compareTo(AbstractBasicEntity object)
AbstractBasicEntity to the parameter object,
and either returns an int as the result of the comparison, or throws a
ClassCastException.
object - the AbstractBasicEntity to be compared to this
AbstractBasicEntity
AbstractBasicEntity is less
than, equal to, or greater than the parameter objectpublic boolean equals(java.lang.Object object)
AbstractBasicEntity is equal to the parameter
object.
equals in class java.lang.Objectobject - the Object to be checked for equality with this
AbstractBasicEntity
true if the parameter object is not null and equals
this AbstractBasicEntity, else falsepublic int hashCode()
AbstractBasicEntity.
hashCode in class java.lang.ObjectAbstractBasicEntityhashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||