.extendsType(FlowElement.class)
.abstractType();
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
incomingCollection = sequenceBuilder.elementCollection(Incoming.class)
.qNameElementReferenceCollection(SequenceFlow.class)
.build();
outgoingCollection = sequenceBuilder.elementCollection(Outgoing.class)
.qNameElementReferenceCollection(SequenceFlow.class)