models.autoRealization.Tests.M1.ReferenceLevel.ReferenceLevel_RootsAndRefs.yaml Maven / Gradle / Ivy
$schema: ../../../../../../com.modelsolv.reprezen.realization/schema/auto-realization-config-schema.json
_type: RealizationModel
name: ReferenceLevel_RootsAndRefs
realizationRules:
RootObjects:
_type: RealizationRule
namingPattern: ${TypeName}_Root
appliesTo:
- _type: ContextPattern
level:
_type: RootObjectContext
realization:
_type: ObjectRealizationSpec
propertySet:
_type: ExclusivePropertySet
includedProperties:
- _type: PropertyRealization
propertyType:
_type: ReferencePropertyRealization
_documentation:
Root-level objects include only reference properties.
ReferencedObjects:
_type: RealizationRule
namingPattern: ${TypeName}_Ref
appliesTo:
- _type: ContextPattern
level:
_type: ReferencePropertyContext
realization:
_type: ObjectRealizationSpec
propertySet:
_type: ExclusivePropertySet
includedProperties:
- _type: PropertyRealization
propertyType:
_type: PrimitivePropertyRealization
_documentation:
Referenced objects include only primitive properties.