Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 8ca61504

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

Added missing comments, code refactoring

re #9743

Zobrazit rozdíly:

backend/src/main/java/cz/zcu/kiv/backendapi/catalog/CatalogItem.java
63 63
    private String description = "";
64 64

  
65 65
    /**
66
     * Bibliography
66
     * Set of bibliography
67 67
     */
68 68
    @OneToMany(mappedBy = "catalogItem", cascade = CascadeType.ALL, orphanRemoval = true, fetch = FetchType.EAGER)
69 69
    @LazyCollection(LazyCollectionOption.FALSE)
......
72 72
    private Set<Bibliography> bibliography = new LinkedHashSet<>(0);
73 73

  
74 74
    /**
75
     * Countries
75
     * Set of countries
76 76
     */
77 77
    @OneToMany(mappedBy = "catalogItem", cascade = CascadeType.ALL, orphanRemoval = true, fetch = FetchType.EAGER)
78 78
    @LazyCollection(LazyCollectionOption.FALSE)
......
81 81
    private Set<Country> countries = new LinkedHashSet<>(0);
82 82

  
83 83
    /**
84
     * Written forms
84
     * Set of written forms
85 85
     */
86 86
    @OneToMany(mappedBy = "catalogItem", cascade = CascadeType.ALL, orphanRemoval = true, fetch = FetchType.EAGER)
87 87
    @LazyCollection(LazyCollectionOption.FALSE)
......
90 90
    private Set<WrittenForm> writtenForms = new LinkedHashSet<>(0);
91 91

  
92 92
    /**
93
     * All names
93
     * Set of all names
94 94
     */
95 95
    @OneToMany(mappedBy = "catalogItem", cascade = CascadeType.ALL, orphanRemoval = true, fetch = FetchType.EAGER)
96 96
    @LazyCollection(LazyCollectionOption.FALSE)
......
99 99
    private Set<CatalogItemName> allNames = new LinkedHashSet<>(0);
100 100

  
101 101
    /**
102
     * Set of user roles - many-to-many relationship
102
     * Set of types - many-to-many relationship
103 103
     */
104 104
    @ManyToMany(fetch = FetchType.EAGER)
105 105
    @Fetch(FetchMode.SUBSELECT)

Také k dispozici: Unified diff