Completed
Push — master ( 1c26be...19bb2d )
by Basil
05:42
created

PropertyValueTrait::setMinValue()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace luya\web\jsonld;
4
5
/**
6
 * http://schema.org/PropertyValue
7
 * 
8
 * @author Basil Suter <[email protected]>
9
 * @since 1.0.3
10
 */
11
trait PropertyValueTrait
12
{
13
	use ThingTrait;
14
	
15
	private $_maxValue;
16
	
17
	public function setMaxValue($maxValue)
18
	{
19
	    $this->_maxValue = $maxValue;
20
	    
21
	    return $this;
22
	}
23
	
24
	public function getMaxValue()
25
	{
26
	    return $this->_maxValue;
27
	}
28
	
29
	private $_minValue;
30
	
31
	public function setMinValue($minValue)
32
	{
33
	   $this->_minValue = $minValue;
34
	   
35
	   return $this;
36
	}
37
	
38
	public function getMinValue()
39
	{
40
	    return $this->_minValue;
41
	}
42
	
43
	private $_measurementTechnique;
44
	
45
	public function setMeasurementTechnique($measurementTechnique)
46
	{
47
	    $this->_measurementTechnique = $measurementTechnique;
48
	    
49
	    return $this;
50
	}
51
	
52
	public function getMeasurementTechnique()
53
	{
54
	    return $this->_measurementTechnique;
55
	}
56
	
57
	private $_propertyId;
58
	
59
	public function setPropertyID($propertyID)
60
	{
61
	    $this->_propertyId = $propertyID;
62
	    
63
	    return $this;
64
	}
65
	
66
	public function getPropertyID()
67
	{
68
	    return $this->_propertyId;
69
	}
70
	
71
	private $_unitCode;
72
	
73
	public function setUnitCode($unitCode)
74
	{
75
	    $this->_unitCode = $unitCode;
76
	    
77
	    return $this;
78
	}
79
	
80
	public function getUnitCode()
81
	{
82
	    return $this->_unitCode;
83
	}
84
	
85
	private $_unitText;
86
	
87
	public function setUnitText($uniText)
88
	{
89
	    $this->_unitText = $uniText;
90
	    
91
	    return $this;
92
	}
93
	
94
	public function getUnitText()
95
	{
96
	    return $this->_unitText;
97
	}
98
	
99
	private $_value;
100
	
101
	public function setValue($value)
102
	{
103
	    $this->_value = $value;
104
	    
105
	    return $this;
106
	}
107
	
108
	public function getValue()
109
	{
110
	   return $this->_value;   
111
	}
112
}