1<?php 2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */ 3 4 5/** 6 * @author Björn Heyser <bheyser@databay.de> 7 * @version $Id$ 8 * 9 * @package Modules/Test 10 */ 11class ilTestObjectiveOrientedContainer 12{ 13 /** 14 * @var integer 15 */ 16 private $objId; 17 18 /** 19 * @var integer 20 */ 21 private $refId; 22 23 public function __construct() 24 { 25 $this->objId = null; 26 $this->refId = null; 27 } 28 29 /** 30 * @return int 31 */ 32 public function getObjId() 33 { 34 return $this->objId; 35 } 36 37 /** 38 * @param int $objId 39 */ 40 public function setObjId($objId) 41 { 42 $this->objId = $objId; 43 } 44 45 /** 46 * @return int 47 */ 48 public function getRefId() 49 { 50 return $this->refId; 51 } 52 53 /** 54 * @param int $refId 55 */ 56 public function setRefId($refId) 57 { 58 $this->refId = $refId; 59 } 60 61 /** 62 * @return bool 63 */ 64 public function isObjectiveOrientedPresentationRequired() 65 { 66 return (bool) $this->getObjId(); 67 } 68} 69