-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add desription, backward-compatible constructor
- Loading branch information
Christian Strandenæs
committed
Aug 8, 2019
1 parent
05e17b1
commit 60a9852
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,8 +78,16 @@ public class Boligdetaljer implements DataType { | |
|
||
@XmlElement | ||
@Valid | ||
@Description("An optional ExternalLink prompting the user to perform an action on an external site") | ||
ExternalLink callToAction; | ||
|
||
public Boligdetaljer(Residence residence, List<Hjemmelshaver> hjemmelshavere, Integer bruksareal, Integer antallOppholdsrom, | ||
Integer antallBaderom, List<Omsetningshistorikk> omsetningshistorikk, String organisasjonsnummer, String bruksenhet, | ||
String andelsnummer, List<Heftelse> heftelser) { | ||
this(residence, hjemmelshavere, bruksareal, antallOppholdsrom, antallBaderom, omsetningshistorikk, organisasjonsnummer, | ||
bruksenhet, andelsnummer, heftelser, null); | ||
} | ||
|
||
public static Boligdetaljer EXAMPLE = new Boligdetaljer(Residence.EXAMPLE, | ||
Collections.singletonList(new Hjemmelshaver("Gunnar Gunnersen", "[email protected]")), | ||
59, 3, 4, | ||
|