Project

General

Profile

Download (1.11 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
 * Copyright (C) 2015 EDIT
4
 * European Distributed Institute of Taxonomy
5
 * http://www.e-taxonomy.eu
6
 *
7
 * The contents of this file are subject to the Mozilla Public License Version 1.1
8
 * See LICENSE.TXT at the top of this package for the full license terms.
9
 */
10
package eu.etaxonomy.cdm.persistence.dto;
11

    
12
import java.util.Set;
13

    
14
import eu.etaxonomy.cdm.model.common.Representation;
15
import eu.etaxonomy.cdm.model.common.TermBase;
16

    
17
/**
18
 * @author andreas
19
 * @date Mar 25, 2015
20
 *
21
 */
22
public interface ITermRepresentation_L10n {
23

    
24
    /**
25
     * @return the label
26
     */
27
    public abstract String getLabel();
28

    
29
    /**
30
     * @return the abbreviatedLabel
31
     */
32
    public abstract String getAbbreviatedLabel();
33

    
34
    /**
35
     * Derives the localized representations from the given term and sets
36
     * the according fields of the  TermRepresentation_L10n instance
37
     *
38
     * @param term
39
     * @param useInverseRepresentation
40
     */
41
    public abstract void localize(TermBase term, boolean useInverseRepresentation);
42

    
43
    /**
44
     * @param representations
45
     */
46
    void localize(Set<Representation> representations);
47

    
48
}
(1-1/4)