Mercurial > dive4elements > gnv-client
annotate gnv-artifacts/src/main/java/de/intevation/gnv/profile/vertical/VerticalProfileMeshArtifact.java @ 773:5fb1ea68e19c
Avoid danger to get a NullPointerException if no time to live is served by CallContext.
gnv-artifacts/trunk@832 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 26 Mar 2010 09:55:28 +0000 |
parents | 7fb9441dd8af |
children | 9a828e5a2390 |
rev | line source |
---|---|
83
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
1 /** |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
2 * |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
3 */ |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
4 package de.intevation.gnv.profile.vertical; |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
5 |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
6 import org.apache.log4j.Logger; |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
7 |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
8 /** |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
9 * @author Tim Englich <tim.englich@intevation.de> |
171
7fb9441dd8af
Format Code to max 80 Chars per Row and Cleanup
Tim Englich <tim.englich@intevation.de>
parents:
83
diff
changeset
|
10 * |
83
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
11 */ |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
12 public class VerticalProfileMeshArtifact extends VerticalProfileArtifact { |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
13 /** |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
14 * the logger, used to log exceptions and additonaly information |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
15 */ |
171
7fb9441dd8af
Format Code to max 80 Chars per Row and Cleanup
Tim Englich <tim.englich@intevation.de>
parents:
83
diff
changeset
|
16 private static Logger log = Logger |
7fb9441dd8af
Format Code to max 80 Chars per Row and Cleanup
Tim Englich <tim.englich@intevation.de>
parents:
83
diff
changeset
|
17 .getLogger(VerticalProfileMeshArtifact.class); |
7fb9441dd8af
Format Code to max 80 Chars per Row and Cleanup
Tim Englich <tim.englich@intevation.de>
parents:
83
diff
changeset
|
18 |
83
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
19 /** |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
20 * The UID of this class |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
21 */ |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
22 private static final long serialVersionUID = -8291547966693867205L; |
171
7fb9441dd8af
Format Code to max 80 Chars per Row and Cleanup
Tim Englich <tim.englich@intevation.de>
parents:
83
diff
changeset
|
23 |
83
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
24 /** |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
25 * Constructor |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
26 */ |
171
7fb9441dd8af
Format Code to max 80 Chars per Row and Cleanup
Tim Englich <tim.englich@intevation.de>
parents:
83
diff
changeset
|
27 public VerticalProfileMeshArtifact() { |
83
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
28 super(); |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
29 log.debug("VerticalProfileMeshArtifact.Constructor"); |
171
7fb9441dd8af
Format Code to max 80 Chars per Row and Cleanup
Tim Englich <tim.englich@intevation.de>
parents:
83
diff
changeset
|
30 super.name = super.name + "Mesh"; |
83
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
31 } |
5c8e54726a58
Added Support for Vertical Profiles Mesh
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
32 } |