public EventBasedGateway newInstance(ModelTypeInstanceContext instanceContext) {
return new EventBasedGatewayImpl(instanceContext);
}
});
instantiateAttribute = typeBuilder.booleanAttribute(BPMN_ATTRIBUTE_INSTANTIATE)
.defaultValue(false)
.build();
eventGatewayTypeAttribute = typeBuilder.enumAttribute(BPMN_ATTRIBUTE_EVENT_GATEWAY_TYPE, EventBasedGatewayType.class)
.defaultValue(EventBasedGatewayType.Exclusive)