001/*****************************************************************************
002 * Copyright by The HDF Group.                                               *
003 * Copyright by the Board of Trustees of the University of Illinois.         *
004 * All rights reserved.                                                      *
005 *                                                                           *
006 * This file is part of the HDF Java Products distribution.                  *
007 * The full copyright notice, including terms governing use, modification,   *
008 * and redistribution, is contained in the file COPYING.                     *
009 * COPYING can be found at the root of the source code distribution tree.    *
010 * If you do not have access to this file, you may request a copy from       *
011 * help@hdfgroup.org.                                                        *
012 ****************************************************************************/
013
014package hdf.view;
015
016import hdf.object.Attribute;
017import hdf.object.HObject;
018
019/**
020 *
021 *The metadata view interface for displaying metadata information
022 *
023 * @author Peter X. Cao
024 * @version 2.4 9/6/2007
025 */
026public abstract interface MetaDataView extends DataView {
027    /** Add an attribute to a data object.
028     *
029     * @param obj  the attribute to add
030     *
031     * @return the Attribute object
032     */
033    public abstract Attribute addAttribute(HObject obj);
034
035    /** Delete an attribute from a data object.
036     *
037     * @param obj  the attribute to delte
038     *
039     * @return the Attribute object
040     */
041    public abstract Attribute deleteAttribute(HObject obj);
042
043}