public boolean isEquivalentTo(final Link other) {
        return
                getRel().equals(other.getRel()) &&
                        getHref().equals(other.getHref()) &&
                        getType().equals(other.getType()) &&
                        getProfile().equals(other.getProfile());
    }
public boolean isEquivalentTo ( final Link other ) { return getRel ( ) . equals ( other . getRel ( ) ) && getHref ( ) . equals ( other . getHref ( ) ) && getType ( ) . equals ( other . getType ( ) ) && getProfile ( ) . equals ( other . getProfile ( ) ) ; }
Two links are considerered equivalent, if they have the same {@link #getRel() link-relation type} and are
pointing to the {@link #getHref() same resource} in the same {@link #getType() representation} and
{@link #getProfile() profile}.

@param other other link
@return true if the links are equivalent, false otherwise.