public class XmpDatacollectionConfig extends Object implements Serializable
Constructor and Description |
---|
XmpDatacollectionConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addXmpCollection(int index,
XmpCollection vXmpCollection) |
void |
addXmpCollection(XmpCollection vXmpCollection) |
Enumeration<XmpCollection> |
enumerateXmpCollection()
Method enumerateXmpCollection.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getRrdRepository()
Returns the value of field 'rrdRepository'.
|
XmpCollection[] |
getXmpCollection()
Method getXmpCollection.Returns the contents of the
collection in an Array.
|
XmpCollection |
getXmpCollection(int index)
Method getXmpCollection.
|
List<XmpCollection> |
getXmpCollectionCollection()
Method getXmpCollectionCollection.Returns a reference to
'_xmpCollectionList'.
|
int |
getXmpCollectionCount()
Method getXmpCollectionCount.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
Iterator<XmpCollection> |
iterateXmpCollection()
Method iterateXmpCollection.
|
void |
removeAllXmpCollection() |
boolean |
removeXmpCollection(XmpCollection vXmpCollection)
Method removeXmpCollection.
|
XmpCollection |
removeXmpCollectionAt(int index)
Method removeXmpCollectionAt.
|
void |
setRrdRepository(String rrdRepository)
Sets the value of field 'rrdRepository'.
|
void |
setXmpCollection(int index,
XmpCollection vXmpCollection) |
void |
setXmpCollection(List<XmpCollection> vXmpCollectionList)
Sets the value of '_xmpCollectionList' by copying the given
Vector.
|
void |
setXmpCollection(XmpCollection[] vXmpCollectionArray) |
void |
setXmpCollectionCollection(List<XmpCollection> xmpCollectionList)
Deprecated.
|
public void addXmpCollection(XmpCollection vXmpCollection) throws IndexOutOfBoundsException
vXmpCollection
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addXmpCollection(int index, XmpCollection vXmpCollection) throws IndexOutOfBoundsException
index
- vXmpCollection
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<XmpCollection> enumerateXmpCollection()
public boolean equals(Object obj)
public String getRrdRepository()
public XmpCollection getXmpCollection(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic XmpCollection[] getXmpCollection()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<XmpCollection> getXmpCollectionCollection()
public int getXmpCollectionCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public Iterator<XmpCollection> iterateXmpCollection()
public void removeAllXmpCollection()
public boolean removeXmpCollection(XmpCollection vXmpCollection)
vXmpCollection
- public XmpCollection removeXmpCollectionAt(int index)
index
- public void setRrdRepository(String rrdRepository)
rrdRepository
- the value of field 'rrdRepository'.public void setXmpCollection(int index, XmpCollection vXmpCollection) throws IndexOutOfBoundsException
index
- vXmpCollection
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setXmpCollection(XmpCollection[] vXmpCollectionArray)
vXmpCollectionArray
- public void setXmpCollection(List<XmpCollection> vXmpCollectionList)
vXmpCollectionList
- the Vector to copy.public void setXmpCollectionCollection(List<XmpCollection> xmpCollectionList)
xmpCollectionList
- the Vector to set.Copyright © 2021. All rights reserved.