From c76afd324a3455e23b80499ed36dd14c96323e98 Mon Sep 17 00:00:00 2001 From: "harald.bratko" Date: Wed, 22 Feb 2006 15:56:50 +0000 Subject: =?UTF-8?q?"name"=20member=20als=20Verkettung=20von=20givenName=20?= =?UTF-8?q?und=20familyName=20hinzugef=C3=BCgt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@627 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../gv/egovernment/moa/id/auth/data/IdentityLink.java | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) 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. * "identificationValue" is the translation of "Stammzahl". -- cgit v1.2.3