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

Complexity

Total Complexity 10

Size/Duplication

Total Lines 49
Duplicated Lines 0 %

Importance

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

14 Methods

Rating   Name   Duplication   Size   Complexity  
getTopic 0 1 ?
setTopic 0 2 ?
setIsPreferable 0 2 ?
getIsPreferable 0 1 ?
A getTopic() 0 1 1
A IssueStandardTopicPriorityModelEmpty(Integer) 0 2 1
A getIsPreferable() 0 1 1
A setIssueStandard(IssueStandardModelInterface) 0 2 1
A map(IssueStandardTopicPriorityEntity) 0 2 1
A setTopic(TopicModelInterface) 0 2 1
A setId(Integer) 0 2 1
A setIsPreferable(Boolean) 0 2 1
A getIssueStandard() 0 1 1
A IssueStandardTopicPriorityModelEmpty() 0 ? 1
1
package easytests.core.models.empty;
2
3
import easytests.core.entities.IssueStandardTopicPriorityEntity;
4
import easytests.core.models.IssueStandardModelInterface;
5
import easytests.core.models.IssueStandardTopicPriorityModelInterface;
6
import easytests.core.models.TopicModelInterface;
7
import easytests.core.models.exceptions.CallMethodOnEmptyModelException;
8
9
/**
10
 * @author SingularityA
11
 */
12
public class IssueStandardTopicPriorityModelEmpty
13
        extends AbstractModelEmpty
14
        implements IssueStandardTopicPriorityModelInterface {
15
16
    public IssueStandardTopicPriorityModelEmpty() {
17
        super();
18
    }
19
20
    public IssueStandardTopicPriorityModelEmpty(Integer id) {
21
        super(id);
22
    }
23
24
    @Override
25
    public void setId(Integer id) {
26
        throw new CallMethodOnEmptyModelException();
27
    }
28
29
    @Override
30
    public TopicModelInterface getTopic() {
31
        throw new CallMethodOnEmptyModelException();
32
    }
33
34
    @Override
35
    public void setTopic(TopicModelInterface topic) {
36
        throw new CallMethodOnEmptyModelException();
37
    }
38
39
    @Override
40
    public Boolean getIsPreferable() {
41
        throw new CallMethodOnEmptyModelException();
42
    }
43
44
    @Override
45
    public void setIsPreferable(Boolean isPreferable) {
46
        throw new CallMethodOnEmptyModelException();
47
    }
48
49
    @Override
50
    public IssueStandardModelInterface getIssueStandard() {
51
        throw new CallMethodOnEmptyModelException();
52
    }
53
54
    @Override
55
    public void setIssueStandard(IssueStandardModelInterface issueStandard) {
56
        throw new CallMethodOnEmptyModelException();
57
    }
58
59
    @Override
60
    public void map(IssueStandardTopicPriorityEntity topicPriorityEntity) {
61
        throw new CallMethodOnEmptyModelException();
62
    }
63
}
64