def.getDateTimeResolution());
} else if (source instanceof PropertyDecimalDefinition) {
PropertyDecimalDefinition def = (PropertyDecimalDefinition) source;
if (def.getDefaultValue() != null) {
writeProperty(writer, new PropertyDecimalImpl(null, def.getDefaultValue()), true);
}
XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_PROPERTY_TYPE_MAX_VALUE, def.getMaxValue());
XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_PROPERTY_TYPE_MIN_VALUE, def.getMinValue());
XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_PROPERTY_TYPE_PRECISION, def.getPrecision());