@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((properties == null) ? 0 : properties.hashCode()); return result; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; AzureBlobImpl other = (AzureBlobImpl) obj; if (properties == null) { if (other.properties != null) return false; } else if (!properties.equals(other.properties)) return false; return true; }
@Override public void setPayload(Payload data) { super.setPayload(data); properties.setContentMetadata(data.getContentMetadata()); }