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);
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: