/**
* Equality on name.
*/
public boolean equals(Object object) {
if (object instanceof ResourceReference) {
ResourceReference resourceReference = (ResourceReference) object;
return resourceReference.getName().equals(this.getName());
}
return false;
}