You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since data components have many properties, providing constructors is cumbersome.
The builder pattern would be more appropriate to create components in a single line, for example:
Quantity q = Factory.quantityBuilder()
.label("Air Temperature")
.description("Outdoor temperature under cover, measured 2m above ground")
.definition("http://ontology/AirTemperature")
.uomCode("Cel")
.dataType(DataType.FLOAT);
The text was updated successfully, but these errors were encountered:
Since data components have many properties, providing constructors is cumbersome.
The builder pattern would be more appropriate to create components in a single line, for example:
The text was updated successfully, but these errors were encountered: