public class MetadataSignatureCollection extends Object implements Iterable<MetadataSignature>
Collection of Metadata signature objects.
Constructor and Description |
---|
MetadataSignatureCollection()
Creates Collection of Metadata signature.
|
Modifier and Type | Method and Description |
---|---|
void |
add(MetadataSignature signature)
Add Metadata Signature object to collection.
|
void |
addRange(MetadataSignature[] signatures)
Add Metadata Signature collection.
|
void |
clear()
Removes all items from the collection.
|
boolean |
contains(String name)
Returns true if a Metadata with the specified name exists in the collection.
|
Object |
deepClone()
Clone Metadata Signature Collection class with Metadata Signature Items.
|
int |
getCount()
Gets number of items in the collection.
|
protected List<MetadataSignature> |
getItemsList()
List of MetadataSignature.
|
protected Map<String,MetadataSignature> |
getItemsMap()
Dictionary of MetadataSignature with unique keys as Signature name.
|
int |
indexOf(String name)
Gets the index of a property by name.
|
boolean |
remove(String name)
Removes a Metadata Signature with the specified name from the collection.
|
boolean |
removeAt(int index)
Removes a Metadata Signature at the specified index.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, iterator, spliterator
public MetadataSignatureCollection()
Creates Collection of Metadata signature.
public final void add(MetadataSignature signature)
Add Metadata Signature object to collection.
signature
- Metadata signature to be added to collection.
public final void addRange(MetadataSignature[] signatures) throws Exception
Add Metadata Signature collection.
signatures
- Collection of signatures to add.
Exception
public final void clear()
Removes all items from the collection.
public final boolean contains(String name)
Returns true if a Metadata with the specified name exists in the collection.
name
- The case-insensitive name of the property.public final Object deepClone() throws Exception
Clone Metadata Signature Collection class with Metadata Signature Items.
Exception
public final int getCount()
Gets number of items in the collection.
protected final List<MetadataSignature> getItemsList()
List of MetadataSignature.
protected final Map<String,MetadataSignature> getItemsMap()
Dictionary of MetadataSignature with unique keys as Signature name.
public final int indexOf(String name)
Gets the index of a property by name.
name
- The case-insensitive name of the MetadataSignature.public final boolean remove(String name)
Removes a Metadata Signature with the specified name from the collection.
name
- The case-insensitive name of the Metadata Signature.public final boolean removeAt(int index)
Removes a Metadata Signature at the specified index.
index
- The zero based index.