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 files COPYING and Copyright.html. *
009 * COPYING can be found at the root of the source code distribution tree.    *
010 * Or, see http://hdfgroup.org/products/hdf-java/doc/Copyright.html.         *
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;
016
017import hdf.object.Attribute;
018import hdf.object.HObject;
019
020/**
021 *
022 *The metadata view interface for displaying metadata information
023 *
024 * @author Peter X. Cao
025 * @version 2.4 9/6/2007
026 */
027public abstract interface MetaDataView extends DataView {
028    /** Add an attribute to a data object.
029     *
030     * @param obj  the attribute to add
031     *
032     * @return the Attribute object
033     */
034    public abstract Attribute addAttribute(HObject obj);
035
036    /** Delete an attribute from a data object.
037     *
038     * @param obj  the attribute to delte
039     *
040     * @return the Attribute object
041     */
042    public abstract Attribute deleteAttribute(HObject obj);
043
044}