That class is just a data holder, so all updates have to go through the ShareManager class. The share types actually define any special handling of properties if any. For example setPassword in the link share type hashes the password before storing it.