CustomLengthAttribute¶
Overview¶
Class
A custom attribute with Value type NullableLength.
Supertypes
Attributes (data)
Name |
Multiplicity |
Type |
---|---|---|
1 |
Implementation in Proteus Schema
CustomLengthAttribute is implemented as a custom generic attribute for physical quantities.
Example
As CustomAttributeOwner is abstract, we consider Sieve as an arbitrary concrete subclass.
The Sieve sieve1 has a CustomLengthAttribute with AttributeName “DesignDiameter” and an (arbitrary) AttributeURI “http://www.example.org/15a4252a1da9c5”. The Value is 0.8 m.
Implementation in Proteus Schema
<Equipment
ID="sieve1"
ComponentClass="Sieve"
ComponentClassURI="http://sandbox.dexpi.org/rdl/Sieve" ...>
...
<GenericAttributes Set="DexpiCustomAttributes" ...>
<GenericAttribute
Name="DesignDiameter"
AttributeURI="http://www.example.org/15a4252a1da9c5"
Format="double"
Type="Length"
TypeURI="http://data.posccaesar.org/rdl/RDS373094"
Value="0.8"
Units="Metre"
UnitsURI="http://data.posccaesar.org/rdl/RDS1332674" />
...
</GenericAttributes>
...
</Equipment>
Value¶
Attribute (data)
The value of the CustomLengthAttribute.
Implementation in Proteus Schema
See implementation of CustomLengthAttribute.
Example
See the example for CustomLengthAttribute.