aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/data/restaccess/restblueprint.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/montage/data/restaccess/restblueprint.js')
-rwxr-xr-xnode_modules/montage/data/restaccess/restblueprint.js138
1 files changed, 0 insertions, 138 deletions
diff --git a/node_modules/montage/data/restaccess/restblueprint.js b/node_modules/montage/data/restaccess/restblueprint.js
deleted file mode 100755
index a15d499e..00000000
--- a/node_modules/montage/data/restaccess/restblueprint.js
+++ /dev/null
@@ -1,138 +0,0 @@
1/* <copyright>
2This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5</copyright> */
6/**
7 @module montage/data/restaccess/restblueprint
8 @requires montage/core/core
9 @requires montage/data/blueprint
10 @requires montage/data/restaccess/restselectorevaluator
11 @requires montage/core/logger
12*/
13var Montage = require("montage").Montage;
14var Blueprint = require("data/blueprint").Blueprint;
15var BlueprintBinder = require("data/blueprint").BlueprintBinder;
16var ToOneAttribute = require("data/blueprint").ToOneAttribute;
17var ToManyAttribute = require("data/blueprint").ToManyAttribute;
18var ToOneRelationship = require("data/blueprint").ToOneRelationship;
19var ToManyRelationship = require("data/blueprint").ToManyRelationship;
20var RestSelectorEvaluator = require("data/restaccess/restselectorevaluator").RestSelectorEvaluator; // registering the evaluators
21var logger = require("core/logger").logger("restblueprint");
22
23/**
24 @class module:montage/data/restaccess/restblueprint.RestBlueprintBinder
25 @extends module:montage/data/blueprint.BlueprintBinder
26*/
27var RestBlueprintBinder = exports.SqlBlueprintBinder = Montage.create(BlueprintBinder,/** @lends module:montage/data/restaccess/restblueprint.RestBlueprintBinder# */ {
28
29/**
30 Description TODO
31 @type {Property} URL
32 @default {String} "montage/data/restaccess/reststore"
33 */
34 storeModuleId: {
35 value: "montage/data/restaccess/reststore"
36 },
37
38/**
39 Description TODO
40 @type {Property} Function
41 @default {String} "RestStore"
42 */
43 storePrototypeName: {
44 value: "RestStore"
45 },
46
47/**
48 Description TODO
49 @function
50 @returns {Function} RestBlueprint.create()
51 */
52 createBlueprint: {
53 value: function() {
54 return RestBlueprint.create();
55 }
56 }
57
58
59})
60
61/**
62 @class module:montage/data/restaccess/restblueprint.RestBlueprint
63*/
64var RestBlueprint = exports.RestBlueprint = Montage.create(Blueprint,/** @lends module:montage/data/restaccess/restblueprint.RestBlueprint# */ {
65
66/**
67 Conventional method to crete new attribute.<br>
68 This can be overwritten by specific stores.
69 @function
70 @returns {Function} RestToOneAttribute.create()
71 */
72 createToOneAttribute: {
73 value: function() {
74 return RestToOneAttribute.create();
75 }
76 },
77
78 /**
79 Conventional method to crete new attribute.<br>
80 This can be overwritten by specific stores.
81 @function
82 @returns {Function} RestToManyAttribute.create()
83 */
84 createToManyAttribute: {
85 value: function() {
86 return RestToManyAttribute.create();
87 }
88 },
89
90 /**
91 Conventional method to crete new attribute.<br>
92 This can be overwritten by specific stores.
93 @function
94 @returns {Function} RestToOneRelationship.create()
95 */
96 createToOneRelationship: {
97 value: function() {
98 return RestToOneRelationship.create();
99 }
100 },
101
102/**
103 Conventional method to crete new attribute.<br>
104 This can be overwritten by specific stores.
105 @function
106 @returns {Function} RestToManyRelationship.create()
107 */
108 createToManyRelationship: {
109 value: function() {
110 return RestToManyRelationship.create();
111 }
112 }
113
114});
115/**
116 @class module:montage/data/restaccess/restblueprint.RestToOneAttribute
117*/
118var RestToOneAttribute = exports.RestToOneAttribute = Montage.create(ToOneAttribute,/** @lends module:montage/data/restaccess/restblueprint.RestToOneAttribute# */ {
119
120});
121/**
122 @class module:montage/data/restaccess/restblueprint.RestToOneRelationship
123*/
124var RestToOneRelationship = exports.RestToOneRelationship = Montage.create(ToOneRelationship,/** @lends module:montage/data/restaccess/restblueprint.RestToOneRelationship# */ {
125
126});
127/**
128 @class module:montage/data/restaccess/restblueprint.RestToManyAttribute
129*/
130var RestToManyAttribute = exports.RestToManyAttribute = Montage.create(ToManyAttribute,/** @lends module:montage/data/restaccess/restblueprint.RestToManyAttribute# */ {
131
132});
133/**
134 @class module:montage/data/restaccess/restblueprint.RestToManyRelationship
135*/
136var RestToManyRelationship = exports.RestToManyRelationship = Montage.create(ToManyRelationship,/** @lends module:montage/data/restaccess/restblueprint.RestToManyRelationship# */ {
137
138});