summaryrefslogtreecommitdiffstats
path: root/modules/php_musicbrainz/mbReleaseEvent.php
blob: 1c47ba1185b770c0063a226a813505a95eadc73d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
    class mbReleaseEvent {
        private $country;
        private $dateStr;
        private $catalogNumber;
        private $barcode;
        private $label = null;

        function mbReleaseEvent( $country = '', $dateStr = '' ) {
            $this->country = $country;
            $this->dateStr = $dateStr;
        }
        
        function setCountry      ( $country  ) { $this->country = $country;        }
        function getCountry      (           ) { return $this->country;            }
        function setCatalogNumber( $c_number ) { $this->catalogNumber = $c_number; }
        function getCatalogNumber(           ) { return $this->catalogNumber;      }
        function setBarcode      ( $barcode  ) { $this->barcode = $barcode;        }
        function getBarcode      (           ) { return $this->barcode;            }
        function setDate         ( $date     ) { $this->date = $date;              }
        function getDate         (           ) { return $this->date;               }

        function setLabel( Label $label ) {
            $this->label = $label;
        }

        function getLabel() {
            return $this->label;
        }
    }
?>