Project

General

Profile

« Previous | Next » 

Revision 503e6c4e

Added by Patrick Plitzner almost 10 years ago

  • commented model changes for alternatve identifiers due to exceptions when connecting to data base #4275

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/IIdentifiableEntity.java
26 26

  
27 27
    /**
28 28
     * Sets the title cache without changing the <code>protectCache</code> flag.<BR><BR>
29
     * NOTE: Use with care. If this flag is <code>false</code> the <code>titleCache</code> may be 
29
     * NOTE: Use with care. If this flag is <code>false</code> the <code>titleCache</code> may be
30 30
     * recomputed with the next call of {@link #getTitleCache()}, which is automatically the case when
31 31
     * the object is persisted.
32 32
     * @see #setTitleCache(String, boolean)
......
34 34
     * @param titleCache
35 35
     * @deprecated this method only exists to be in line with the Java Beans Specification (JSR 220 or JSR 273) .
36 36
     * As it will set the {@link #isProtectedTitleCache() protected} flag to false the title cache value
37
     * may be automatically recomputed later. There are only very rare use cases were a programmer may 
37
     * may be automatically recomputed later. There are only very rare use cases were a programmer may
38 38
     * want to use this method directly.
39 39
     * Better use {@link #setTitleCache(String, boolean)} with second parameter <code>protectCache</code>
40 40
     * set to <code>true</code>.
......
46 46
     * Sets the title cache.<BR>
47 47
     * NOTE: In most cases the <code>protectCache</code> argument should be set to <code>true</code>.
48 48
     * See comments at {@link #setTitleCache(String)}
49
     * 
49
     *
50 50
     * @param titleCache the new title cache
51 51
     * @param protectCache the protect flag, <b>should in most cases be set to <code>true</code></b>
52 52
     */
......
55 55
    public boolean isProtectedTitleCache();
56 56

  
57 57
    public void setProtectedTitleCache(boolean protectedTitleCache);
58
    
58

  
59 59
    public Set<Rights> getRights();
60 60

  
61 61
    public void addRights(Rights right);
......
80 80

  
81 81
    public void removeExtension(Extension extension);
82 82

  
83
    public Set<Identifier> getIdentifiers();
84

  
85
    public void addIdentifier(Identifier identifier);
83
//    public Set<Identifier> getIdentifiers();
84
//
85
//    public void addIdentifier(Identifier identifier);
86
//
87
//    public void removeIdentifier(Identifier identifier);
86 88

  
87
    public void removeIdentifier(Identifier identifier);
88 89

  
89
    
90 90
    /**
91 91
     * Overrides {@link eu.etaxonomy.cdm.model.common.CdmBase#toString()}.
92 92
     * This returns an String that identifies the object well without beeing necessarily unique.
......
97 97
     * For example: Taxon#13<b5938a98-c1de-4dda-b040-d5cc5bfb3bc0>
98 98
     * @see java.lang.Object#toString()
99 99
     */
100
    @Override
100 101
    public String toString();
101 102

  
102 103
    public byte[] getData();

Also available in: Unified diff