001/**
002 * The contents of this file are subject to the license and copyright
003 * detailed in the LICENSE and NOTICE files at the root of the source
004 * tree.
005 *
006 */
007package org.fcrepo.migration;
008
009/**
010 * An interface defining access to information about a fedora datastream's
011 * content digest.
012 * @author mdurbin
013 */
014public interface ContentDigest {
015
016    /**
017     * Gets the type: one of several defined in the fedora foxml schema.
018     *
019     * @return string containing the type
020     */
021    public String getType();
022
023    /**
024     * Gets the value of the content digest.
025     * @return content digest
026     */
027    public String getDigest();
028}