| .. | .. |
|---|
| 49 | 49 | @OneToMany(fetch = FetchType.LAZY, mappedBy = "application") |
|---|
| 50 | 50 | private Set<LicenseType> licenseTypes; |
|---|
| 51 | 51 | |
|---|
| 52 | + @JsonIgnore |
|---|
| 53 | + // We don't include the referenced entities to limit the size of each row at |
|---|
| 54 | + // the listing |
|---|
| 55 | + @OneToMany(fetch = FetchType.LAZY, mappedBy = "application") |
|---|
| 56 | + private Set<ApplicationMetadata> metadata; |
|---|
| 57 | + |
|---|
| 52 | 58 | public int getId() { |
|---|
| 53 | 59 | return id; |
|---|
| 54 | 60 | } |
|---|
| .. | .. |
|---|
| 89 | 95 | this.licenseTypes = licenseTypes; |
|---|
| 90 | 96 | } |
|---|
| 91 | 97 | |
|---|
| 98 | + public Set<ApplicationMetadata> getApplicationMetadata() { |
|---|
| 99 | + return metadata; |
|---|
| 100 | + } |
|---|
| 101 | + |
|---|
| 102 | + public void setApplicationMetadata(Set<ApplicationMetadata> metadata) { |
|---|
| 103 | + this.metadata = metadata; |
|---|
| 104 | + } |
|---|
| 105 | + |
|---|
| 92 | 106 | } |
|---|