spring-hateoas-ext/src/main/java/de/escalon/hypermedia/spring/uber/AbstractUberNode.java
public UberNode getFirstByRel(String rel) {
        // TODO consider less naive impl
        for (UberNode node : data) {
            List<String> myRels = node.getRel();
            if (myRels != null) {
                for (String myRel : myRels) {
                    if (rel.equals(myRel)) {
                        return node;
                    }
                }
            }
        }
        return null;
    }
public UberNode getFirstByRel(String rel) {
        // TODO consider less naive impl
        for (UberNode node : data) {
            List<String> myRels = node.getRel();
            if (myRels != null) {
                for (String myRel : myRels) {
                    if (rel.equals(myRel)) {
                        return node;
                    }
                }
            }
        }
        return null;
    }
Gets first child of this uber node having the given rel attribute.

@param rel
to look up
@return found child or null