Package org.vast.data
Class DataComponentPropertyList<ComponentType extends DataComponent>
java.lang.Object
net.opengis.OgcPropertyList<ComponentType>
org.vast.data.DataComponentPropertyList<ComponentType>
- Type Parameters:
ComponentType
- Type of data component this list can hold
- All Implemented Interfaces:
Serializable
,Iterable<ComponentType>
,Collection<ComponentType>
,List<ComponentType>
public 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.
- Since:
- Nov 9, 2014
- See Also:
-
Field Summary
Fields inherited from class net.opengis.OgcPropertyList
items, nameMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(int index, ComponentType component) boolean
add
(ComponentType component) add
(String name, ComponentType component) Adds a property with the specified name and value to the listvoid
add
(OgcProperty<ComponentType> prop) Adds a property object to the list The property carries the actual value objectMethods inherited from class net.opengis.OgcPropertyList
add, addAll, addAll, checkName, clear, contains, containsAll, copyTo, get, get, getProperties, getProperty, getProperty, getPropertyNames, hasProperty, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Constructor Details
-
DataComponentPropertyList
public DataComponentPropertyList() -
DataComponentPropertyList
-
DataComponentPropertyList
-
-
Method Details
-
add
Description copied from class:OgcPropertyList
Adds a property object to the list The property carries the actual value object- Overrides:
add
in classOgcPropertyList<ComponentType extends DataComponent>
-
add
Description copied from class:OgcPropertyList
Adds a property with the specified name and value to the list- Overrides:
add
in classOgcPropertyList<ComponentType extends DataComponent>
- Parameters:
name
- name to use on property (= name attribute)component
- the property value object- Returns:
- the newly created OgcPropery object
-
add
- Specified by:
add
in interfaceCollection<ComponentType extends DataComponent>
- Specified by:
add
in interfaceList<ComponentType extends DataComponent>
- Overrides:
add
in classOgcPropertyList<ComponentType extends DataComponent>
-
add
- Specified by:
add
in interfaceList<ComponentType extends DataComponent>
- Overrides:
add
in classOgcPropertyList<ComponentType extends DataComponent>
-