class ServerIdentity implements ServerIdentityInterface {

    @JsonIgnore
    public final ServerIdentity setFromMap(Map<String, Object> map) {
        ParametersChecker.checkParameter("map", map);
        String svalue = getStringFromMap(map, MAP_KEYNAME.NAME.name());
        if (svalue != null) {
            name = svalue;
        }
        svalue = getStringFromMap(map, MAP_KEYNAME.ROLE.name());
        if (svalue != null) {
            role = svalue;
        }
        final Integer pid = getIntegerFromMap(map, MAP_KEYNAME.SERVERID.name());
        if (pid != null) {
            setServerId(pid.intValue());
        }
        final Integer sId = getIntegerFromMap(map, MAP_KEYNAME.SITEID.name());
        if (sId != null) {
            setSiteId(sId.intValue());
        }

        initializeCommentFormat();
        return this;
    }

    private  ServerIdentity();

}