getRight()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
c 1
b 0
f 0
cc 1
loc 1
rs 10
1
package easytests.core.models.empty;
2
3
import easytests.core.entities.AnswerEntity;
4
import easytests.core.models.AnswerModelInterface;
5
import easytests.core.models.QuestionModelInterface;
6
import easytests.core.models.exceptions.CallMethodOnEmptyModelException;
7
8
/**
9
 * @author rezenbekk
10
 */
11
public class AnswerModelEmpty extends AbstractModelEmpty implements AnswerModelInterface {
12
    public AnswerModelEmpty() {
13
        super();
14
    }
15
16
    public AnswerModelEmpty(Integer id) {
17
        super(id);
18
    }
19
20
    @Override
21
    public void setId(Integer id) {
22
        throw new CallMethodOnEmptyModelException();
23
    }
24
25
    @Override
26
    public String getTxt() {
27
        throw new CallMethodOnEmptyModelException();
28
    }
29
30
    @Override
31
    public void setTxt(String txt) {
32
        throw new CallMethodOnEmptyModelException();
33
    }
34
35
    @Override
36
    public QuestionModelInterface getQuestion() {
37
        throw new CallMethodOnEmptyModelException();
38
    }
39
40
    @Override
41
    public void setQuestion(QuestionModelInterface question) {
42
        throw new CallMethodOnEmptyModelException();
43
    }
44
45
    @Override
46
    public Integer getSerialNumber() {
47
        throw new CallMethodOnEmptyModelException();
48
    }
49
50
    @Override
51
    public void setSerialNumber(Integer serialNumber) {
52
        throw new CallMethodOnEmptyModelException();
53
    }
54
55
    @Override
56
    public Boolean getRight() {
57
        throw new CallMethodOnEmptyModelException();
58
    }
59
60
    @Override
61
    public void setRight(Boolean right) {
62
        throw new CallMethodOnEmptyModelException();
63
    }
64
65
    @Override
66
    public void map(AnswerEntity answerEntity) {
67
        throw new CallMethodOnEmptyModelException();
68
    }
69
}
70