Package net.opengis.swe.v20
Interface DataRecord
- All Superinterfaces:
AbstractSWE,AbstractSWEIdentifiable,DataComponent,HasCopy,Serializable
- All Known Implementing Classes:
DataRecordImpl
POJO class for XML type DataRecordType(@http://www.opengis.net/swe/2.0).
This is a complex type.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddField(String name, DataComponent field) Adds a new field propertycopy()Return a structural copy of this component The copy is done recursively, but only the structure is copied (not the data)Gets the field property with the given nameGets the list of field propertiesintReturns number of field propertiesMethods inherited from interface net.opengis.swe.v20.AbstractSWE
addExtension, getExtensionList, getId, getNumExtensions, isSetId, setIdMethods inherited from interface net.opengis.swe.v20.AbstractSWEIdentifiable
getDescription, getIdentifier, getLabel, isSetDescription, isSetIdentifier, isSetLabel, setDescription, setIdentifier, setLabelMethods inherited from interface net.opengis.swe.v20.DataComponent
accept, addComponent, assignNewDataBlock, clearData, clone, createDataBlock, getComponent, getComponent, getComponentCount, getComponentIndex, getData, getDefinition, getName, getOptional, getParent, getUpdatable, hasConstraints, hasData, isSetDefinition, isSetOptional, isSetUpdatable, removeComponent, removeComponent, renewDataBlock, setData, setDefinition, setName, setOptional, setUpdatable, unSetOptional, unSetUpdatable, validateData
-
Method Details
-
copy
DataRecord copy()Description copied from interface:DataComponentReturn a structural copy of this component The copy is done recursively, but only the structure is copied (not the data)- Specified by:
copyin interfaceDataComponent- Specified by:
copyin interfaceHasCopy- Returns:
- copy of this component, including sub-components
-
getFieldList
OgcPropertyList<DataComponent> getFieldList()Gets the list of field properties -
getNumFields
int getNumFields()Returns number of field properties -
getField
Gets the field property with the given name -
addField
Adds a new field property
-