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 TypeMethodDescriptionvoidadd(int index, ComponentType component) booleanadd(ComponentType component) add(String name, ComponentType component) Adds a property with the specified name and value to the listvoidadd(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, toArrayMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods 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:OgcPropertyListAdds a property object to the list The property carries the actual value object- Overrides:
 addin classOgcPropertyList<ComponentType extends DataComponent>
 - 
add
Description copied from class:OgcPropertyListAdds a property with the specified name and value to the list- Overrides:
 addin 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:
 addin interfaceCollection<ComponentType extends DataComponent>- Specified by:
 addin interfaceList<ComponentType extends DataComponent>- Overrides:
 addin classOgcPropertyList<ComponentType extends DataComponent>
 - 
add
- Specified by:
 addin interfaceList<ComponentType extends DataComponent>- Overrides:
 addin classOgcPropertyList<ComponentType extends DataComponent>
 
 -