Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
@XmlRootElement(name = "identification")
public class Identification {

/**
* @deprecated no longer has any effect.
*/
@Deprecated
@XmlAttribute(name = "include-personalias-for-digipost-user")
protected boolean includePersonaliasForDigipostUser;

Expand All @@ -48,6 +52,10 @@ public Identification(final NameAndAddress nameAndAddress) {
this(nameAndAddress, false);
}

/**
* @deprecated use {@link #Identification(NameAndAddress)}.
*/
@Deprecated
public Identification(final NameAndAddress nameAndAddress, boolean includePersonaliasForDigipostUser) {
this.nameAndAddress = nameAndAddress;
this.includePersonaliasForDigipostUser = includePersonaliasForDigipostUser;
Expand All @@ -56,6 +64,10 @@ public Identification(final NameAndAddress nameAndAddress, boolean includePerson
public Identification(final DigipostAddress digipostAddress) {
this(digipostAddress, false);
}
/**
* @deprecated use {@link #Identification(DigipostAddress)}.
*/
@Deprecated
public Identification(final DigipostAddress digipostAddress, boolean includePersonaliasForDigipostUser) {
this.includePersonaliasForDigipostUser = includePersonaliasForDigipostUser;
this.digipostAddress = digipostAddress.asString();
Expand All @@ -64,6 +76,10 @@ public Identification(final DigipostAddress digipostAddress, boolean includePers
public Identification(final PersonalIdentificationNumber personalIdentificationNumber) {
this(personalIdentificationNumber, false);
}
/**
* @deprecated use {@link #Identification(PersonalIdentificationNumber)}.
*/
@Deprecated
public Identification(final PersonalIdentificationNumber personalIdentificationNumber, boolean includePersonaliasForDigipostUser) {
this.includePersonaliasForDigipostUser = includePersonaliasForDigipostUser;
this.personalIdentificationNumber = personalIdentificationNumber.asString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ public UnidentifiedReason getUnidentifiedReason() {
return unidentifiedReason;
}

/**
* @deprecated no longer returned by the API; always {@code null}.
*/
@Deprecated
public String getPersonAlias() {
return personAlias;
}
Expand Down
Loading