Modifier and Type | Class and Description |
---|---|
static class |
MetaGroup.Kind
Specifies the kind of stored items.
|
Constructor and Description |
---|
MetaGroup(MetaGroup.Kind kind,
java.lang.String name,
java.util.Collection<? extends MetaData> items)
Constructs a
MetaGroup object. |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends MetaData> |
getItems()
Returns items being grouped.
|
MetaGroup.Kind |
getKind()
Returns the kind of stored items.
|
java.lang.String |
getName()
Returns the name of the group.
|
public MetaGroup(MetaGroup.Kind kind, java.lang.String name, java.util.Collection<? extends MetaData> items)
MetaGroup
object.kind
- Kind of items being grouped.name
- Group name.items
- Items being grouped.java.lang.IllegalArgumentException
- if any parameter is null
;
if the collection of items is empty.public MetaGroup.Kind getKind()
public java.lang.String getName()
public java.util.Collection<? extends MetaData> getItems()
Iterable
object).