Exemplo n.º 1
0
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = super.hashCode();
   result = prime * result + ((properties == null) ? 0 : properties.hashCode());
   return result;
 }
Exemplo n.º 2
0
 @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;
 }
Exemplo n.º 3
0
 @Override
 public void setPayload(Payload data) {
   super.setPayload(data);
   properties.setContentMetadata(data.getContentMetadata());
 }