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

Definition of a metadata manager.

## Method: addGroup
- parameter: `group`, type: `com.pnfsoftware.jeb.core.units.IMetadataGroup`
- return type: `boolean`

Description: Add a group.
parameter: group: group to add
return: success indicator

## Method: getGroupByName
- parameter: `name`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.IMetadataGroup`

Description: Get a group by its name.
parameter: name: group name
return: the matching group, or null if none

## Method: getGroupCount
- return type: `int`

Description: Retrieve the number of groups.
return: the number of groups

## Method: getGroups
- return type: `java.util.List<? extends com.pnfsoftware.jeb.core.units.IMetadataGroup>`

Description: Get the list of groups.
return: the groups, possibly empty but non\-null

## Method: insertGroup
- parameter: `index`, type: `int`
- parameter: `group`, type: `com.pnfsoftware.jeb.core.units.IMetadataGroup`
- return type: `boolean`

Description: Insert a group at the given position.
parameter: index: position
parameter: group: group to add
return: success indicator

## Method: removeGroup
- parameter: `index`, type: `int`
- return type: `boolean`

Description: Delete a group by index.
parameter: index: group index
return: success indicator

## Method: removeGroupByName
- parameter: `name`, type: `java.lang.String`
- return type: `boolean`

Description: Delete a group by name.
parameter: name: group name
return: success indicator

