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
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to thevalueComponentelement.static final TLcdDataPropertyData property that maps to thevalueComponentselement.Fields inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractGML
DESCRIPTION_PROPERTY, ID_PROPERTY, META_DATA_PROPERTY_PROPERTY, NAME_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to thevalueComponentelement.Returns the role value contained in the value of theVALUE_COMPONENTS_PROPERTYproperty.voidsetValueComponents(List<Object> aValue) Sets the value of the property that maps to thevalueComponentselement.Methods inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractGML
getDescription, getId, getMetaDataProperty, getName, setDescription, setIdMethods inherited from class com.luciad.datamodel.TLcdFeaturedDataObject
canSetFeature, getFeature, getFeature, getFeatureCount, getFeaturedDescriptor, setFeature, setFeature
-
Field Details
-
VALUE_COMPONENT_PROPERTY
Data property that maps to thevalueComponentelement. The possible values for this property are instances ofList<TLcdGML31ValueProperty>. -
VALUE_COMPONENTS_PROPERTY
Data property that maps to thevalueComponentselement. 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 thevalueComponentelement.Element which refers to, or contains, a Value. This version is used in CompositeValues.
- Returns:
- the value of the
VALUE_COMPONENT_PROPERTYproperty. - See Also:
-
getValueComponents
Returns the role value contained in the value of theVALUE_COMPONENTS_PROPERTYproperty. Returnsnullif the value of theVALUE_COMPONENTS_PROPERTYproperty isnull.Element which refers to, or contains, a set of homogeneously typed Values.
- Returns:
- the role value of the
VALUE_COMPONENTS_PROPERTYproperty. - See Also:
-
setValueComponents
Sets the value of the property that maps to thevalueComponentselement. to a new instance of the association classTLcdGML31ValueArrayPropertyinitialized with the given role value. In case the given role value isnull, theVALUE_COMPONENTS_PROPERTYproperty 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_PROPERTYproperty.
-