public interface

IMetadataManager

com.pnfsoftware.jeb.core.units.IMetadataManager
Known Indirect Subclasses

Class Overview

Definition of a metadata manager.

Summary

Public Methods
abstract boolean addGroup(IMetadataGroup group)
Add a group.
abstract IMetadataGroup getGroupByName(String name)
Get a group by its name.
abstract int getGroupCount()
Retrieve the number of groups.
abstract List<? extends IMetadataGroup> getGroups()
Get the list of groups.
abstract boolean insertGroup(int index, IMetadataGroup group)
Insert a group at the given position.
abstract boolean removeGroup(int index)
Delete a group by index.
abstract boolean removeGroupByName(String name)
Delete a group by name.

Public Methods

public abstract boolean addGroup (IMetadataGroup group)

Add a group.

Parameters
group group to add

public abstract IMetadataGroup getGroupByName (String name)

Get a group by its name.

Parameters
name group name

public abstract int getGroupCount ()

Retrieve the number of groups.

Returns
  • the number of groups

public abstract List<? extends IMetadataGroup> getGroups ()

Get the list of groups.

Returns
  • the groups, possibly empty but non-null

public abstract boolean insertGroup (int index, IMetadataGroup group)

Insert a group at the given position.

Parameters
index position
group group to add

public abstract boolean removeGroup (int index)

Delete a group by index.

Parameters
index group index

public abstract boolean removeGroupByName (String name)

Delete a group by name.

Parameters
name group name