annotate app/model/StaVerwaltungseinheit.js @ 519:48593a6181c9

minor scope fix.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 16 Dec 2014 16:56:46 +0100
parents fbcf6ef3b6f6
children
rev   line source
492
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
2 * Software engineering by Intevation GmbH
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
3 *
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
4 * This file is Free Software under the GNU GPL (v>=3)
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
6 * the documentation coming with IMIS-Labordaten-Application for details.
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
7 */
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
8
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
9 /**
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
10 * Model class for Verwaltungseinheit Stammdaten.
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
11 */
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
12 Ext.define('Lada.model.StaVerwaltungseinheit', {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
13 extend: 'Ext.data.Model',
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
14
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
15 /**
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
16 * Fields are:
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
17 * - id: The unique identifer (Primary key)
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
18 * - beschreibung: The long description.
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
19 * - umweltBereich:
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
20 * - mehId:
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
21 */
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
22 fields: [{
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
23 name: 'id'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
24 }, {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
25 name: 'bundeland'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
26 }, {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
27 name: 'kdaId'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
28 }, {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
29 name: 'kreis'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
30 }, {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
31 name: 'nuts'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
32 }, {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
33 name: 'regbezirk'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
34 }, {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
35 name: 'bezeichnung'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
36 }, {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
37 name: 'isBundeland'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
38 }, {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
39 name: 'isGemeinde'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
40 }, {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
41 name: 'isLandkreis'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
42 }, {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
43 name: 'isRegbezirk'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
44 }, {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
45 name: 'koordXExtern'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
46 }, {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
47 name: 'koordYExtern'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
48 }, {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
49 name: 'plz'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
50 }, {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
51 name: 'longitude'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
52 }, {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
53 name: 'latitude'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
54 }],
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
55
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
56 idProperty: 'id',
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
57
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
58 proxy: {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
59 type: 'rest',
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
60 url: 'server/rest/sta_verwaltungseinheit',
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
61 reader: {
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
62 type: 'json',
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
63 root: 'data'
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
64 }
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
65 }
fbcf6ef3b6f6 Added missing model for verwaltungseinheit.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
66 });

http://lada.wald.intevation.org