{'fraction_non_alphanumeric': 0.0226628895184136, 'fraction_numerical': 0.0, 'mean_word_length': 5.057142857142857, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Domain-driven design using meta-attributes: A DSL-based approach

Applying object-oriented domain-driven design in practice requires bridging the gaps that exist among the perceived domain class models of the key stakeholders involved. In this paper, we propose a domain-driven design method that uses meta-attributes with an aim to fill these gaps. Our method extends and generalises a previous work to use meta-attributes to build the domain class model. The meta-attributes are designed to not only make it easier for the designer and domain expert to collaboratively capture the domain-specific requirements in the model, but to ease the translation of the model to design specification. This specification is written in an object-oriented, internal DSL. To increase productivity, we define a generator function that realises the meta-mapping between the state and behaviour spaces of a domain class to automatically generate its behavioural specification. We demonstrate our method with an implementation in a prototyping tool for the domain class model.