in taverna-scufl2-api/src/main/java/org/apache/taverna/scufl2/api/core/BlockingControlLink.java [100:124]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
BlockingControlLink other = (BlockingControlLink) obj;
if (getUntilFinished() == null) {
if (other.getUntilFinished() != null)
return false;
} else if (!getUntilFinished().equals(other.getUntilFinished()))
return false;
if (getParent() == null) {
if (other.getParent() != null)
return false;
} else if (!getParent().equals(other.getParent()))
return false;
if (getBlock() == null) {
if (other.getBlock() != null)
return false;
} else if (!getBlock().equals(other.getBlock()))
return false;
return true;
}