soliantconsulting/SimpleFM

View on GitHub
test/Repository/Builder/Metadata/TestAssets/EagerHydration.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="utf-8"?>
<entity
    xmlns="uri:soliantconsulting.com:simplefm:entity-metadata"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="uri:soliantconsulting.com:simplefm:entity-metadata
        https://soliantconsulting.github.io/SimpleFM/entity-metadata-5-1.xsd"
    class-name="EagerHydration"
    layout="eager-hydration-layout"
>
    <one-to-many
        property="otmDefault"
        target-table=""
        target-entity="RelationTarget"
        target-field-name=""
    />
    <one-to-many
        property="otmDefault"
        target-table=""
        target-entity="RelationTargetWithoutInterface"
        target-field-name=""
        eager-hydration="true"
    />
    <one-to-many
        property="otmDefault"
        target-table=""
        target-entity="RelationTarget"
        target-field-name=""
        eager-hydration="false"
    />

    <many-to-one
        name="mto-default"
        property=""
        target-table=""
        target-entity="RelationTarget"
        target-property-name=""
        target-field-name=""
    />
    <many-to-one
        name="mto-true"
        property=""
        target-table=""
        target-entity="RelationTargetWithoutInterface"
        target-property-name=""
        target-field-name=""
        eager-hydration="true"
    />
    <many-to-one
        name="mto-false"
        property=""
        target-table=""
        target-entity="RelationTarget"
        target-property-name=""
        target-field-name=""
        eager-hydration="false"
    />

    <one-to-one-owning
        name="otoo-default"
        property=""
        target-table=""
        target-entity="RelationTarget"
        target-property-name=""
        target-field-name=""
    />
    <one-to-one-owning
        name="otoo-true"
        property=""
        target-table=""
        target-entity="RelationTargetWithoutInterface"
        target-property-name=""
        target-field-name=""
        eager-hydration="true"
    />
    <one-to-one-owning
        name="otoo-false"
        property=""
        target-table=""
        target-entity="RelationTarget"
        target-property-name=""
        target-field-name=""
        eager-hydration="false"
    />

    <one-to-one-inverse
        property="otoiDefault"
        target-table=""
        target-entity="RelationTarget"
        target-field-name=""
    />
    <one-to-one-inverse
        property="otoiTrue"
        target-table=""
        target-entity="RelationTargetWithoutInterface"
        target-field-name=""
        eager-hydration="true"
    />
    <one-to-one-inverse
        property="otoiFalse"
        target-table=""
        target-entity="RelationTarget"
        target-field-name=""
        eager-hydration="false"
    />
</entity>