<?php

  /**
  * BaseCustomPropertyValue class
  * Written on Thu, 4 Oct 2009 14:51:09 -0300
  */
  abstract class BaseCustomPropertyValue extends DataObject {
  
    // -------------------------------------------------------
    //  Access methods
    // -------------------------------------------------------
  
    /**
    * Return value of 'id' field
    *
    * @access public
    * @param void
    * @return integer 
    */
    function getId() {
      return $this->getColumnValue('id');
    } // getObjectId()
    
    /**
    * Set value of 'id' field
    *
    * @access public   
    * @param integer $value
    * @return boolean
    */
    function setId($value) {
      return $this->setColumnValue('id', $value);
    } // setId() 
    
    /**
    * Return value of 'object_id' field
    *
    * @access public
    * @param void
    * @return integer 
    */
    function getObjectId() {
      return $this->getColumnValue('object_id');
    } // getObjectId()
    
    /**
    * Set value of 'object_id' field
    *
    * @access public   
    * @param integer $value
    * @return boolean
    */
    function setObjectId($value) {
      return $this->setColumnValue('object_id', $value);
    } // setObjectId() 
    
    /**
    * Return value of 'custom_property_id' field
    *
    * @access public
    * @param void
    * @return integer 
    */
    function getCustomPropertyId() {
      return $this->getColumnValue('custom_property_id');
    } // getCustomPropertyId()
    
    /**
    * Set value of 'custom_property_id' field
    *
    * @access public   
    * @param integer $value
    * @return boolean
    */
    function setCustomPropertyId($value) {
      return $this->setColumnValue('custom_property_id', $value);
    } // setCustomPropertyId() 
    
    /**
    * Return value of 'value' field
    *
    * @access public
    * @param void
    * @return string 
    */
    function getValue() {
      return $this->getColumnValue('value');
    } // getValue()
    
    /**
    * Set value of 'value' field
    *
    * @access public   
    * @param string $value
    * @return boolean
    */
    function setValue($value) {
      return $this->setColumnValue('value', $value);
    } // setValue()

     /**
    * Return value of 'currency_id' field
    *
    * @access public
    * @param void
    * @return string 
    */
    function getCurrencyId() {
      return $this->getColumnValue('currency_id');
    } // getDefaultValue()
    
    /**
    * Set value of 'currency_id' field
    *
    * @access public   
    * @param string $value
    * @return boolean
    */
    function setCurrencyId($value) {
      return $this->setColumnValue('currency_id', $value);
    } // setDefaultValue() 
    
      
    /**
    * Return manager instance
    *
    * @access protected
    * @param void
    * @return CustomPropertyValue 
    */
    function manager() {
      if(!($this->manager instanceof CustomPropertyValues )) $this->manager =  CustomPropertyValues::instance();
      return $this->manager;
    } // manager
  
  } // BaseCustomPropertyValue

?>