# Interface: com.pnfsoftware.jeb.core.units.IMetadataGroup

Definition of a group of metadata objects.

## Method: getAllData
- return type: `java.util.Map<java.lang.String,java.lang.Object>`

Description: Get a read\-only map of all the key\-value pairs of metadata items contained in this group. Not all groups may be able to provide this functionality. If so, this method should return null.
return: a map of key\-value pairs, possibly empty; if the operation is not supported, null is         returned

## Method: getData
- parameter: `address`, type: `java.lang.String`
- return type: `java.lang.Object`

Description: Get the piece of metadata associated with the provided address.
parameter: address: address
return: the data at address, null if none

## Method: getData
- parameter: `address`, type: `java.lang.String`
- parameter: `precision`, type: `com.pnfsoftware.jeb.core.output.AddressConversionPrecision`
- return type: `java.lang.Object`

Description: Get the piece of metadata associated with the provided address.
parameter: address: address
parameter: precision: precision of the input address. [AddressConversionPrecision#COARSE](AddressConversionPrecision#COARSE)            will use raw references \(may fasten result\)
return: the data at address, null if none

## Method: getName
- return type: `java.lang.String`

Description: Get the group name.
return: the group name

## Method: getSectionAnchorIds
- return type: `java.util.List<java.lang.String>`

Description: Retrieve the list of addresses that represent the start/change of a section, null if none.
return: the list of addresses

## Method: getType
- return type: `com.pnfsoftware.jeb.core.units.MetadataGroupType`

Description: Get the group type.
return: the group type

## Method: setData
- parameter: `address`, type: `java.lang.String`
- parameter: `data`, type: `java.lang.Object`
- return type: `boolean`

Description: Set or remove the piece of metadata associated with the given address.
parameter: address: address
parameter: data: metadata, use null to remove
return: true if the operation succeeded; false otherwise \(eg, the operation is not supported\)

