| Constructor and Description | 
|---|
| ITSItems()Creates an empty  ITSItemsobject. | 
| 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(java.lang.Class<A> dcType)Gets the item for a given type of data category. | 
| IITSItem | get(java.lang.String dcName)Gets the item for a given data category name. | 
| boolean | isEmpty()Indicates if there is at least one entry in this collection. | 
| java.util.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. | 
public ITSItems()
ITSItems object.public ITSItems(ITSItems original)
original - the original object to duplicate.public java.util.Iterator<IITSItem> iterator()
iterator in interface java.lang.Iterable<IITSItem>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(java.lang.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(java.lang.Class<A> dcType)
dcType - the data category type.Provenances or a LocQualityIssues object when you query for
 the classes Provenance or LocQualityIssue.