Code Duplication    Length = 7-7 lines in 18 locations

Alpha/Controller/Controller.php 12 locations

@@ 349-355 (lines=7) @@
346
     *
347
     * @since 1.0
348
     */
349
    public function getName()
350
    {
351
        self::$logger->debug('>>getName()');
352
        self::$logger->debug('<<getName ['.$this->name.']');
353
354
        return $this->name;
355
    }
356
357
    /**
358
     * Setter for the unit of work job name.
@@ 378-384 (lines=7) @@
375
     *
376
     * @since 1.0
377
     */
378
    public function getVisibility()
379
    {
380
        self::$logger->debug('>>getVisibility()');
381
        self::$logger->debug('<<getVisibility ['.$this->visibility.']');
382
383
        return $this->visibility;
384
    }
385
386
    /**
387
     * Setter for the name of the rights group that has access to this controller.
@@ 407-413 (lines=7) @@
404
     *
405
     * @since 1.0
406
     */
407
    public function getFirstJob()
408
    {
409
        self::$logger->debug('>>getFirstJob()');
410
        self::$logger->debug('<<getFirstJob ['.$this->firstJob.']');
411
412
        return $this->firstJob;
413
    }
414
415
    /**
416
     * Gets the name of the next job in this unit of work.
@@ 422-428 (lines=7) @@
419
     *
420
     * @since 1.0
421
     */
422
    public function getNextJob()
423
    {
424
        self::$logger->debug('>>getNextJob()');
425
        self::$logger->debug('<<getNextJob ['.$this->nextJob.']');
426
427
        return $this->nextJob;
428
    }
429
430
    /**
431
     * Gets the name of the previous job in this unit of work.
@@ 437-443 (lines=7) @@
434
     *
435
     * @since 1.0
436
     */
437
    public function getPreviousJob()
438
    {
439
        self::$logger->debug('>>getPreviousJob()');
440
        self::$logger->debug('<<getPreviousJob ['.$this->previousJob.']');
441
442
        return $this->previousJob;
443
    }
444
445
    /**
446
     * Gets the name of the last job in this unit of work.
@@ 452-458 (lines=7) @@
449
     *
450
     * @since 1.0
451
     */
452
    public function getLastJob()
453
    {
454
        self::$logger->debug('>>getLastJob()');
455
        self::$logger->debug('<<getLastJob ['.$this->lastJob.']');
456
457
        return $this->lastJob;
458
    }
459
460
    /**
461
     * Sets the name of the controller job sequence to the values in the supplied
@@ 555-561 (lines=7) @@
552
     *
553
     * @since 1.0
554
     */
555
    public function getStartTime()
556
    {
557
        self::$logger->debug('>>getStartTime()');
558
        self::$logger->debug('<<getStartTime ['.$this->unitStartTime.']');
559
560
        return $this->unitStartTime;
561
    }
562
563
    /**
564
     * Setter for the unit start time (value will be stored in the session as key unitStartTime).
@@ 597-603 (lines=7) @@
594
     *
595
     * @since 1.0
596
     */
597
    public function getEndTime()
598
    {
599
        self::$logger->debug('>>getEndTime()');
600
        self::$logger->debug('<<getEndTime ['.$this->unitEndTime.']');
601
602
        return $this->unitEndTime;
603
    }
604
605
    /**
606
     * Setter for the unit end time (value will be stored in the session as key unitEndTime).
@@ 639-645 (lines=7) @@
636
     *
637
     * @since 1.0
638
     */
639
    public function getMAXDuration()
640
    {
641
        self::$logger->debug('>>getMAXDuration()');
642
        self::$logger->debug('<<getMAXDuration ['.$this->unitMAXDuration.']');
643
644
        return $this->unitMAXDuration;
645
    }
646
647
    /**
648
     * Setter for the unit MAX duration.
@@ 919-925 (lines=7) @@
916
     *
917
     * @since 1.0
918
     */
