comparison app/model/Messgroesse.js @ 548:d47ee7439f44

Added new js files.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 06 Mar 2015 12:43:52 +0100
parents
children 31eaed998531
comparison
equal deleted inserted replaced
547:f172b35a3b92 548:d47ee7439f44
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
2 * Software engineering by Intevation GmbH
3 *
4 * This file is Free Software under the GNU GPL (v>=3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
6 * the documentation coming with IMIS-Labordaten-Application for details.
7 */
8
9 /**
10 * Model for Messgroesse Stammdaten.
11 */
12 Ext.define('Lada.model.Messgroesse', {
13 extend: 'Ext.data.Model',
14
15 /**
16 * Fields are:
17 * - id: The unique identifier (Primary key).
18 * - beschreibung: The long description.
19 * - defaultFarbe:
20 * - idfNuklidKey:
21 * - istLeitNuklid:
22 * - eudfNuklidId:
23 * - kennungBvl:
24 */
25 fields: [{
26 name: 'id'
27 }, {
28 name: 'beschreibung'
29 }, {
30 name: 'messgroesse'
31 }, {
32 name: 'defaultFarbe'
33 }, {
34 name: 'idfNuklidKey'
35 }, {
36 name: 'istLeitNuklid'
37 }, {
38 name: 'eudfNuklidId'
39 }, {
40 name: 'kennungBvl'
41 }],
42
43 idProperty: 'id',
44
45 proxy: {
46 type: 'rest',
47 url: 'lada-server/messgroesse',
48 reader: {
49 type: 'json',
50 root: 'data'
51 }
52 }
53 });

http://lada.wald.intevation.org