Skip to content
Snippets Groups Projects

Resolve "Feature: Send endpoint for relations"

Merged René Schöne requested to merge 37-feature-send-endpoint-for-relations into dev
16 files
+ 259
101
Compare changes
  • Side-by-side
  • Inline
Files
16
  • 46572237
    working on relations · 46572237
    René Schöne authored
    - add RelationEndpointTarget, implement attributes for it
    - add null check before mapping application
    - add default send mapping for java.util.List
    - always print stacktrace upon compiler error
    - build: ragconnect.tests:classes depends on ragconnect.base:jar
    - todo: update hasTreeListEndpoints to check for send list relations
@@ -16,6 +16,14 @@ aspect ParserRewrites {
return result;
}
when (getChildName() != null && tryGloballyResolveNavigableRoleByToken(combinedName()) != null)
to RelationEndpointTarget {
RelationEndpointTarget result = new RelationEndpointTarget();
result.copyOtherValuesFrom(this);
result.setRole(NavigableRole.createRef(this.combinedName()));
return result;
}
when (getChildName() == "")
to ContextFreeTypeEndpointTarget {
ContextFreeTypeEndpointTarget result = new ContextFreeTypeEndpointTarget();
Loading