00001 <?php
00002
00020 class CataloguingMetadataField extends DataObject {
00024 function CataloguingMetadataField() {
00025 parent::DataObject();
00026 }
00027
00032 function getPressId() {
00033 return $this->getData('pressId');
00034 }
00035
00040 function setPressId($pressId) {
00041 return $this->setData('pressId', $pressId);
00042 }
00043
00048 function getEnabled() {
00049 return $this->getData('enabled');
00050 }
00051
00056 function setEnabled($enabled) {
00057 return $this->setData('enabled', $enabled);
00058 }
00059
00065 function setName($name, $locale) {
00066 $this->setData('name', $name, $locale);
00067 }
00068
00074 function getName($locale) {
00075 return $this->getData('name', $locale);
00076 }
00077
00082 function getLocalizedName() {
00083 return $this->getLocalizedData('name');
00084 }
00085 }
00086
00087 ?>