java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.units.MetadataManager |
A simple implementation of a metadata manager. Such objects are serializable if and only if all the groups they contain are also serializable.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MetadataManager() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
addGroup(IMetadataGroup group)
Add a group.
| ||||||||||
IMetadataGroup |
getGroupByName(String name)
Get a group by its name.
| ||||||||||
int |
getGroupCount()
Retrieve the number of groups.
| ||||||||||
List<IMetadataGroup> |
getGroups()
Get the list of groups.
| ||||||||||
boolean |
insertGroup(int index, IMetadataGroup group)
Insert a group at the given position.
| ||||||||||
boolean |
removeGroup(int index)
Delete a group by index.
| ||||||||||
boolean |
removeGroupByName(String name)
Delete a group by name.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.IMetadataManager
|
Get a group by its name.
name | group name |
---|
Retrieve the number of groups.
Get the list of groups.
Insert a group at the given position.
index | position |
---|---|
group | group to add |
Delete a group by index.
index | group index |
---|
Delete a group by name.
name | group name |
---|