Mercurial > dive4elements > framework
comparison artifacts/src/main/java/de/intevation/artifacts/CollectionItem.java @ 186:15c7638511dc
Added an interface for CollectionItems and renamed the CollectionItem class from the artifact-database package to DefaultCollectionItem - because this is the default implementation of the interface.
artifacts/trunk@1416 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 07 Mar 2011 15:13:36 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
185:afd5945ff8d1 | 186:15c7638511dc |
---|---|
1 /* | |
2 * Copyright (c) 2011 by Intevation GmbH | |
3 * | |
4 * This program is free software under the LGPL (>=v2.1) | |
5 * Read the file LGPL.txt coming with the software for details | |
6 * or visit http://www.gnu.org/licenses/ if it does not exist. | |
7 */ | |
8 package de.intevation.artifacts; | |
9 | |
10 import java.io.Serializable; | |
11 | |
12 import org.w3c.dom.Document; | |
13 | |
14 | |
15 public interface CollectionItem extends Serializable { | |
16 | |
17 String getArtifactIdentifier(); | |
18 | |
19 Document getAttribute(); | |
20 } | |
21 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |