Changed abstractcombinationsource to abstractcomplexsource

This commit is contained in:
Kevin Frantz 2018-11-21 18:08:19 +01:00
parent a8050328aa
commit aaf335ce30
8 changed files with 8 additions and 9 deletions

View File

@ -14,6 +14,6 @@ use Doctrine\ORM\Mapping as ORM;
* @ORM\DiscriminatorColumn(name="discr", type="string")
* @ORM\DiscriminatorMap({"user" = "UserSource","fullpersonname" = "FullPersonNameSource","personidentitysource"="PersonIdentitySource","fullpersonnamesource"="FullPersonNameSource"})
*/
abstract class AbstractCombinationSource extends AbstractSource implements CombinationSourceInterface
abstract class AbstractComplexSource extends AbstractSource implements ComplexSourceInterface
{
}

View File

@ -4,6 +4,6 @@ namespace App\Entity\Source\Complex;
use App\Entity\Source\Primitive\DataSourceInterface;
interface CombinationSourceInterface extends DataSourceInterface
interface ComplexSourceInterface extends DataSourceInterface
{
}

View File

@ -15,7 +15,7 @@ use App\Entity\Source\Primitive\Name\FirstNameSourceInterface;
* @ORM\Table(name="source_combination_fullpersonname")
* @ORM\Entity()
*/
class FullPersonNameSource extends AbstractCombinationSource implements FullPersonNameSourceInterface
class FullPersonNameSource extends AbstractComplexSource implements FullPersonNameSourceInterface
{
use FirstNameSourceAttribut,SurnameSourceAttribut;

View File

@ -10,6 +10,6 @@ use App\Entity\Attribut\SurnameSourceAttributInterface;
*
* @author kevinfrantz
*/
interface FullPersonNameSourceInterface extends CombinationSourceInterface, FirstNameSourceAttributInterface, SurnameSourceAttributInterface
interface FullPersonNameSourceInterface extends ComplexSourceInterface, FirstNameSourceAttributInterface, SurnameSourceAttributInterface
{
}

View File

@ -10,7 +10,7 @@ use Doctrine\ORM\Mapping as ORM;
* @ORM\Table(name="source_combination_person_identity")
* @ORM\Entity()
*/
class PersonIdentitySource extends AbstractCombinationSource implements PersonIdentitySourceInterface
class PersonIdentitySource extends AbstractComplexSource implements PersonIdentitySourceInterface
{
use FullPersonNameSourceAttribut;

View File

@ -4,6 +4,6 @@ namespace App\Entity\Source\Complex;
use App\Entity\Attribut\FullPersonNameSourceAttributInterface;
interface PersonIdentitySourceInterface extends CombinationSourceInterface, FullPersonNameSourceAttributInterface
interface PersonIdentitySourceInterface extends ComplexSourceInterface, FullPersonNameSourceAttributInterface
{
}

View File

@ -12,7 +12,7 @@ use App\Entity\Attribut\PersonIdentitySourceAttribut;
* @ORM\Table(name="source_data_user")
* @ORM\Entity(repositoryClass="App\Repository\UserSourceRepository")
*/
class UserSource extends AbstractCombinationSource implements UserSourceInterface
class UserSource extends AbstractComplexSource implements UserSourceInterface
{
use UserAttribut,PersonIdentitySourceAttribut;

View File

@ -4,11 +4,10 @@ namespace App\Entity\Source\Complex;
use App\Entity\Attribut\UserAttributInterface;
use App\Entity\Attribut\PersonIdentitySourceAttributInterface;
use App\Entity\Source\Primitive\DataSourceInterface;
/**
* @author kevinfrantz
*/
interface UserSourceInterface extends DataSourceInterface, UserAttributInterface, PersonIdentitySourceAttributInterface
interface UserSourceInterface extends ComplexSourceInterface, UserAttributInterface, PersonIdentitySourceAttributInterface
{
}