Skip to content

Commit

Permalink
#550 Added personId field to PersonIdentifier and updated javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Possommi committed Nov 4, 2024
1 parent 5676bfe commit e3b5b00
Showing 1 changed file with 29 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,23 +1,49 @@
package de.uni_jena.thunibib.his.api.v1.cs.psv;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import de.uni_jena.thunibib.his.api.v1.cs.sys.values.SysValue;

/**
* Path: <code>/api/v1/cs/psv/person/identifier
*
* At least one of these rights: RIGHT_CS_PSV_PERSON_VIEW_PERSON_IDENTIFIER
* At least these rights: RIGHT_CS_PSV_PERSON_VIEW_PERSON_IDENTIFIER, RIGHT_CS_PSV_PERSON_VIEW_PERSON_MAINDATA
*
* @author shermann (Silvio Hermann)
* */
@JsonIgnoreProperties(ignoreUnknown = true)
public class PersonIdentifier extends SysValue {

public static String getValueParamaterName() {
@JsonProperty("personId")
private int personId;

@JsonProperty("identifierValue")
private String identifierValue;

@JsonProperty("identifierType")
private String identifierType;

public static String getValueParameterName() {
return "identifierValue";
}

public static String getTypeParamaterName() {
public static String getTypeParameterName() {
return "typeUniquename";
}

public static String getPath() {
return "cs/psv/person/identifier";
}

public int getPersonId() {
return personId;
}

public String getIdentifierValue() {
return identifierValue;
}

public String getIdentifierType() {
return identifierType;
}
}

0 comments on commit e3b5b00

Please sign in to comment.