code: private void setUpCompositeRelation2(Entity entity, ForeignKey fk) {
          Relation forwardRelation = buildCompositeRelation2(entity, fk);
          entity.addRelation(forwardRelation);
          if (shouldCreateInverse(forwardRelation)) {
              Relation reverseRelation = forwardRelation.createInverse();
              forwardRelation.getToEntity().addRelation(reverseRelation);
          }
      }
docs: ---------------------------------------------------