Subversion Repositories Applications.papyrus

Rev

Rev 1372 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1372 Rev 1422
1
/*
1
/*
2
	Copyright (c) 2004-2006, The Dojo Foundation
2
	Copyright (c) 2004-2006, The Dojo Foundation
3
	All Rights Reserved.
3
	All Rights Reserved.
4
 
4
 
5
	Licensed under the Academic Free License version 2.1 or above OR the
5
	Licensed under the Academic Free License version 2.1 or above OR the
6
	modified BSD license. For more information on Dojo licensing, see:
6
	modified BSD license. For more information on Dojo licensing, see:
7
 
7
 
8
		http://dojotoolkit.org/community/licensing.shtml
8
		http://dojotoolkit.org/community/licensing.shtml
9
*/
9
*/
-
 
10
 
-
 
11
 
10
 
12
 
11
dojo.provide("dojo.data.old.Value");
13
dojo.provide("dojo.data.old.Value");
12
dojo.require("dojo.lang.assert");
14
dojo.require("dojo.lang.assert");
13
dojo.data.old.Value = function (value) {
15
dojo.data.old.Value = function (value) {
14
	this._value = value;
16
	this._value = value;
15
	this._type = null;
17
	this._type = null;
16
};
18
};
17
dojo.data.old.Value.prototype.toString = function () {
19
dojo.data.old.Value.prototype.toString = function () {
18
	return this._value.toString();
20
	return this._value.toString();
19
};
21
};
20
dojo.data.old.Value.prototype.getValue = function () {
22
dojo.data.old.Value.prototype.getValue = function () {
21
	return this._value;
23
	return this._value;
22
};
24
};
23
dojo.data.old.Value.prototype.getType = function () {
25
dojo.data.old.Value.prototype.getType = function () {
24
	dojo.unimplemented("dojo.data.old.Value.prototype.getType");
26
	dojo.unimplemented("dojo.data.old.Value.prototype.getType");
25
	return this._type;
27
	return this._type;
26
};
28
};
27
dojo.data.old.Value.prototype.compare = function () {
29
dojo.data.old.Value.prototype.compare = function () {
28
	dojo.unimplemented("dojo.data.old.Value.prototype.compare");
30
	dojo.unimplemented("dojo.data.old.Value.prototype.compare");
29
};
31
};
30
dojo.data.old.Value.prototype.isEqual = function () {
32
dojo.data.old.Value.prototype.isEqual = function () {
31
	dojo.unimplemented("dojo.data.old.Value.prototype.isEqual");
33
	dojo.unimplemented("dojo.data.old.Value.prototype.isEqual");
32
};
34
};
33
 
35