Class TLcdGML31CompositeValue

All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, ILcdFeatured, ILcdSelfDescribedFeatured, Serializable, Cloneable
Direct Known Subclasses:
TLcdGML31ValueArray

public class TLcdGML31CompositeValue extends TLcdGML31AbstractGML
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 Details

    • VALUE_COMPONENT_PROPERTY

      public static final TLcdDataProperty VALUE_COMPONENT_PROPERTY
      Data property that maps to the valueComponent element. The possible values for this property are instances of List<TLcdGML31ValueProperty>.
    • VALUE_COMPONENTS_PROPERTY

      public static final TLcdDataProperty VALUE_COMPONENTS_PROPERTY
      Data property that maps to the valueComponents element. The possible values for this property are instances of TLcdGML31ValueArrayProperty.
  • Constructor Details

    • TLcdGML31CompositeValue

      public TLcdGML31CompositeValue()
    • TLcdGML31CompositeValue

      public TLcdGML31CompositeValue(TLcdDataType aType)
  • Method Details

    • getValueComponent

      public List<Object> getValueComponent()
      Returns the value of the property that maps to the valueComponent 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

      public List<Object> getValueComponents()
      Returns the role value contained in the value of the VALUE_COMPONENTS_PROPERTY property. Returns null if the value of the VALUE_COMPONENTS_PROPERTY property is null.

      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

      public void setValueComponents(List<Object> aValue)
      Sets the value of the property that maps to the valueComponents element. to a new instance of the association class TLcdGML31ValueArrayProperty initialized with the given role value. In case the given role value is null, the VALUE_COMPONENTS_PROPERTY property is set to null.

      Element which refers to, or contains, a set of homogeneously typed Values.

      Parameters:
      aValue - the role value to set for the VALUE_COMPONENTS_PROPERTY property.