aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/at/gv/egovernment
diff options
context:
space:
mode:
authorharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2006-02-22 15:56:50 +0000
committerharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2006-02-22 15:56:50 +0000
commitc76afd324a3455e23b80499ed36dd14c96323e98 (patch)
tree203040f292d08ea57dc48f965cb77f420b93659f /id.server/src/at/gv/egovernment
parent9b787fe381f17d519bc744a0d9b8256becc38a35 (diff)
downloadmoa-id-spss-c76afd324a3455e23b80499ed36dd14c96323e98.tar.gz
moa-id-spss-c76afd324a3455e23b80499ed36dd14c96323e98.tar.bz2
moa-id-spss-c76afd324a3455e23b80499ed36dd14c96323e98.zip
"name" member als Verkettung von givenName und familyName
hinzugefĆ¼gt. git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@627 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/src/at/gv/egovernment')
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/auth/data/IdentityLink.java18
1 files changed, 17 insertions, 1 deletions
diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/data/IdentityLink.java b/id.server/src/at/gv/egovernment/moa/id/auth/data/IdentityLink.java
index 46a63ef34..27cefaa77 100644
--- a/id.server/src/at/gv/egovernment/moa/id/auth/data/IdentityLink.java
+++ b/id.server/src/at/gv/egovernment/moa/id/auth/data/IdentityLink.java
@@ -34,6 +34,11 @@ public class IdentityLink {
* family name
*/
private String familyName;
+
+ /**
+ * The name as (givenName + familyName)
+ */
+ private String name;
/**
* date of birth
*/
@@ -92,7 +97,18 @@ public class IdentityLink {
public String getGivenName() {
return givenName;
}
-
+
+ /**
+ * Returns the name.
+ * @return The name.
+ */
+ public String getName() {
+ if (name == null) {
+ name = givenName + " " + familyName;
+ }
+ return name;
+ }
+
/**
* Returns the identificationValue.
* <code>"identificationValue"</code> is the translation of <code>"Stammzahl"</code>.