From bd15213309911fa8691d81ba935157e060cbb0b2 Mon Sep 17 00:00:00 2001 From: benan Date: Thu, 1 Mar 2012 13:38:30 +0200 Subject: [PATCH] Update idmconsole/src/main/java/org/jboss/seam/security/examples/idmconsole/model/IdentityObject.java --- .../idmconsole/model/IdentityObject.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/idmconsole/src/main/java/org/jboss/seam/security/examples/idmconsole/model/IdentityObject.java b/idmconsole/src/main/java/org/jboss/seam/security/examples/idmconsole/model/IdentityObject.java index ae2a98b..cab3698 100644 --- a/idmconsole/src/main/java/org/jboss/seam/security/examples/idmconsole/model/IdentityObject.java +++ b/idmconsole/src/main/java/org/jboss/seam/security/examples/idmconsole/model/IdentityObject.java @@ -25,6 +25,8 @@ public class IdentityObject implements Serializable { private Long id; @IdentityProperty(PropertyType.NAME) private String name; + @IdentityProperty(attributeName = FIRST_NAME, value = PropertyType.ATTRIBUTE) + @IdentityProperty(attributeName = LAST_NAME, value = PropertyType.ATTRIBUTE) private IdentityObjectType type; @Id @@ -56,5 +58,21 @@ public IdentityObjectType getType() { public void setType(IdentityObjectType type) { this.type = type; } + + public String getFirstName() { + return firstName; + } + + public void setFirstName(String firstName) { + this.firstName = firstName; + } + + public String getLastName() { + return lastName; + } + + public void setLastName(String lastName) { + this.lastName = lastName; + } }