@Override public boolean equals(Object o) { if (o == null || !(o instanceof Cdo)) { return false; } Cdo other = (Cdo) o; return globalId.equals(other.globalId); }
@Override public int hashCode() { return globalId.hashCode(); }
@Override public String toString() { return globalId.toString(); }
/** shortcut to {@link GlobalId#getCdoClass()} */ public ManagedClass getManagedClass() { return globalId.getCdoClass(); }