[+FEATURE] Extbase (Persistence): Implemented support for mm_opposite_field now....
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Persistence / Mapper / ColumnMap.php
index 18187e8..555f47f 100644 (file)
@@ -124,6 +124,13 @@ class Tx_Extbase_Persistence_Mapper_ColumnMap {
        protected $parentTableFieldName;
 
        /**
+        * The name of the field holding the children key
+        *
+        * @var string
+        **/
+       protected $childrenKeyFieldName;
+
+       /**
         * Constructs a Column Map
         * 
         * @param string $columnName The column name
@@ -266,6 +273,14 @@ class Tx_Extbase_Persistence_Mapper_ColumnMap {
        public function getParentTableFieldName() {
                return $this->parentTableFieldName;
        }
+       
+       public function setChildKeyFieldName($childKeyFieldName) {
+               $this->childKeyFieldName = $childKeyFieldName;
+       }
+
+       public function getChildKeyFieldName() {
+               return $this->childKeyFieldName;
+       }
 
 }
 ?>
\ No newline at end of file