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

future-architect / uroborosql / #711

pending completion
#711

push

HidekiSugimoto189
[maven-release-plugin] prepare for next development iteration

7913 of 8776 relevant lines covered (90.17%)

0.9 hits per line

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

0.0
/src/main/java/jp/co/future/uroborosql/mapping/Table.java
1
/**
2
 * Copyright (c) 2017-present, Future Corporation
3
 *
4
 * This source code is licensed under the MIT license found in the
5
 * LICENSE file in the root directory of this source tree.
6
 */
7
package jp.co.future.uroborosql.mapping;
8

9
import jp.co.future.uroborosql.utils.StringUtils;
10

11
/**
12
 * テーブル情報
13
 *
14
 * @author ota
15
 */
16
public interface Table {
17
        /**
18
         * テーブル名取得
19
         *
20
         * @return テーブル名
21
         */
22
        String getName();
23

24
        /**
25
         * スキーマ名取得
26
         *
27
         * @return スキーマ名
28
         */
29
        String getSchema();
30

31
        /**
32
         * テーブル識別名の取得
33
         *
34
         * @return テーブル識別名
35
         */
36
        default String getIdentifier() {
37
                if (StringUtils.isEmpty(getSchema())) {
×
38
                        return getName();
×
39
                } else {
40
                        return getSchema() + "." + getName();
×
41
                }
42
        }
43
}
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

© 2025 Coveralls, Inc