comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightFacet.java @ 7391:9513d1af7d58

Renamed artifacts/**/BedHeight(Single) to BedHeight(Single)Data, to resolve class name conflict with class in backend.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 17 Oct 2013 15:08:59 +0200
parents 793dfb2f4b7b
children 42076d94977e
comparison
equal deleted inserted replaced
7390:45e3bb00ce1a 7391:9513d1af7d58
43 BedHeightAccess access = new BedHeightAccess((D4EArtifact)artifact); 43 BedHeightAccess access = new BedHeightAccess((D4EArtifact)artifact);
44 if (type.equals("singlevalues")) { 44 if (type.equals("singlevalues")) {
45 /* Former doc (from BedHeightAccess): 45 /* Former doc (from BedHeightAccess):
46 * Return a {@link List} of {@link BedHeightSingleValue}s 46 * Return a {@link List} of {@link BedHeightSingleValue}s
47 * at the range of the artifact 47 * at the range of the artifact
48 * @return List of {@link BedHeightSingleValue}s 48 * @return List of {@link BedHeightSingleValue}s */
49 */
50 BedHeightSingle single = BedHeightSingle.getBedHeightSingleById( 49 BedHeightSingle single = BedHeightSingle.getBedHeightSingleById(
51 access.getHeightId()); 50 access.getHeightId());
52 return BedHeightSingleValue.getBedHeightSingleValues(single, 51 return BedHeightSingleValue.getBedHeightSingleValues(single,
53 access.getFrom(), 52 access.getFrom(),
54 access.getTo()); 53 access.getTo());
55 } 54 }
56 else { 55 else {
57 /* Former doc (from BedHeightAccess): 56 /* Former doc (from BedHeightAccess):
58 * Return the {@link BedHeight} at the height_id and time of the artifact 57 * Return the {@link BedHeight} at the height_id and time of the artifact
59 * @return {@link BedHeight} 58 * @return {@link BedHeight} */
60 */
61 return BedHeightFactory.getHeight( 59 return BedHeightFactory.getHeight(
62 access.getType(), 60 access.getType(),
63 access.getHeightId(), 61 access.getHeightId(),
64 access.getTime()); 62 access.getTime());
65 } 63 }

http://dive4elements.wald.intevation.org