diff --git a/application/src/Entity/Attribut/FirstNameSourceAttribut.php b/application/src/Entity/Attribut/FirstNameSourceAttribut.php index 742dee3..d3dde8d 100644 --- a/application/src/Entity/Attribut/FirstNameSourceAttribut.php +++ b/application/src/Entity/Attribut/FirstNameSourceAttribut.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\Source\Data\Name\FirstNameSourceInterface; +use App\Entity\Source\Primitive\Name\FirstNameSourceInterface; trait FirstNameSourceAttribut { diff --git a/application/src/Entity/Attribut/FirstNameSourceAttributInterface.php b/application/src/Entity/Attribut/FirstNameSourceAttributInterface.php index 6e93e6c..7cba291 100644 --- a/application/src/Entity/Attribut/FirstNameSourceAttributInterface.php +++ b/application/src/Entity/Attribut/FirstNameSourceAttributInterface.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\Source\Data\Name\FirstNameSourceInterface; +use App\Entity\Source\Primitive\Name\FirstNameSourceInterface; interface FirstNameSourceAttributInterface { diff --git a/application/src/Entity/Attribut/NameSourceAttribut.php b/application/src/Entity/Attribut/NameSourceAttribut.php index 369eb37..c3689f2 100644 --- a/application/src/Entity/Attribut/NameSourceAttribut.php +++ b/application/src/Entity/Attribut/NameSourceAttribut.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\Source\Data\Name\NameSourceInterface; +use App\Entity\Source\Primitive\Name\NameSourceInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/NameSourceAttributInterface.php b/application/src/Entity/Attribut/NameSourceAttributInterface.php index 1cf6762..2d3ebb9 100644 --- a/application/src/Entity/Attribut/NameSourceAttributInterface.php +++ b/application/src/Entity/Attribut/NameSourceAttributInterface.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\Source\Data\Name\NameSourceInterface; +use App\Entity\Source\Primitive\Name\NameSourceInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/SurnameSourceAttribut.php b/application/src/Entity/Attribut/SurnameSourceAttribut.php index 76f23d8..ccd7e4b 100644 --- a/application/src/Entity/Attribut/SurnameSourceAttribut.php +++ b/application/src/Entity/Attribut/SurnameSourceAttribut.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\Source\Data\Name\SurnameSourceInterface; +use App\Entity\Source\Primitive\Name\SurnameSourceInterface; trait SurnameSourceAttribut { diff --git a/application/src/Entity/Attribut/SurnameSourceAttributInterface.php b/application/src/Entity/Attribut/SurnameSourceAttributInterface.php index b51cf6a..018653d 100644 --- a/application/src/Entity/Attribut/SurnameSourceAttributInterface.php +++ b/application/src/Entity/Attribut/SurnameSourceAttributInterface.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\Source\Data\Name\SurnameSourceInterface; +use App\Entity\Source\Primitive\Name\SurnameSourceInterface; interface SurnameSourceAttributInterface { diff --git a/application/src/Entity/Source/AbstractSource.php b/application/src/Entity/Source/AbstractSource.php index e5ed454..9fc1629 100644 --- a/application/src/Entity/Source/AbstractSource.php +++ b/application/src/Entity/Source/AbstractSource.php @@ -23,7 +23,7 @@ use App\Entity\Source\Collection\TreeCollectionSourceInterface; * @ORM\Table(name="source") * @ORM\InheritanceType("JOINED") * @ORM\DiscriminatorColumn(name="discr", type="string") - * @ORM\DiscriminatorMap({"data" = "App\Entity\Source\Data\AbstractDataSource", "collection" = "App\Entity\Source\Collection\AbstractCollectionSource","operation"="App\Entity\Source\Operation\AbstractOperation"}) + * @ORM\DiscriminatorMap({"data" = "App\Entity\Source\Primitive\AbstractDataSource", "collection" = "App\Entity\Source\Collection\AbstractCollectionSource","operation"="App\Entity\Source\Operation\AbstractOperation"}) */ abstract class AbstractSource extends AbstractEntity implements SourceInterface { diff --git a/application/src/Entity/Source/Combination/CombinationSourceInterface.php b/application/src/Entity/Source/Combination/CombinationSourceInterface.php index c443759..9c06c69 100644 --- a/application/src/Entity/Source/Combination/CombinationSourceInterface.php +++ b/application/src/Entity/Source/Combination/CombinationSourceInterface.php @@ -2,7 +2,7 @@ namespace App\Entity\Source\Combination; -use App\Entity\Source\Data\DataSourceInterface; +use App\Entity\Source\Primitive\DataSourceInterface; interface CombinationSourceInterface extends DataSourceInterface { diff --git a/application/src/Entity/Source/Combination/FullPersonNameSource.php b/application/src/Entity/Source/Combination/FullPersonNameSource.php index 2ce1df9..1d9c0aa 100644 --- a/application/src/Entity/Source/Combination/FullPersonNameSource.php +++ b/application/src/Entity/Source/Combination/FullPersonNameSource.php @@ -4,11 +4,11 @@ namespace App\Entity\Source\Combination; use App\Entity\Attribut\FirstNameSourceAttribut; use App\Entity\Attribut\SurnameSourceAttribut; -use App\Entity\Source\Data\Name\SurnameSource; -use App\Entity\Source\Data\Name\FirstNameSource; +use App\Entity\Source\Primitive\Name\SurnameSource; +use App\Entity\Source\Primitive\Name\FirstNameSource; use Doctrine\ORM\Mapping as ORM; -use App\Entity\Source\Data\Name\SurnameSourceInterface; -use App\Entity\Source\Data\Name\FirstNameSourceInterface; +use App\Entity\Source\Primitive\Name\SurnameSourceInterface; +use App\Entity\Source\Primitive\Name\FirstNameSourceInterface; /** * @author kevinfrantz @@ -20,7 +20,7 @@ class FullPersonNameSource extends AbstractCombinationSource implements FullPers use FirstNameSourceAttribut,SurnameSourceAttribut; /** - * @ORM\OneToOne(targetEntity="App\Entity\Source\Data\Name\SurnameSource",cascade={"persist", "remove"}) + * @ORM\OneToOne(targetEntity="App\Entity\Source\Primitive\Name\SurnameSource",cascade={"persist", "remove"}) * @ORM\JoinColumn(name="surname_id", referencedColumnName="id",onDelete="CASCADE") * * @var SurnameSourceInterface @@ -28,7 +28,7 @@ class FullPersonNameSource extends AbstractCombinationSource implements FullPers protected $surnameSource; /** - * @ORM\OneToOne(targetEntity="App\Entity\Source\Data\Name\FirstNameSource",cascade={"persist", "remove"}) + * @ORM\OneToOne(targetEntity="App\Entity\Source\Primitive\Name\FirstNameSource",cascade={"persist", "remove"}) * @ORM\JoinColumn(name="firstname_id", referencedColumnName="id",onDelete="CASCADE") * * @var FirstNameSourceInterface diff --git a/application/src/Entity/Source/Combination/UserSourceInterface.php b/application/src/Entity/Source/Combination/UserSourceInterface.php index 9bd1e2f..d343e5d 100644 --- a/application/src/Entity/Source/Combination/UserSourceInterface.php +++ b/application/src/Entity/Source/Combination/UserSourceInterface.php @@ -4,7 +4,7 @@ namespace App\Entity\Source\Combination; use App\Entity\Attribut\UserAttributInterface; use App\Entity\Attribut\PersonIdentitySourceAttributInterface; -use App\Entity\Source\Data\DataSourceInterface; +use App\Entity\Source\Primitive\DataSourceInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Source/Data/AbstractDataSource.php b/application/src/Entity/Source/Primitive/AbstractDataSource.php similarity index 72% rename from application/src/Entity/Source/Data/AbstractDataSource.php rename to application/src/Entity/Source/Primitive/AbstractDataSource.php index ae1646e..dc8d9cc 100644 --- a/application/src/Entity/Source/Data/AbstractDataSource.php +++ b/application/src/Entity/Source/Primitive/AbstractDataSource.php @@ -1,6 +1,6 @@