aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/data/sqlaccess/sqlblueprint.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/montage/data/sqlaccess/sqlblueprint.js')
-rwxr-xr-xnode_modules/montage/data/sqlaccess/sqlblueprint.js135
1 files changed, 0 insertions, 135 deletions
diff --git a/node_modules/montage/data/sqlaccess/sqlblueprint.js b/node_modules/montage/data/sqlaccess/sqlblueprint.js
deleted file mode 100755
index 5c389e3c..00000000
--- a/node_modules/montage/data/sqlaccess/sqlblueprint.js
+++ /dev/null
@@ -1,135 +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/sqlaccess/sqlblueprint
8 @requires montage/core/core
9 @requires montage/data/blueprint
10 @requires montage/data/sqlaccess/sqlselectorevaluator
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 SqlSelectorEvaluator = require("data/sqlaccess/sqlselectorevaluator").SqlSelectorEvaluator; // registering the evaluators
21var logger = require("core/logger").logger("sqlblueprint");
22
23/**
24 @class module:montage/data/sqlaccess/sqlblueprint.SqlBlueprintBinder
25 @extends module:montage/data/blueprint.BlueprintBinder
26*/
27var SqlBlueprintBinder = exports.SqlBlueprintBinder = Montage.create(BlueprintBinder,/** @lends module:montage/data/sqlaccess/sqlblueprint.SqlBlueprintBinder# */ {
28
29/**
30 Description TODO
31 @type {Property} URL
32 @default {String} "montage/data/sqlaccess/sqlstore"
33 */
34 storeModuleId: {
35 value: "data/sqlaccess/sqlstore"
36 },
37/**
38 Description TODO
39 @type {Property}
40 @default {String} "SqlStore"
41 */
42 storePrototypeName: {
43 value: "SqlStore"
44 },
45/**
46 Description TODO
47 @function
48 @returns {Function} SqlBlueprint.create()
49 */
50 createBlueprint: {
51 value: function() {
52 return SqlBlueprint.create();
53 }
54 }
55
56
57})
58/**
59 @class module:montage/data/sqlaccess/sqlblueprint.SqlBlueprint
60*/
61var SqlBlueprint = exports.SqlBlueprint = Montage.create(Blueprint,/** @lends module:montage/data/sqlaccess/sqlblueprint.SqlBlueprint# */ {
62
63/**
64 Conventional method to crete new attribute.<br>
65 This can be overwritten by specific stores.
66 @function
67 @returns {Function} SqlToOneAttribute.create()
68 */
69 createToOneAttribute: {
70 value: function() {
71 return SqlToOneAttribute.create();
72 }
73 },
74
75/**
76 Conventional method to crete new attribute.<br>
77 This can be overwritten by specific stores.
78 @function
79 @returns {Function} SqlToManyAttribute.create()
80 */
81 createToManyAttribute: {
82 value: function() {
83 return SqlToManyAttribute.create();
84 }
85 },
86
87 /**
88 Conventional method to crete new attribute.<br>
89 This can be overwritten by specific stores.
90 @function
91 @returns {Function} SqlToOneRelationship.create()
92 */
93 createToOneRelationship: {
94 value: function() {
95 return SqlToOneRelationship.create();
96 }
97 },
98
99/**
100 Conventional method to crete new attribute.<br>
101 This can be overwritten by specific stores.
102 @function
103 @returns {Function} SqlToManyRelationship.create()
104 */
105 createToManyRelationship: {
106 value: function() {
107 return SqlToManyRelationship.create();
108 }
109 }
110
111});
112/**
113 @class module:montage/data/sqlaccess/sqlblueprint.SqlToOneAttribute
114*/
115var SqlToOneAttribute = exports.SqlToOneAttribute = Montage.create(ToOneAttribute,/** @lends module:montage/data/sqlaccess/sqlblueprint.SqlToOneAttribute# */ {
116
117});
118/**
119 @class module:montage/data/sqlaccess/sqlblueprint.SqlToOneRelationship
120*/
121var SqlToOneRelationship = exports.SqlToOneRelationship = Montage.create(ToOneRelationship,/** @lends module:montage/data/sqlaccess/sqlblueprint.SqlToOneRelationship# */ {
122
123});
124/**
125 @class module:montage/data/sqlaccess/sqlblueprint.SqlToManyAttribute
126*/
127var SqlToManyAttribute = exports.SqlToManyAttribute = Montage.create(ToManyAttribute,/** @lends module:montage/data/sqlaccess/sqlblueprint.SqlToManyAttribute# */ {
128
129});
130/**
131 @class module:montage/data/sqlaccess/sqlblueprint.SqlToManyRelationship
132*/
133var SqlToManyRelationship = exports.SqlToManyRelationship = Montage.create(ToManyRelationship, /** @lends module:montage/data/sqlaccess/sqlblueprint.SqlToManyRelationship# */{
134
135});