Project

General

Profile

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

    
11
import java.util.Set;
12

    
13
import eu.etaxonomy.cdm.model.term.Representation;
14
import eu.etaxonomy.cdm.model.term.TermBase;
15

    
16
/**
17
 * @author andreas
18
 * @since Mar 25, 2015
19
 */
20
public interface ITermRepresentation_L10n {
21

    
22
    public abstract String getLabel();
23

    
24
    public abstract String getAbbreviatedLabel();
25

    
26
    public abstract String getText();
27

    
28
    public String getLanguageIso();
29

    
30
    public String getLanguageUuid();
31

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

    
41
    void localize(Set<Representation> representations);
42

    
43
}
(11-11/30)