public class MetaGroup extends BaseList<IMetadataItem> implements IWithMetaGroup, IMetadataItem
IMetadataItem objects.| Modifier and Type | Class and Description |
|---|---|
static class |
MetaGroup.AppliesTo
Types of object a meta-group can apply to.
|
| Constructor and Description |
|---|
MetaGroup()
Creates an empty
MetaGroup object. |
MetaGroup(MetaGroup original)
Copy constructor.
|
MetaGroup(String category)
Creates a
MetaGroup object with a given category parameter. |
| Modifier and Type | Method and Description |
|---|---|
void |
addGroup(MetaGroup group)
Adds a
MetaGroup object to this object. |
MetaGroup.AppliesTo |
getAppliesTo() |
String |
getCategory() |
String |
getId() |
boolean |
isGroup()
Indicates if this item is a meta-group or not.
|
void |
setAppliesTo(MetaGroup.AppliesTo appliesTo) |
void |
setCategory(String category) |
void |
setId(String id) |
add, clear, get, isEmpty, iterator, remove, remove, set, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic MetaGroup()
MetaGroup object.public MetaGroup(String category)
MetaGroup object with a given category parameter.category - the category for this meta-group.public MetaGroup(MetaGroup original)
original - the original object to duplicate.public boolean isGroup()
IMetadataItemisGroup in interface IMetadataItempublic String getId()
public void setId(String id)
public String getCategory()
public void setCategory(String category)
public MetaGroup.AppliesTo getAppliesTo()
public void setAppliesTo(MetaGroup.AppliesTo appliesTo)
public void addGroup(MetaGroup group)
IWithMetaGroupMetaGroup object to this object.addGroup in interface IWithMetaGroupgroup - the meta-group to add.Copyright © 2020. All rights reserved.