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 COPYING file, which can be found  *
009 * at the root of the source code distribution tree,                         *
010 * or in https://www.hdfgroup.org/licenses.                                  *
011 * If you do not have access to either file, you may request a copy from     *
012 * help@hdfgroup.org.                                                        *
013 ****************************************************************************/
014
015package hdf.view.MetaDataView;
016
017import hdf.object.Attribute;
018import hdf.object.HObject;
019import hdf.view.DataView.DataView;
020
021/**
022 *
023 *The metadata view interface for displaying metadata information
024 *
025 * @author Peter X. Cao
026 * @version 2.4 9/6/2007
027 */
028public abstract interface MetaDataView extends DataView {
029    /**
030     * Add an attribute to a data object.
031     *
032     * @param obj  the attribute to add
033     *
034     * @return the Attribute object
035     */
036    public abstract Attribute addAttribute(HObject obj);
037
038    /**
039     * Delete an attribute from a data object.
040     *
041     * @param obj  the attribute to delte
042     *
043     * @return the Attribute object
044     */
045    public abstract Attribute deleteAttribute(HObject obj);
046}