}
protected List<PreparedAttributes> preparedAttributes;
public void addPreparedAttributes(SerializedDataObject data, Object obj, NodeModel model,SerializeOptions options) {
if (preparedAttributes==null) preparedAttributes=new ArrayList<PreparedAttributes>();
TypeSystemConverter converter=TypeSystemConverterFactory.getInstance().getConverter();
Predicate fieldFilter=options==null?null:options.getFieldFilter();
if (data instanceof TaskData) preparedAttributes.add(new PreparedAttributes(data,obj,converter.getDirtyExtraFields(obj,fieldFilter),converter.getExposedTaskFields(fieldFilter),model));
else if (data instanceof AssignmentData) preparedAttributes.add(new PreparedAttributes(data,obj,converter.getDirtyExtraFields(obj,fieldFilter),converter.getExposedAssignmentFields(fieldFilter),model));
}