Package com.luciad.format.gml31.model
Class TLcdGML31CompositeValue
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.datamodel.TLcdFeaturedDataObject
com.luciad.format.gml31.model.TLcdGML31AbstractGML
com.luciad.format.gml31.model.TLcdGML31CompositeValue
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,ILcdFeatured
,ILcdSelfDescribedFeatured
,Serializable
,Cloneable
- Direct Known Subclasses:
TLcdGML31ValueArray
Aggregate value built from other Values using the Composite pattern. It contains zero or an arbitrary number of valueComponent elements, and zero or one valueComponents elements. It may be used for strongly coupled aggregates (vectors, tensors) or for arbitrary collections of values.
- Since:
- 10.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to thevalueComponent
element.static final TLcdDataProperty
Data property that maps to thevalueComponents
element.Fields inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractGML
DESCRIPTION_PROPERTY, ID_PROPERTY, META_DATA_PROPERTY_PROPERTY, NAME_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to thevalueComponent
element.Returns the role value contained in the value of theVALUE_COMPONENTS_PROPERTY
property.void
setValueComponents
(List<Object> aValue) Sets the value of the property that maps to thevalueComponents
element.Methods inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractGML
getDescription, getId, getMetaDataProperty, getName, setDescription, setId
Methods inherited from class com.luciad.datamodel.TLcdFeaturedDataObject
canSetFeature, getFeature, getFeature, getFeatureCount, getFeaturedDescriptor, setFeature, setFeature
-
Field Details
-
VALUE_COMPONENT_PROPERTY
Data property that maps to thevalueComponent
element. The possible values for this property are instances ofList<TLcdGML31ValueProperty>
. -
VALUE_COMPONENTS_PROPERTY
Data property that maps to thevalueComponents
element. The possible values for this property are instances ofTLcdGML31ValueArrayProperty
.
-
-
Constructor Details
-
TLcdGML31CompositeValue
public TLcdGML31CompositeValue() -
TLcdGML31CompositeValue
-
-
Method Details
-
getValueComponent
Returns the value of the property that maps to thevalueComponent
element.Element which refers to, or contains, a Value. This version is used in CompositeValues.
- Returns:
- the value of the
VALUE_COMPONENT_PROPERTY
property. - See Also:
-
getValueComponents
Returns the role value contained in the value of theVALUE_COMPONENTS_PROPERTY
property. Returnsnull
if the value of theVALUE_COMPONENTS_PROPERTY
property isnull
.Element which refers to, or contains, a set of homogeneously typed Values.
- Returns:
- the role value of the
VALUE_COMPONENTS_PROPERTY
property. - See Also:
-
setValueComponents
Sets the value of the property that maps to thevalueComponents
element. to a new instance of the association classTLcdGML31ValueArrayProperty
initialized with the given role value. In case the given role value isnull
, theVALUE_COMPONENTS_PROPERTY
property is set tonull
.Element which refers to, or contains, a set of homogeneously typed Values.
- Parameters:
aValue
- the role value to set for theVALUE_COMPONENTS_PROPERTY
property.
-