• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mybatis / generator / 1947

14 Jan 2026 02:31PM UTC coverage: 88.838% (+0.04%) from 88.799%
1947

push

github

web-flow
Merge pull request #1411 from mybatis/renovate/github-codeql-action-digest

Update github/codeql-action digest to cdefb33

2347 of 3184 branches covered (73.71%)

11517 of 12964 relevant lines covered (88.84%)

0.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.33
/core/mybatis-generator-core/src/main/java/org/mybatis/generator/api/GeneratedXmlFile.java
1
/*
2
 *    Copyright 2006-2026 the original author or authors.
3
 *
4
 *    Licensed under the Apache License, Version 2.0 (the "License");
5
 *    you may not use this file except in compliance with the License.
6
 *    You may obtain a copy of the License at
7
 *
8
 *       https://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 *    Unless required by applicable law or agreed to in writing, software
11
 *    distributed under the License is distributed on an "AS IS" BASIS,
12
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 *    See the License for the specific language governing permissions and
14
 *    limitations under the License.
15
 */
16
package org.mybatis.generator.api;
17

18
import org.mybatis.generator.api.dom.xml.Document;
19

20
public class GeneratedXmlFile extends GeneratedFile {
21

22
    private final Document document;
23

24
    private final String fileName;
25

26
    private final String targetPackage;
27

28
    private boolean isMergeable;
29

30
    public GeneratedXmlFile(Document document, String fileName,
31
            String targetPackage, String targetProject, boolean isMergeable) {
32
        super(targetProject);
1✔
33
        this.document = document;
1✔
34
        this.fileName = fileName;
1✔
35
        this.targetPackage = targetPackage;
1✔
36
        this.isMergeable = isMergeable;
1✔
37
    }
1✔
38

39
    @Override
40
    public String getFileName() {
41
        return fileName;
1✔
42
    }
43

44
    @Override
45
    public String getTargetPackage() {
46
        return targetPackage;
×
47
    }
48

49
    @Override
50
    public boolean isMergeable() {
51
        return isMergeable;
×
52
    }
53

54
    public Document getDocument() {
55
        return document;
1✔
56
    }
57

58
    public void setMergeable(boolean isMergeable) {
59
        this.isMergeable = isMergeable;
1✔
60
    }
1✔
61
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc