SettingsInfo settingsInfo) {
WorkspaceInfo workspaceInfo = settingsInfo.getWorkspace();
properties.put("workspaceName",
settingsInfo.getWorkspace() != null ? workspaceInfo.getName()
: "NO_WORKSPACE");
ContactInfo contactInfo = settingsInfo.getContact();
properties.put("contactPerson",
contactInfo.getContactPerson() != null ? contactInfo.getContactPerson()
: "");
properties.put(
"contactOrganization",
contactInfo.getContactOrganization() != null ? contactInfo
.getContactOrganization() : "");
properties.put(
"contactPosition",
contactInfo.getContactPosition() != null ? contactInfo
.getContactPosition() : "");
properties.put("addressType",
contactInfo.getAddressType() != null ? contactInfo.getAddressType()
: "");
properties.put("address",
contactInfo.getAddress() != null ? contactInfo.getAddress() : "");
properties.put("addressCity",
contactInfo.getAddressCity() != null ? contactInfo.getAddressCity()
: "");
properties.put("addressState",
contactInfo.getAddressState() != null ? contactInfo.getAddressState()
: "");
properties.put(
"addressPostalCode",
contactInfo.getAddressPostalCode() != null ? contactInfo
.getAddressPostalCode() : "");
properties.put(
"addressCountry",
contactInfo.getAddressCountry() != null ? contactInfo
.getAddressCountry() : "");
properties.put("contactVoice",
contactInfo.getContactVoice() != null ? contactInfo.getContactVoice()
: "");
properties.put(
"contactFacsimile",
contactInfo.getContactFacsimile() != null ? contactInfo
.getContactFacsimile() : "");
properties.put("contactEmail",
contactInfo.getContactEmail() != null ? contactInfo.getContactEmail()
: "");
properties.put("verbose", settingsInfo.isVerbose() ? "true" : "false");
properties.put("verboseExceptions", settingsInfo.isVerboseExceptions() ? "true"
: "false");
properties.put("numDecimals", String.valueOf(settingsInfo.getNumDecimals()));