ComponentType
- Type of data component this list can holdpublic class DataComponentPropertyList<ComponentType extends DataComponent> extends OgcPropertyList<ComponentType>
Specialized list for holding data component properties. Overriden methods ensure that parent and name attributes are properly set for each data component added to the list.
Constructor and Description |
---|
DataComponentPropertyList(AbstractDataComponentImpl parent) |
DataComponentPropertyList(AbstractDataComponentImpl parent,
int size) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(ComponentType component) |
void |
add(int index,
ComponentType component) |
void |
add(OgcProperty<ComponentType> prop)
Adds a property object to the list
The property carries the actual value object
|
OgcProperty<ComponentType> |
add(String name,
ComponentType component)
Adds a property with the specified name and value to the list
|
add, addAll, addAll, checkName, clear, contains, containsAll, copyTo, get, get, getProperty, getProperty, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
public DataComponentPropertyList(AbstractDataComponentImpl parent)
public DataComponentPropertyList(AbstractDataComponentImpl parent, int size)
public void add(OgcProperty<ComponentType> prop)
OgcPropertyList
add
in class OgcPropertyList<ComponentType extends DataComponent>
public OgcProperty<ComponentType> add(String name, ComponentType component)
OgcPropertyList
add
in class OgcPropertyList<ComponentType extends DataComponent>
name
- name to use on property (= name attribute)component
- the property value objectpublic boolean add(ComponentType component)
add
in interface Collection<ComponentType extends DataComponent>
add
in interface List<ComponentType extends DataComponent>
add
in class OgcPropertyList<ComponentType extends DataComponent>
public void add(int index, ComponentType component)
add
in interface List<ComponentType extends DataComponent>
add
in class OgcPropertyList<ComponentType extends DataComponent>
Copyright © 2016 Sensia Software LLC. All rights reserved.