1 | <?php |
||
38 | class AssociationValueEntry |
||
39 | { |
||
40 | |||
41 | /** |
||
42 | * @ORM\Id |
||
43 | * @ORM\Column(type="integer", name="id") |
||
44 | * @ORM\GeneratedValue(strategy="AUTO") |
||
45 | * @var integer |
||
46 | */ |
||
47 | private $id; |
||
48 | |||
49 | /** |
||
50 | * @ORM\Column(type="string", name="saga_id") |
||
51 | * @var string |
||
52 | */ |
||
53 | private $sagaId; |
||
54 | |||
55 | /** |
||
56 | * @ORM\Column(type="string", name="association_key") |
||
57 | * @var string |
||
58 | */ |
||
59 | private $associationKey; |
||
60 | |||
61 | /** |
||
62 | * @ORM\Column(type="string", name="association_value") |
||
63 | * @var string |
||
64 | */ |
||
65 | private $associationValue; |
||
66 | |||
67 | /** |
||
68 | * @ORM\Column(type="string", name="saga_type") |
||
69 | * @var string |
||
70 | */ |
||
71 | private $sagaType; |
||
72 | |||
73 | /** |
||
74 | * Initialize a new AssociationValueEntry for a saga with given <code>sagaIdentifier</code> and |
||
75 | * <code>associationValue</code>. |
||
76 | * |
||
77 | * @param string $sagaType The type of Saga this association value belongs to |
||
78 | * @param string $sagaIdentifier The identifier of the saga |
||
79 | * @param AssociationValue $associationValue The association value for the saga |
||
80 | */ |
||
81 | 8 | public function __construct($sagaType, $sagaIdentifier, |
|
89 | |||
90 | /** |
||
91 | * Returns the association value contained in this entry. |
||
92 | * |
||
93 | * @return AssociationValue the association value contained in this entry |
||
94 | */ |
||
95 | public function getAssociationValue() |
||
100 | |||
101 | /** |
||
102 | * Returns the Saga Identifier contained in this entry. |
||
103 | * |
||
104 | * @return string the Saga Identifier contained in this entry |
||
105 | */ |
||
106 | public function getSagaIdentifier() |
||
110 | |||
111 | /** |
||
112 | * Returns the type (fully qualified class name) of the Saga this association value belongs to |
||
113 | * |
||
114 | * @return string the type (fully qualified class name) of the Saga |
||
115 | */ |
||
116 | public function getSagaType() |
||
120 | |||
121 | /** |
||
122 | * The unique identifier of this entry. |
||
123 | * |
||
124 | * @return integer the unique identifier of this entry |
||
125 | */ |
||
126 | public function getId() |
||
130 | |||
131 | } |
||
132 |