major
nice-to-have
defect
major
enhancement
ConfigurationStorageMapping is a StorageMapping that can be used to define data types that store ConfigurationItems in model attributes. However, these do not receive an automatic GUI, and the Java binding is suboptimal because the getters and setters only accept the `ConfigurationItem` type instead of the configured "specific" configuration type.
Usage
Defining a configuration data type:
#!xml
<datatype name="DemoVec" kind="Custom" db_type="string">
<annotations>
<config-type value="CONFIGURATION"/>
</annotations>
<configuration-storage config-interface="com.top_logic.demo.model.struct.DemoVec" />
</datatype>
In this case, automatic GUI binding is performed via the CONFIGURATION config-type, and persistence mapping is handled via configuration-storage. The sub-configuration config-interface specifies the "concrete" configuration type to be stored.
Test
- offset attribute in tl-demo