diff options
author | harald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2006-02-22 15:56:50 +0000 |
---|---|---|
committer | harald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2006-02-22 15:56:50 +0000 |
commit | c76afd324a3455e23b80499ed36dd14c96323e98 (patch) | |
tree | 203040f292d08ea57dc48f965cb77f420b93659f /id.server | |
parent | 9b787fe381f17d519bc744a0d9b8256becc38a35 (diff) | |
download | moa-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')
-rw-r--r-- | id.server/src/at/gv/egovernment/moa/id/auth/data/IdentityLink.java | 18 |
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>. |