# Uses of Class
hdf.object.Attribute

Packages that use Attribute
Package
Description
hdf.object
hdf.object.fits
hdf.object.h4
hdf.object.h5
hdf.object.nc2
hdf.view.dialog
hdf.view.MetaDataView

- ## Uses of Attribute in hdf.object

  Methods in hdf.object with parameters of type Attribute
  Modifier and Type
  Method
  Description
  `abstract void`
  FileFormat.`writeAttribute​(HObject obj, Attribute attr, boolean attrExisted)`
  Attaches a given attribute to an object.

- ## Uses of Attribute in hdf.object.fits

  Methods in hdf.object.fits with parameters of type Attribute
  Modifier and Type
  Method
  Description
  `void`
  FitsFile.`writeAttribute​(HObject obj, Attribute attr, boolean attrExisted)`
  Creates a new attribute and attached to the object if attribute does not exist.

- ## Uses of Attribute in hdf.object.h4

  Subclasses of Attribute in hdf.object.h4
  Modifier and Type
  Class
  Description
  `class`
  `H4Attribute`
  An attribute is a (name, value) pair of metadata attached to a primary data object such as a dataset, group or named datatype.
  Methods in hdf.object.h4 with parameters of type Attribute
  Modifier and Type
  Method
  Description
  `void`
  H4File.`writeAttribute​(HObject obj, Attribute attr, boolean isSDglobalAttr)`
  Creates a new attribute and attaches it to the object if the attribute does not exist.

- ## Uses of Attribute in hdf.object.h5

  Subclasses of Attribute in hdf.object.h5
  Modifier and Type
  Class
  Description
  `class`
  `H5Attribute`
  An attribute is a (name, value) pair of metadata attached to a primary data object such as a dataset, group or named datatype.
  Methods in hdf.object.h5 that return types with arguments of type Attribute
  Modifier and Type
  Method
  Description
  `static List<Attribute>`
  H5File.`getAttribute​(HObject obj)`
  Returns a list of attributes for the specified object.
  `static List<Attribute>`
  H5File.`getAttribute​(HObject obj, int idx_type, int order)`
  Returns a list of attributes for the specified object, in creation or alphabetical order.
  `List<Attribute>`
  H5CompoundDS.`getMetadata()`
  `List<Attribute>`
  H5CompoundDS.`getMetadata​(int... attrPropList)`
  `List<Attribute>`
  H5Datatype.`getMetadata()`
  `List<Attribute>`
  H5Datatype.`getMetadata​(int... attrPropList)`
  `List<Attribute>`
  H5ScalarDS.`getMetadata()`
  `List<Attribute>`
  H5ScalarDS.`getMetadata​(int... attrPropList)`
  Methods in hdf.object.h5 with parameters of type Attribute
  Modifier and Type
  Method
  Description
  `void`
  H5File.`writeAttribute​(HObject obj, Attribute attr, boolean attrExisted)`

- ## Uses of Attribute in hdf.object.nc2

  Subclasses of Attribute in hdf.object.nc2
  Modifier and Type
  Class
  Description
  `class`
  `NC2Attribute`
  An attribute is a (name, value) pair of metadata attached to a primary data object such as a dataset, group or named datatype.
  Methods in hdf.object.nc2 that return Attribute
  Modifier and Type
  Method
  Description
  `static Attribute`
  NC2File.`convertAttribute​(HObject parent, ucar.nc2.Attribute netcdfAttr)`
  Methods in hdf.object.nc2 with parameters of type Attribute
  Modifier and Type
  Method
  Description
  `void`
  NC2File.`writeAttribute​(HObject obj, Attribute attr, boolean attrExisted)`

- ## Uses of Attribute in hdf.view.dialog

  Methods in hdf.view.dialog that return Attribute
  Modifier and Type
  Method
  Description
  `Attribute`
  NewAttributeDialog.`getAttribute()`

- ## Uses of Attribute in hdf.view.MetaDataView

  Methods in hdf.view.MetaDataView that return Attribute
  Modifier and Type
  Method
  Description
  `Attribute`
  DefaultBaseMetaDataView.`addAttribute​(HObject obj)`
  `Attribute`
  MetaDataView.`addAttribute​(HObject obj)`
  Add an attribute to a data object.
  `Attribute`
  DefaultBaseMetaDataView.`deleteAttribute​(HObject obj)`
  `Attribute`
  MetaDataView.`deleteAttribute​(HObject obj)`
  Delete an attribute from a data object.