ingo@0: /* ingo@0: * Copyright (c) 2010 by Intevation GmbH ingo@0: * ingo@0: * This program is free software under the LGPL (>=v2.1) ingo@0: * Read the file LGPL.txt coming with the software for details ingo@0: * or visit http://www.gnu.org/licenses/ if it does not exist. ingo@0: */ ingo@0: ingo@0: package de.intevation.artifacts.httpclient.objects; ingo@0: ingo@0: /** ingo@0: * An ArtifactObject representing an artifact. ingo@0: * ingo@0: * @author Ingo Weinzierl ingo@0: * ingo@0: */ ingo@0: public class Artifact { ingo@0: ingo@0: /** ingo@0: * The uuid of this Artifact which must be used to identify ingo@0: * the artifact at the ArtifactDatabase. ingo@0: */ ingo@0: private String uuid = null; ingo@0: ingo@0: /** ingo@0: * The hash of the artifact which was send be the ArtifactDatabase. ingo@0: */ ingo@0: private String hash = null; ingo@0: ingo@0: /** ingo@0: * Constructor ingo@0: * @param uuid the uuid of this Artifact which must be used to identify ingo@0: * the artifact at the ArtifactDatabase ingo@0: * @param hash the hash of the artifact which was send be the ingo@0: * ArtifactDatabase ingo@0: */ ingo@0: public Artifact(String uuid, String hash) { ingo@0: this.uuid = uuid; ingo@0: this.hash = hash; ingo@0: } ingo@0: ingo@0: public String getHash() { ingo@0: return this.hash; ingo@0: } ingo@0: ingo@0: public String getUuid() { ingo@0: return this.uuid; ingo@0: } ingo@0: } ingo@0: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :