Project

General

Profile

« Previous | Next » 

Revision 815a9015

Added by Katja Luther about 6 years ago

adapted deleteResult

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dto/UuidAndTitleCache.java
41 41

  
42 42
    public UuidAndTitleCache(UUID uuid, Integer id, String titleCache, String abbrevTitleCache) {
43 43
        this.uuid = uuid;
44
        this.titleCache = titleCache;
44
        this.setTitleCache(titleCache);
45 45
        this.id = id;
46 46
        this.abbrevTitleCache = abbrevTitleCache;
47 47
    }
48 48
    public UuidAndTitleCache(UUID uuid, Integer id, String titleCache) {
49 49
        this.uuid = uuid;
50
        this.titleCache = titleCache;
50
        this.setTitleCache(titleCache);
51 51
        this.id = id;
52 52
        this.abbrevTitleCache = null;
53 53
    }
......
111 111

  
112 112
    @Override
113 113
    public String toString() {
114
        return "UuidAndTitleCache [type= " + type + ", uuid= " + uuid + ", id=" + id + ", titleCache= " + titleCache
114
        return "UuidAndTitleCache [type= " + type + ", uuid= " + uuid + ", id=" + id + ", titleCache= " + getTitleCache()
115 115
                + ", isOrphaned=" + isOrphaned + ", abbrevTitleCache= " + abbrevTitleCache +"]";
116 116
    }
117
    public void setTitleCache(String titleCache) {
118
        this.titleCache = titleCache;
119
    }
117 120

  
118 121

  
119 122
}

Also available in: Unified diff