easytests.core.models.empty.IssueStandardModelEmpty   A
last analyzed

Complexity

Total Complexity 14

Size/Duplication

Total Lines 69
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
c 1
b 0
f 0
loc 69
rs 10
wmc 14

14 Methods

Rating   Name   Duplication   Size   Complexity  
A setTimeLimit(Integer) 0 2 1
A setQuestionTypeOptions(List) 0 2 1
A IssueStandardModelEmpty(Integer) 0 2 1
A getTimeLimit() 0 1 1
A map(IssueStandardEntity) 0 2 1
A setSubject(SubjectModelInterface) 0 2 1
A setQuestionsNumber(Integer) 0 2 1
A getSubject() 0 1 1
A setId(Integer) 0 2 1
A setTopicPriorities(List) 0 2 1
A getTopicPriorities() 0 1 1
A getQuestionTypeOptions() 0 1 1
A getQuestionsNumber() 0 1 1
A IssueStandardModelEmpty() 0 ? 1
1
package easytests.core.models.empty;
2
3
import easytests.core.entities.IssueStandardEntity;
4
import easytests.core.models.*;
5
import easytests.core.models.exceptions.CallMethodOnEmptyModelException;
6
import java.util.List;
7
8
/**
9
 * @author SingularityA
10
 */
11
public class IssueStandardModelEmpty
12
        extends AbstractModelEmpty
13
        implements IssueStandardModelInterface {
14
15
    public IssueStandardModelEmpty() {
16
        super();
17
    }
18
19
    public IssueStandardModelEmpty(Integer id) {
20
        super(id);
21
    }
22
23
    @Override
24
    public void setId(Integer id) {
25
        throw new CallMethodOnEmptyModelException();
26
    }
27
28
    @Override
29
    public Integer getTimeLimit() {
30
        throw new CallMethodOnEmptyModelException();
31
    }
32
33
    @Override
34
    public void setTimeLimit(Integer timeLimit) {
35
        throw new CallMethodOnEmptyModelException();
36
    }
37
38
    @Override
39
    public Integer getQuestionsNumber() {
40
        throw new CallMethodOnEmptyModelException();
41
    }
42
43
    @Override
44
    public void setQuestionsNumber(Integer questionsNumber) {
45
        throw new CallMethodOnEmptyModelException();
46
    }
47
48
    @Override
49
    public List<IssueStandardTopicPriorityModelInterface> getTopicPriorities() {
50
        throw new CallMethodOnEmptyModelException();
51
    }
52
53
    @Override
54
    public void setTopicPriorities(List<IssueStandardTopicPriorityModelInterface> topicPriorities) {
55
        throw new CallMethodOnEmptyModelException();
56
    }
57
58
    @Override
59
    public List<IssueStandardQuestionTypeOptionModelInterface> getQuestionTypeOptions() {
60
        throw new CallMethodOnEmptyModelException();
61
    }
62
63
    @Override
64
    public void setQuestionTypeOptions(List<IssueStandardQuestionTypeOptionModelInterface> questionTypeOptions) {
65
        throw new CallMethodOnEmptyModelException();
66
    }
67
68
    @Override
69
    public SubjectModelInterface getSubject() {
70
        throw new CallMethodOnEmptyModelException();
71
    }
72
73
    @Override
74
    public void setSubject(SubjectModelInterface subject) {
75
        throw new CallMethodOnEmptyModelException();
76
    }
77
78
    @Override
79
    public void map(IssueStandardEntity issueStandardEntity) {
80
        throw new CallMethodOnEmptyModelException();
81
    }
82
}
83