spring-hateoas-ext/src/main/java/de/escalon/hypermedia/spring/AffordanceBuilder.java
public AffordanceBuilder reverseRel(String rev, String revertedRel) {
        this.rels.add(revertedRel);
        this.reverseRels.add(rev);
        return this;
    }
public AffordanceBuilder reverseRel(String rev, String revertedRel) {
        this.rels.add(revertedRel);
        this.reverseRels.add(rev);
        return this;
    }
public AffordanceBuilder reverseRel ( String rev , String revertedRel ) { this . rels . add ( revertedRel ) ; this . reverseRels . add ( rev ) ; return this ; }
Allows to define one or more reverse link relations (a "rev" in terms of rfc-5988), where the resource that has
the affordance will be considered the object in a subject-predicate-object statement. <p>E.g. if you had a rel
<code>ex:parent</code> which connects a child to its father, you could also use ex:parent on the father to point
to the child by reverting the direction of ex:parent. This is mainly useful when you have no other way to
express
in your context that the direction of a relationship is inverted. </p>

@param rev
to be used as reverse relationship
@param revertedRel
to be used in contexts which have no notion of reverse relationships. E.g. for a reverse rel
<code>ex:parent</code> you can use a made-up rel name <code>ex:child</code> which will be used as rel
when rendering HAL.
@return builder
Allows to define one or more reverse link relations ( a rev in terms of rfc - 5988 ) where the resource that has the affordance will be considered the object in a subject - predicate - object statement . <p > E . g . if you had a rel <code > ex : parent< / code > which connects a child to its father you could also use ex : parent on the father to point to the child by reverting the direction of ex : parent . This is mainly useful when you have no other way to express in your context that the direction of a relationship is inverted . < / p >