comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/CollectionRecord.java @ 222:9bd9c24f4935

The CollectionRecord implements a method that returns the Collection objects which is represented by the record now. flys-client/trunk@1667 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 12 Apr 2011 10:50:32 +0000
parents 0bec0112c8b3
children a13382876e5d
comparison
equal deleted inserted replaced
221:f03c34bec364 222:9bd9c24f4935
45 String name = collection.getName(); 45 String name = collection.getName();
46 return name != null && name.length() > 0 46 return name != null && name.length() > 0
47 ? name 47 ? name
48 : collection.identifier(); 48 : collection.identifier();
49 } 49 }
50
51
52 public Collection getCollection() {
53 return collection;
54 }
50 } 55 }
51 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 56 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org