919
    public function getTitle()
920
    {
921
        self::$logger->debug('>>getTitle()');
922
        self::$logger->debug('<<getTitle ['.$this->title.']');
923
924
        return $this->title;
925
    }
926
927
    /**
928
     * Setter for the page title.
@@ 948-954 (lines=7) @@
945
     *
946
     * @since 1.0
947
     */
948
    public function getDescription()
949
    {
950
        self::$logger->debug('>>getDescription()');
951
        self::$logger->debug('<<getDescription ['.$this->description.']');
952
953
        return $this->description;
954
    }
955
956
    /**
957
     * Setter for the page description.
@@ 977-983 (lines=7) @@
974
     *
975
     * @since 1.0
976
     */
977
    public function getKeywords()
978
    {
979
        self::$logger->debug('>>getKeywords()');
980
        self::$logger->debug('<<getKeywords ['.$this->keywords.']');
981
982
        return $this->keywords;
983
    }
984
985
    /**
986
     * Setter for the page keywords, should pass a comma-seperated list as a string.

Alpha/Model/ActiveRecord.php 6 locations

@@ 1217-1223 (lines=7) @@
1214
     *
1215
     * @since 1.0
1216
     */
1217
    public function getVersionNumber()
1218
    {
1219
        self::$logger->debug('>>getVersionNumber()');
1220
        self::$logger->debug('<<getVersionNumber ['.$this->version_num.']');
1221
1222
        return $this->version_num;
1223
    }
1224
1225
    /**
1226
     * Populate all of the enum options for this object from the database.
@@ 1604-1610 (lines=7) @@
1601
     *
1602
     * @since 1.0
1603
     */
1604
    public function getCreatorId()
1605
    {
1606
        self::$logger->debug('>>getCreatorId()');
1607
        self::$logger->debug('<<getCreatorId ['.$this->created_by.']');
1608
1609
        return $this->created_by;
1610
    }
1611
1612
    /**
1613
     * Method for getting the OID of the person who updated this BO.
@@ 1619-1625 (lines=7) @@
1616
     *
1617
     * @since 1.0
1618
     */
1619
    public function getUpdatorId()
1620
    {
1621
        self::$logger->debug('>>getUpdatorId()');
1622
        self::$logger->debug('<<getUpdatorId ['.$this->updated_by.']');
1623
1624
        return $this->updated_by;
1625
    }
1626
1627
    /**
1628
     * Method for getting the date/time of when the BO was created.
@@ 1634-1640 (lines=7) @@
1631
     *
1632
     * @since 1.0
1633
     */
1634
    public function getCreateTS()
1635
    {
1636
        self::$logger->debug('>>getCreateTS()');
1637
        self::$logger->debug('<<getCreateTS ['.$this->created_ts.']');
1638
1639
        return $this->created_ts;
1640
    }
1641
1642
    /**
1643
     * Method for getting the date/time of when the BO was last updated.
@@ 1649-1655 (lines=7) @@
1646
     *
1647
     * @since 1.0
1648
     */
1649
    public function getUpdateTS()
1650
    {
1651
        self::$logger->debug('>>getUpdateTS()');
1652
        self::$logger->debug('<<getUpdateTS ['.$this->updated_ts.']');
1653
1654
        return $this->updated_ts;
1655
    }
1656
1657
    /**
1658
     * Adds the name of the attribute provided to the list of transient (non-saved) attributes for this BO.
@@ 2053-2059 (lines=7) @@
2050
     *
2051
     * @since 1.0
2052
     */
2053
    public function getLastQuery()
2054
    {
2055
        self::$logger->debug('>>getLastQuery()');
2056
        self::$logger->debug('<<getLastQuery ['.$this->lastQuery.']');
2057
2058
        return $this->lastQuery;
2059
    }
2060
2061
    /**
2062
     * Unsets all of the attributes of this object to null.