/* (non-Javadoc) * @see java.lang.Object#hashCode() */ @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((changeNumber == null) ? 0 : changeNumber.hashCode()); result = prime * result + ((changeType == null) ? 0 : changeType.hashCode()); result = prime * result + ((objectEtag == null) ? 0 : objectEtag.hashCode()); result = prime * result + ((objectId == null) ? 0 : objectId.hashCode()); result = prime * result + ((objectType == null) ? 0 : objectType.hashCode()); result = prime * result + ((parentId == null) ? 0 : parentId.hashCode()); result = prime * result + ((timeStamp == null) ? 0 : timeStamp.hashCode()); return result; }
/** * The object's type * * @return */ public String getObjectType() { return objectType.name(); }