public CollectionRelationshipProvider(final ConnectionFactory connectionFactory,final ResourcePath resourcePath,final SchemaField schemaField,final ActivityLogger activityLogger,final ManagedObjectSetService managedObjectSyncService){
  super(connectionFactory,resourcePath,schemaField,activityLogger,managedObjectSyncService);
  final Router router=new Router();
  router.addRoute(RoutingMode.STARTS_WITH,uriTemplate(String.format("{%s}/%s",PARAM_MANAGED_OBJECT_ID,schemaField.getName())),Resources.newHandler(this));
  this.requestHandler=router;
}

public CollectionRelationshipProvider ( final ConnectionFactory connectionFactory , final ResourcePath resourcePath , final SchemaField schemaField , final ActivityLogger activityLogger , final ManagedObjectSetService managedObjectSyncService ) { super ( connectionFactory , resourcePath , schemaField , activityLogger , managedObjectSyncService ) ; final Router router = new Router ( ) ; router . addRoute ( RoutingMode . STARTS_WITH , uriTemplate ( String . format ( "{%s}/%s" , PARAM_MANAGED_OBJECT_ID , schemaField . getName ( ) ) ) , Resources . newHandler ( this ) ) ; this . requestHandler = router ; }
create a new relationship set for the given managed resource
