// empty properties are invalid
if (isEmptyProperty(prop)) {
throw new CmisConstraintException("Property '" + prop.getId() + "' must not be empty!");
}
newProperties.addProperty(prop);
}
}
addPropertyId(newProperties, typeId, null, PropertyIds.OBJECT_TYPE_ID, typeId);
addPropertyString(newProperties, typeId, null, PropertyIds.CREATED_BY, context.getUsername());