Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultArtifact.java @ 227:7f7f6d2c4b2c
We can now distinuish between different artifact types based on its name in the DESCRIBE. The ArtifactCreator returns concrete instances of Artifacts now.
flys-client/trunk@1673 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 12 Apr 2011 13:46:33 +0000 |
parents | fc616c192902 |
children | 2c48d75c4ab7 |
comparison
equal
deleted
inserted
replaced
226:a13382876e5d | 227:7f7f6d2c4b2c |
---|---|
46 public String getHash() { | 46 public String getHash() { |
47 return hash; | 47 return hash; |
48 } | 48 } |
49 | 49 |
50 | 50 |
51 public String getName() { | |
52 return "default"; | |
53 } | |
54 | |
55 | |
51 public ArtifactDescription getArtifactDescription() { | 56 public ArtifactDescription getArtifactDescription() { |
52 return artifactDescription; | 57 return artifactDescription; |
53 } | 58 } |
54 | 59 |
55 | 60 |