List<ModelTagAndNote> result = new ArrayList<ModelTagAndNote>();
List<ModelTag> officialList = getItem().getOfficialTagList();
for (ModelTag tag : getItem().getTagList()) {
if (officialList.contains(tag)) {
result.add(table.createItem(new ModelTagAndNote(tag,getItem(),true)));
} else {
result.add(table.createItem(new ModelTagAndNote(tag,getItem(),false)));
}
}
return result;
}