Projekt

Obecné

Profil

« Předchozí | Další » 

Revize cf12d561

Přidáno uživatelem Jakub Šmíd před asi 2 roky(ů)

Catalog change
- one-to-many associations now persist order
- text for search persists separators

re #9751
re #9754

Zobrazit rozdíly:

backend/src/main/java/cz/zcu/kiv/backendapi/catalog/CatalogItemDto.java
5 5
import lombok.Data;
6 6
import lombok.NoArgsConstructor;
7 7

  
8
import java.util.Collections;
9
import java.util.Set;
8
import java.util.LinkedHashSet;
10 9
import java.util.UUID;
11 10

  
12 11
/**
......
28 27
    private String name = "";
29 28

  
30 29
    /**
31
     * Alternative names
30
     * All names
32 31
     */
33
    private Set<String> alternativeNames = Collections.emptySet();
32
    private LinkedHashSet<String> allNames = new LinkedHashSet<>();
34 33

  
35 34
    /**
36 35
     * Written forms
37 36
     */
38
    private Set<String> writtenForms = Collections.emptySet();
37
    private LinkedHashSet<String> writtenForms = new LinkedHashSet<>();
39 38

  
40 39
    /**
41 40
     * Types
42 41
     */
43
    private Set<String> types = Collections.emptySet();
42
    private LinkedHashSet<String> types = new LinkedHashSet<>();
44 43

  
45 44
    /**
46 45
     * Countries
47 46
     */
48
    private Set<String> countries = Collections.emptySet();
47
    private LinkedHashSet<String> countries = new LinkedHashSet<>();
49 48

  
50 49
    /**
51 50
     * Bibliography
52 51
     */
53
    private Set<String> bibliography = Collections.emptySet();
52
    private LinkedHashSet<String> bibliography = new LinkedHashSet<>();
54 53

  
55 54
    /**
56 55
     * Longitude

Také k dispozici: Unified diff