*
* @param entity to get it for
* @return List of metadata Parameters to update
*/
public List<Parameter<?>> getUpdateParameters(Entity entity) {
MetadataComponent metadataComponent = entity.get(MetadataComponent.class);
if (metadataComponent == null) {
return Collections.emptyList();
} else {
return metadataComponent.getUpdateParameters();
}
}