if (freshlyRetrievedNote.isSetActive())
facet.active = freshlyRetrievedNote.isActive();
if (freshlyRetrievedNote.isSetAttributes()) {
final NoteAttributes attributes = freshlyRetrievedNote.getAttributes();
if (attributes.isSetAltitude())
facet.altitude = attributes.getAltitude();
if (attributes.isSetAuthor())
facet.author = attributes.getAuthor();
if (attributes.isSetContentClass())
facet.contentClass = attributes.getContentClass();
if (attributes.isSetCreatorId())
facet.creatorId = attributes.getCreatorId();
if (attributes.isSetLastEditedBy())
facet.lastEditedBy = attributes.getLastEditedBy();
if (attributes.isSetLastEditorId())
facet.lastEditorId = attributes.getLastEditorId();
if (attributes.isSetLatitude())
facet.latitude = attributes.getLatitude();
if (attributes.isSetLongitude())
facet.longitude = attributes.getLongitude();
if (attributes.isSetPlaceName())
facet.placeName = attributes.getPlaceName();
if (attributes.isSetReminderDoneTime())
facet.reminderDoneTime = attributes.getReminderDoneTime();
if (attributes.isSetReminderOrder())
facet.reminderOrder = attributes.getReminderOrder();
if (attributes.isSetReminderTime())
facet.reminderTime = attributes.getReminderTime();
if (attributes.isSetShareDate())
facet.shareDate = attributes.getShareDate();
if (attributes.isSetSource())
facet.source = attributes.getSource();
if (attributes.isSetSourceApplication())
facet.sourceApplication = attributes.getSourceApplication();
if (attributes.isSetSourceURL())
facet.sourceURL = attributes.getSourceURL();
if (attributes.isSetSubjectDate())
facet.subjectDate = attributes.getSubjectDate();
if (attributes.isSetLatitude()&&attributes.isSetLongitude()&&freshlyRetrievedNote.isSetCreated()){
addGuestLocation(updateInfo, facet.latitude, facet.longitude, facet.altitude, facet.created, facet.guid);
}
}
if (freshlyRetrievedNote.isSetDeleted()) {