facetCreatedEvent.serverName = parse.getServerName();
facetCreatedEvent.connectorName = connectorName;
facetCreatedEvent.objectType = ObjectType.getObjectType(connector, facet.objectType).getName();
facetCreatedEvent.isLocalTime = facet instanceof AbstractLocalTimeFacet;
if (facet instanceof AbstractLocalTimeFacet) {
AbstractLocalTimeFacet localTimeFacet = (AbstractLocalTimeFacet)facet;
facetCreatedEvent.date = localTimeFacet.date;
}
facetCreatedEvent.start = facet.start;
facetCreatedEvent.end = facet.end;
facetCreatedEvent.description = facet.fullTextDescription;