diff --git a/hsarback/src/de/hsadmin/core/util/ReflectionUtil.java b/hsarback/src/de/hsadmin/core/util/ReflectionUtil.java index 5f86d88..4209e96 100644 --- a/hsarback/src/de/hsadmin/core/util/ReflectionUtil.java +++ b/hsarback/src/de/hsadmin/core/util/ReflectionUtil.java @@ -46,6 +46,7 @@ public class ReflectionUtil { } else if (valueObject instanceof AbstractEntity) { Class t = f.getType(); + System.out.println(t.getCanonicalName()); valueObject = invokeGetter((AbstractEntity) valueObject, t, t.getDeclaredField("name")); } } catch (Exception e) { diff --git a/hsarback/src/de/hsadmin/mods/pac/INetAddress.java b/hsarback/src/de/hsadmin/mods/pac/INetAddress.java index 6cb784b..e74d398 100644 --- a/hsarback/src/de/hsadmin/mods/pac/INetAddress.java +++ b/hsarback/src/de/hsadmin/mods/pac/INetAddress.java @@ -75,6 +75,14 @@ public class INetAddress extends AbstractEntity implements Serializable { this.inetAddr = inetAddr; } + public String getName() { + return inetAddr; + } + + public void setName(String inetAddr) { + this.inetAddr = inetAddr; + } + public String getDescription() { return description; }