Esempio n. 1
0
 /**
  * Setter unit
  *
  * @param String $unit String
  *
  * @return void
  */
 public function setUnit($unit)
 {
     if (!$unit) {
         $this->unit = null;
         return;
     }
     $uni = new CCDA_base_cs();
     $uni->setData($unit);
     $this->unit = $uni;
 }
Esempio n. 2
0
 /**
  * Setter currency
  *
  * @param String $currency String
  *
  * @return void
  */
 public function setCurrency($currency)
 {
     if (!$currency) {
         $this->currency = null;
         return;
     }
     $cs = new CCDA_base_cs();
     $cs->setData($currency);
     $this->currency = $cs;
 }
 /**
  * Setter ID
  *
  * @param String $inst String
  *
  * @return void
  */
 function setIdentifier($inst)
 {
     if (!$inst) {
         $this->identifier = null;
         return;
     }
     $cs = new CCDA_base_cs();
     $cs->setData($inst);
     $this->identifier = $cs;
 }
Esempio n. 4
0
 /**
  * Setter Code
  *
  * @param String $code String
  *
  * @return void
  */
 public function setCode($code)
 {
     if (!$code) {
         $this->code = null;
         return;
     }
     $cod = new CCDA_base_cs();
     $cod->setData($code);
     $this->code = $cod;
 }
Esempio n. 5
0
 /**
  * Setter mediaType
  *
  * @param String $mediaType String
  *
  * @return void
  */
 public function setMediaType($mediaType)
 {
     if (!$mediaType) {
         $this->mediaType = null;
         return;
     }
     $media = new CCDA_base_cs();
     $media->setData($mediaType);
     $this->mediaType = $media;
 }