From a147c4406aea714e8fd130b81dc011192af6795f Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Fri, 11 Sep 2015 23:26:06 +0200 Subject: [PATCH] rename field to name --- hsarback/src/de/hsadmin/mods/pac/INetAddress.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hsarback/src/de/hsadmin/mods/pac/INetAddress.java b/hsarback/src/de/hsadmin/mods/pac/INetAddress.java index e74d398..bfaeff3 100644 --- a/hsarback/src/de/hsadmin/mods/pac/INetAddress.java +++ b/hsarback/src/de/hsadmin/mods/pac/INetAddress.java @@ -28,7 +28,7 @@ public class INetAddress extends AbstractEntity implements Serializable { private long id; @Column(name = "inet_addr", unique = true, length=-1) - private String inetAddr; + private String name; @Column(name = "description", columnDefinition = "character varying(100)") private String description; @@ -37,7 +37,7 @@ public class INetAddress extends AbstractEntity implements Serializable { } public INetAddress(String inetAddr) { - this.inetAddr = inetAddr; + this.name = inetAddr; } public INetAddress(String inetAddr, String desc) { @@ -68,19 +68,19 @@ public class INetAddress extends AbstractEntity implements Serializable { } public String getInetAddr() { - return inetAddr; + return name; } public void setInetAddr(String inetAddr) { - this.inetAddr = inetAddr; + this.name = inetAddr; } public String getName() { - return inetAddr; + return name; } public void setName(String inetAddr) { - this.inetAddr = inetAddr; + this.name = inetAddr; } public String getDescription() {