HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2015-09-11 f7a0389bc75bc7e33c4af2556fe0a782a00d5462
add name property to inetaddr
2 files modified
9 ■■■■■ changed files
hsarback/src/de/hsadmin/core/util/ReflectionUtil.java 1 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/pac/INetAddress.java 8 ●●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/core/util/ReflectionUtil.java
@@ -46,6 +46,7 @@
            } 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) {
hsarback/src/de/hsadmin/mods/pac/INetAddress.java
@@ -75,6 +75,14 @@
        this.inetAddr = inetAddr;
    }
    public String getName() {
        return inetAddr;
    }
    public void setName(String inetAddr) {
        this.inetAddr = inetAddr;
    }
    public String getDescription() {
        return description;
    }