models.autoRealization.Tests.M1.KeyProperties.KeyProperties_ExcludeNonKeys.yaml Maven / Gradle / Ivy
$schema: ../../../../../../com.modelsolv.reprezen.realization/schema/auto-realization-config-schema.json
_type: RealizationModel
_documentation: |
* Root objects have all properties
* Referenced objects have only key properties.
name: KeyProperties_ExcludeNonKeys
realizationRules:
RootObjects:
_type: RealizationRule
namingPattern: ${TypeName}_Root
appliesTo:
- _type: ContextPattern
level:
_type: RootObjectContext
realization:
_type: ObjectRealizationSpec
propertySet:
_type: InclusivePropertySet
ReferencedObjects:
_type: RealizationRule
namingPattern: ${TypeName}_Ref
appliesTo:
- _type: ContextPattern
level:
_type: ReferencePropertyContext
realization:
_type: ObjectRealizationSpec
propertySet:
_type: InclusivePropertySet
excludedProperties:
- _type: PropertySelector
_documentation : Exclude non-key properties.
propertyType:
_type: PrimitivePropertySelector
isKey: false