525354555657585960
public String getStatusField() { return "status"; } public DefaultRelationBuilder relation(String name) { DefaultRelationBuilder builder = createBuilderFor(name); this.relations.add(builder); return builder; }
61626364656667
/** * Allows the use of different relation builders. */ protected DefaultRelationBuilder createBuilderFor(String name) { return new DefaultRelationBuilder(name, routes, proxifier); }
43444546474849
this.proxifier = proxifier; this.router = router; } public RelationBuilder newRelationBuilder() { return new DefaultRelationBuilder(router, proxifier); }