| Constructor and Description |
|---|
ITSItems()
Creates an empty
ITSItems object. |
ITSItems(ITSItems original)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(IITSItem item)
Adds (or sets) a new ITS data category instance in this collection.
|
void |
clear()
Removes all entries in this collection.
|
<A extends DataCategory> |
get(Class<A> dcType)
Gets the item for a given type of data category.
|
IITSItem |
get(String dcName)
Gets the item for a given data category name.
|
boolean |
isEmpty()
Indicates if there is at least one entry in this collection.
|
Iterator<IITSItem> |
iterator()
Returns an iterator for the items in this collection.
|
void |
remove(IITSItem item)
Removes a given item from this collection.
|
int |
size()
Gets the number of distinct data categories in this collection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ITSItems()
ITSItems object.public ITSItems(ITSItems original)
original - the original object to duplicate.public void add(IITSItem item)
item - the new item to set.public boolean isEmpty()
public void clear()
public void remove(IITSItem item)
item - the item to remove.public int size()
public IITSItem get(String dcName)
get(Class) after mapping the name to the class.dcName - the name of the data category (as used in its:annotatorsRef).get(Class).InvalidParameterException - if the name is not valid.public <A extends DataCategory> IITSItem get(Class<A> dcType)
A - the type of data category.dcType - the data category type.Provenances or a LocQualityIssues object when you query for
the classes Provenance or LocQualityIssue.Copyright © 2020. All rights reserved.