Mercurial > lada > lada-client
annotate app/model/Probenzusatzwert.js @ 495:649bf1d08531
Use extjs dev with all classes and css from extjs resources for development.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 03 Nov 2014 12:12:24 +0100 |
parents | 850ccfe5f3c4 |
children |
rev | line source |
---|---|
472
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
332
diff
changeset
|
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
332
diff
changeset
|
2 * Software engineering by Intevation GmbH |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
332
diff
changeset
|
3 * |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
332
diff
changeset
|
4 * This file is Free Software under the GNU GPL (v>=3) |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
332
diff
changeset
|
5 * and comes with ABSOLUTELY NO WARRANTY! Check out |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
332
diff
changeset
|
6 * the documentation coming with IMIS-Labordaten-Application for details. |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
332
diff
changeset
|
7 */ |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
332
diff
changeset
|
8 |
319
f622a282f512
Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
305
diff
changeset
|
9 /** |
f622a282f512
Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
305
diff
changeset
|
10 * Model class for Probenzusatzwert |
f622a282f512
Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
305
diff
changeset
|
11 */ |
122
a7bfaeb1655d
Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 Ext.define('Lada.model.Probenzusatzwert', { |
332
24341cbed778
Inherit form model.base. Formatting
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
319
diff
changeset
|
13 extend: 'Lada.model.Base', |
491
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
488
diff
changeset
|
14 |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
488
diff
changeset
|
15 fields: [{ |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
488
diff
changeset
|
16 name: "id" |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
488
diff
changeset
|
17 }, { |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
488
diff
changeset
|
18 name: "mehId" |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
488
diff
changeset
|
19 }, { |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
488
diff
changeset
|
20 name: "beschreibung" |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
488
diff
changeset
|
21 }, { |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
488
diff
changeset
|
22 name: "zusatzwert" |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
488
diff
changeset
|
23 }, { |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
488
diff
changeset
|
24 name: "eudfKeyword" |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
488
diff
changeset
|
25 }], |
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
488
diff
changeset
|
26 |
488
f7446ebfe5d0
Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
27 idProperty: "id", |
491
850ccfe5f3c4
Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
488
diff
changeset
|
28 |
122
a7bfaeb1655d
Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
29 proxy: { |
a7bfaeb1655d
Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
30 type: 'rest', |
488
f7446ebfe5d0
Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
472
diff
changeset
|
31 url: 'server/rest/sta_probenzusatz', |
122
a7bfaeb1655d
Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
32 autoload: true, |
a7bfaeb1655d
Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
33 reader: { |
a7bfaeb1655d
Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
34 type: 'json', |
a7bfaeb1655d
Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
35 root: 'data' |
a7bfaeb1655d
Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
36 } |
a7bfaeb1655d
Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
37 } |
a7bfaeb1655d
Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
38 }); |