public void setStat(Stat stat) {
        if (stat == null) {
            System.out.println("stat null");
            this.aversion.setValue("");
            this.ctime.setValue("");
            this.cversion.setValue("");
            this.czxid.setValue("");
            this.dataLength.setValue("");
            this.ephemeralOwner.setValue("");
            this.mtime.setValue("");
            this.mzxid.setValue("");
            this.numChildren.setValue("");
            this.pzxid.setValue("");
            this.version.setValue("");
        } else {
            System.out.println("stat = " + stat);

            this.aversion.setValue(String.valueOf(stat.getAversion()));
            this.ctime.setValue(this.DATE_FORMAT.format(new Date(stat
                    .getCtime())));
            this.cversion.setValue(String.valueOf(stat.getCversion()));
            this.czxid.setValue(String.valueOf(stat.getCzxid()));
            this.dataLength.setValue(String.valueOf(stat.getDataLength()));
            this.ephemeralOwner.setValue(String.valueOf(stat
                    .getEphemeralOwner()));
            this.mtime.setValue(this.DATE_FORMAT.format(new Date(stat
                    .getMtime())));
            this.mzxid.setValue(String.valueOf(stat.getMzxid()));
            this.numChildren.setValue(String.valueOf(stat.getNumChildren()));
            this.pzxid.setValue(String.valueOf(stat.getPzxid()));
            this.version.setValue(String.valueOf(stat.getVersion()));
        }
    }