CustomVolumeAttribute

Overview

Class

A custom attribute with Value type NullableVolume.

Supertypes

Attributes (data)

Name

Multiplicity

Type

Value

1

NullableVolume

Implementation in Proteus Schema

CustomVolumeAttribute is implemented as a custom generic attribute for physical quantities.

RDL reference: VOLUME

Type: Volume

Example

As CustomAttributeOwner is abstract, we consider PackagingSystem as an arbitrary concrete subclass.

The PackagingSystem packagingSystem1 has a CustomVolumeAttribute with AttributeName “VolumePerPackagingUnit” and an (arbitrary) AttributeURIhttp://www.example.org/cad57652d80f72”. The Value is 2 l.

Implementation in Proteus Schema

<Equipment
    ID="packagingSystem1"
    ComponentClass="PackagingSystem"
    ComponentClassURI="http://sandbox.dexpi.org/rdl/PackagingSystem" ...>
  ...
  <GenericAttributes Set="DexpiCustomAttributes" ...>
    <GenericAttribute
      Name="VolumePerPackagingUnit"
      AttributeURI="http://www.example.org/cad57652d80f72"
      Format="double"
      Type="Volume"
      TypeURI="http://data.posccaesar.org/rdl/RDS356444"
      Value="2"
      Units="Litre"
      UnitsURI="http://data.posccaesar.org/rdl/RDS1331144" />
    ...
  </GenericAttributes>
  ...
</Equipment>

Value

Attribute (data)

The value of the CustomVolumeAttribute.

Multiplicity: 1

Redefines: Value (inherited from CustomAttribute)

Implementation in Proteus Schema

See implementation of CustomVolumeAttribute.

Example

See the example for CustomVolumeAttribute.