|
Chart FX 7 for Java Server | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.softwarefx.chartfx.server.FieldMapCollection
public class FieldMapCollection
Provides access to the FieldMapCollection object.
| Constructor Summary | |
|---|---|
FieldMapCollection()
|
|
FieldMapCollection(DataSourceSettings dataSourceSettings)
|
|
| Method Summary | ||
|---|---|---|
boolean |
add(FieldMap o)
Appends the specified element to the FieldMapCollection collection. |
|
boolean |
addAll(Collection<? extends FieldMap> c)
Adds all of the elements in the specified collection to the FieldMapCollection collection. |
|
void |
addRange(FieldMap[] items)
Adds an array of objects to the FieldMapCollection collection. |
|
void |
clear()
Removes all of the elements from this collection. |
|
boolean |
contains(Object o)
Returns true if the FieldMapCollection contains the specified element. |
|
boolean |
containsAll(Collection<?> c)
Returns true if the FieldMapCollection collection contains all of the elements in the specified collection. |
|
void |
copyTo(FieldMap[] items,
int index)
Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array. |
|
void |
fillFromSchema()
Fills the FieldMapCollection from the columns available in the current datasource using defaults to assign a use for each column. |
|
FieldMap |
get(int n)
Returns the element at the specified position in the FieldMapCollection. |
|
int |
indexOf(FieldMap obj)
Returns the index in the FieldMapCollection of the first occurrence of the specified element, or -1 if this list does not contain this element. |
|
void |
insert(int index,
FieldMap item)
Inserts an element into the ArrayList at the specified index. |
|
boolean |
isEmpty()
Returns true if this collection contains no elements. |
|
static boolean |
isNullOrEmpty(FieldMapCollection fields)
Indicates whether the specified FieldMapCollection is null reference or an empty collection. |
|
Iterator<FieldMap> |
iterator()
Returns an iterator over the elements in this collection. |
|
boolean |
remove(Object o)
Removes the specified element from the FieldMapCollection collection. |
|
boolean |
removeAll(Collection<?> c)
Removes all of the elements in the specified collection from the FieldMapCollection collection. |
|
void |
removeAt(int index)
Removes the element in the specified position from the FieldMapCollection collection. |
|
boolean |
retainAll(Collection<?> c)
Retains only the elements in the FieldMapCollection collection that are contained in the specified collection. |
|
void |
set(int n,
FieldMap value)
Replaces the element at the specified position in the FieldMapCollection collection with the specified element. |
|
int |
size()
Returns the number of elements in this collection. |
|
Object[] |
toArray()
Returns an array containing all of the elements in this collection in proper sequence. |
|
|
toArray(T[] a)
Returns an array containing all of the elements in this collection in proper sequence. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public FieldMapCollection()
public FieldMapCollection(DataSourceSettings dataSourceSettings)
| Method Detail |
|---|
public boolean add(FieldMap o)
Appends the specified element to the FieldMapCollection collection.
add in interface Collection<FieldMap>o - The item to add to the FieldMapCollection collection.public boolean addAll(Collection<? extends FieldMap> c)
Adds all of the elements in the specified collection to the FieldMapCollection collection.
addAll in interface Collection<FieldMap>c - Elements to be inserted into this collection.public void addRange(FieldMap[] items)
Adds an array of objects to the FieldMapCollection collection.
items - An array of objects to add to the collection.public void clear()
Removes all of the elements from this collection.
clear in interface Collection<FieldMap>public boolean contains(Object o)
Returns true if the FieldMapCollection contains the specified element.
contains in interface Collection<FieldMap>o - Element whose presence in this collection is to be tested.public boolean containsAll(Collection<?> c)
Returns true if the FieldMapCollection collection contains all of the elements in the specified collection.
containsAll in interface Collection<FieldMap>c - Collection to be checked for containment in this collection.
public void copyTo(FieldMap[] items,
int index)
Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array.
items - The one-dimensional Array that is the destination of the elements copied from FieldMapCollection. The Array must have zero-based indexing.index - The zero-based index in array at which copying begins.public void fillFromSchema()
Fills the FieldMapCollection from the columns available in the current datasource using defaults to assign a use for each column.
public FieldMap get(int n)
Returns the element at the specified position in the FieldMapCollection.
n - Index of element to return.public int indexOf(FieldMap obj)
Returns the index in the FieldMapCollection of the first occurrence of the specified element, or -1 if this list does not contain this element.
obj - Element to search for.
public void insert(int index,
FieldMap item)
Inserts an element into the ArrayList at the specified index.
index - The zero-based index at which position should be inserted.item - The item to insert.public boolean isEmpty()
Returns true if this collection contains no elements.
isEmpty in interface Collection<FieldMap>public static boolean isNullOrEmpty(FieldMapCollection fields)
Indicates whether the specified FieldMapCollection is null reference or an empty collection.
fields - a FieldMapCollection reference.public Iterator<FieldMap> iterator()
Returns an iterator over the elements in this collection.
iterator in interface Iterable<FieldMap>iterator in interface Collection<FieldMap>public boolean remove(Object o)
Removes the specified element from the FieldMapCollection collection.
remove in interface Collection<FieldMap>o - The item to remove from the FieldMapCollection collection.public boolean removeAll(Collection<?> c)
Removes all of the elements in the specified collection from the FieldMapCollection collection.
removeAll in interface Collection<FieldMap>c - Elements to be removed from this collection.public void removeAt(int index)
Removes the element in the specified position from the FieldMapCollection collection.
index - The index of the item to remove from the FieldMapCollection collection.public boolean retainAll(Collection<?> c)
Retains only the elements in the FieldMapCollection collection that are contained in the specified collection.
retainAll in interface Collection<FieldMap>c - Elements to be retained in this collection.
public void set(int n,
FieldMap value)
Replaces the element at the specified position in the FieldMapCollection collection with the specified element.
n - The index of the item to add to the FieldMapCollection collection.value - The item to add to the FieldMapCollection collectionpublic int size()
Returns the number of elements in this collection.
size in interface Collection<FieldMap>public Object[] toArray()
Returns an array containing all of the elements in this collection in proper sequence.
toArray in interface Collection<FieldMap>public <T> T[] toArray(T[] a)
Returns an array containing all of the elements in this collection in proper sequence.
toArray in interface Collection<FieldMap>
|
http://www.softwarefx.com | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||