public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(Activity), BPMN_ELEMENT_ACTIVITY).namespaceUri(BPMN20_NS).extendsType(typeof(FlowNode)).abstractType(); isForCompensationAttribute = typeBuilder.booleanAttribute(BPMN_ATTRIBUTE_IS_FOR_COMPENSATION).defaultValue(false).build(); startQuantityAttribute = typeBuilder.integerAttribute(BPMN_ATTRIBUTE_START_QUANTITY).defaultValue(1).build(); completionQuantityAttribute = typeBuilder.integerAttribute(BPMN_ATTRIBUTE_COMPLETION_QUANTITY).defaultValue(1).build(); defaultAttribute = typeBuilder.stringAttribute(BPMN_ATTRIBUTE_DEFAULT).idAttributeReference(typeof(SequenceFlow)).build(); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); ioSpecificationChild = sequenceBuilder.element(typeof(IoSpecification)).build(); propertyCollection = sequenceBuilder.elementCollection(typeof(Property)).build(); dataInputAssociationCollection = sequenceBuilder.elementCollection(typeof(DataInputAssociation)).build(); dataOutputAssociationCollection = sequenceBuilder.elementCollection(typeof(DataOutputAssociation)).build(); resourceRoleCollection = sequenceBuilder.elementCollection(typeof(ResourceRole)).build(); loopCharacteristicsChild = sequenceBuilder.element(typeof(LoopCharacteristics)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(Process), BPMN_ELEMENT_PROCESS).namespaceUri(BPMN20_NS).extendsType(typeof(CallableElement)).instanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); processTypeAttribute = typeBuilder.enumAttribute(BPMN_ATTRIBUTE_PROCESS_TYPE, typeof(ProcessType)).defaultValue(ProcessType.None).build(); isClosedAttribute = typeBuilder.booleanAttribute(BPMN_ATTRIBUTE_IS_CLOSED).defaultValue(false).build(); isExecutableAttribute = typeBuilder.booleanAttribute(BPMN_ATTRIBUTE_IS_EXECUTABLE).build(); // TODO: definitionalCollaborationRef SequenceBuilder sequenceBuilder = typeBuilder.sequence(); auditingChild = sequenceBuilder.element(typeof(Auditing)).build(); monitoringChild = sequenceBuilder.element(typeof(Monitoring)).build(); propertyCollection = sequenceBuilder.elementCollection(typeof(Property)).build(); laneSetCollection = sequenceBuilder.elementCollection(typeof(LaneSet)).build(); flowElementCollection = sequenceBuilder.elementCollection(typeof(FlowElement)).build(); artifactCollection = sequenceBuilder.elementCollection(typeof(Artifact)).build(); resourceRoleCollection = sequenceBuilder.elementCollection(typeof(ResourceRole)).build(); correlationSubscriptionCollection = sequenceBuilder.elementCollection(typeof(CorrelationSubscription)).build(); supportsCollection = sequenceBuilder.elementCollection(typeof(Supports)).qNameElementReferenceCollection(typeof(Process)).build(); /// <summary> /// camunda extensions </summary> camundaCandidateStarterGroupsAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_CANDIDATE_STARTER_GROUPS).@namespace(CAMUNDA_NS).build(); camundaCandidateStarterUsersAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_CANDIDATE_STARTER_USERS).@namespace(CAMUNDA_NS).build(); camundaJobPriorityAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_JOB_PRIORITY).@namespace(CAMUNDA_NS).build(); camundaTaskPriorityAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_TASK_PRIORITY).@namespace(CAMUNDA_NS).build(); camundaHistoryTimeToLiveAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_HISTORY_TIME_TO_LIVE).@namespace(CAMUNDA_NS).build(); camundaIsStartableInTasklistAttribute = typeBuilder.booleanAttribute(CAMUNDA_ATTRIBUTE_IS_STARTABLE_IN_TASKLIST).defaultValue(true).@namespace(CAMUNDA_NS).build(); camundaVersionTagAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_VERSION_TAG).@namespace(CAMUNDA_NS).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(DataAssociation), BPMN_ELEMENT_DATA_ASSOCIATION).namespaceUri(BPMN20_NS).extendsType(typeof(BaseElement)).instanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); sourceRefCollection = sequenceBuilder.elementCollection(typeof(SourceRef)).idElementReferenceCollection(typeof(ItemAwareElement)).build(); targetRefChild = sequenceBuilder.element(typeof(TargetRef)).required().idElementReference(typeof(ItemAwareElement)).build(); transformationChild = sequenceBuilder.element(typeof(Transformation)).build(); assignmentCollection = sequenceBuilder.elementCollection(typeof(Assignment)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(ResourceRole), BPMN_ELEMENT_RESOURCE_ROLE).namespaceUri(BPMN20_NS).extendsType(typeof(BaseElement)).instanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); nameAttribute = typeBuilder.stringAttribute(BPMN_ATTRIBUTE_NAME).build(); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); resourceRefChild = sequenceBuilder.element(typeof(ResourceRef)).qNameElementReference(typeof(Resource)).build(); resourceParameterBindingCollection = sequenceBuilder.elementCollection(typeof(ResourceParameterBinding)).build(); resourceAssignmentExpressionChild = sequenceBuilder.element(typeof(ResourceAssignmentExpression)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(FlowElement), BPMN_ELEMENT_FLOW_ELEMENT).namespaceUri(BPMN20_NS).extendsType(typeof(BaseElement)).abstractType(); nameAttribute = typeBuilder.stringAttribute(BPMN_ATTRIBUTE_NAME).build(); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); auditingChild = sequenceBuilder.element(typeof(Auditing)).build(); monitoringChild = sequenceBuilder.element(typeof(Monitoring)).build(); categoryValueRefCollection = sequenceBuilder.elementCollection(typeof(CategoryValueRef)).qNameElementReferenceCollection(typeof(CategoryValue)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(Operation), BPMN_ELEMENT_OPERATION).namespaceUri(BPMN20_NS).extendsType(typeof(BaseElement)).instanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); nameAttribute = typeBuilder.stringAttribute(BPMN_ATTRIBUTE_NAME).required().build(); implementationRefAttribute = typeBuilder.stringAttribute(BPMN_ELEMENT_IMPLEMENTATION_REF).build(); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); inMessageRefChild = sequenceBuilder.element(typeof(InMessageRef)).required().qNameElementReference(typeof(Message)).build(); outMessageRefChild = sequenceBuilder.element(typeof(OutMessageRef)).qNameElementReference(typeof(Message)).build(); errorRefCollection = sequenceBuilder.elementCollection(typeof(ErrorRef)).qNameElementReferenceCollection(typeof(Error)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(Bird), ELEMENT_NAME_BIRD).namespaceUri(MODEL_NAMESPACE).extendsType(typeof(FlyingAnimal)).instanceProvider(new ModelElementTypeBuilder_ModelTypeInstanceProviderAnonymousInnerClass()); SequenceBuilder sequence = typeBuilder.sequence(); eggColl = sequence.elementCollection(typeof(Egg)).minOccurs(0).maxOccurs(6).build(); spouseRefsColl = sequence.element(typeof(SpouseRef)).qNameElementReference(typeof(Bird)).build(); guardEggRefCollection = sequence.elementCollection(typeof(GuardEgg)).idsElementReferenceCollection(typeof(Egg)).build(); canHazExtendedWings_Renamed = typeBuilder.booleanAttribute("canHazExtendedWings").@namespace(TestModelConstants.NEWER_NAMESPACE).build(); wings = sequence.element(typeof(Wings)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(Lane), BPMN_ELEMENT_LANE).namespaceUri(BPMN20_NS).extendsType(typeof(BaseElement)).instanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); nameAttribute = typeBuilder.stringAttribute(BPMN_ATTRIBUTE_NAME).build(); partitionElementRefAttribute = typeBuilder.stringAttribute(BPMN_ATTRIBUTE_PARTITION_ELEMENT_REF).qNameAttributeReference(typeof(PartitionElement)).build(); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); partitionElementChild = sequenceBuilder.element(typeof(PartitionElement)).build(); flowNodeRefCollection = sequenceBuilder.elementCollection(typeof(FlowNodeRef)).idElementReferenceCollection(typeof(FlowNode)).build(); childLaneSetChild = sequenceBuilder.element(typeof(ChildLaneSet)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(BpmnDiagram), BPMNDI_ELEMENT_BPMN_DIAGRAM).namespaceUri(BPMNDI_NS).extendsType(typeof(Diagram)).instanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); bpmnPlaneChild = sequenceBuilder.element(typeof(BpmnPlane)).required().build(); bpmnLabelStyleCollection = sequenceBuilder.elementCollection(typeof(BpmnLabelStyle)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(Animals), ELEMENT_NAME_ANIMALS).namespaceUri(MODEL_NAMESPACE).instanceProvider(new ModelElementTypeBuilder_ModelTypeInstanceProviderAnonymousInnerClass()); SequenceBuilder sequence = typeBuilder.sequence(); descriptionChild = sequence.element(typeof(Description)).build(); animalColl = sequence.elementCollection(typeof(Animal)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(Egg), ELEMENT_NAME_EGG).namespaceUri(MODEL_NAMESPACE).instanceProvider(new ModelElementTypeBuilder_ModelTypeInstanceProviderAnonymousInnerClass()); idAttr = typeBuilder.stringAttribute(ATTRIBUTE_NAME_ID).idAttribute().build(); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); motherRefChild = sequenceBuilder.element(typeof(Mother)).uriElementReference(typeof(Animal)).build(); guardianRefCollection = sequenceBuilder.elementCollection(typeof(Guardian)).uriElementReferenceCollection(typeof(Animal)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(FlyingAnimal), TYPE_NAME_FLYING_ANIMAL).namespaceUri(MODEL_NAMESPACE).extendsType(typeof(Animal)).abstractType(); wingspanAttribute = typeBuilder.doubleAttribute(ATTRIBUTE_NAME_WINGSPAN).build(); SequenceBuilder sequence = typeBuilder.sequence(); flightInstructorChild = sequence.element(typeof(FlightInstructor)).idElementReference(typeof(FlyingAnimal)).build(); flightPartnerRefsColl = sequence.elementCollection(typeof(FlightPartnerRef)).idElementReferenceCollection(typeof(FlyingAnimal)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder bpmnModelBuilder) { ModelElementTypeBuilder typeBuilder = bpmnModelBuilder.defineType(typeof(BaseElement), BPMN_ELEMENT_BASE_ELEMENT).namespaceUri(BPMN20_NS).abstractType(); idAttribute = typeBuilder.stringAttribute(BPMN_ATTRIBUTE_ID).idAttribute().build(); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); documentationCollection = sequenceBuilder.elementCollection(typeof(Documentation)).build(); extensionElementsChild = sequenceBuilder.element(typeof(ExtensionElements)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(LinkEventDefinition), BPMN_ELEMENT_LINK_EVENT_DEFINITION).namespaceUri(BPMN20_NS).extendsType(typeof(EventDefinition)).instanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); nameAttribute = typeBuilder.stringAttribute(BPMN_ATTRIBUTE_NAME).required().build(); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); sourceCollection = sequenceBuilder.elementCollection(typeof(Source)).qNameElementReferenceCollection(typeof(LinkEventDefinition)).build(); targetChild = sequenceBuilder.element(typeof(Target)).qNameElementReference(typeof(LinkEventDefinition)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(CamundaFormField), CAMUNDA_ELEMENT_FORM_FIELD).namespaceUri(CAMUNDA_NS).instanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); camundaIdAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_ID).@namespace(CAMUNDA_NS).build(); camundaLabelAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_LABEL).@namespace(CAMUNDA_NS).build(); camundaTypeAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_TYPE).@namespace(CAMUNDA_NS).build(); camundaDatePatternAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_DATE_PATTERN).@namespace(CAMUNDA_NS).build(); camundaDefaultValueAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_DEFAULT_VALUE).@namespace(CAMUNDA_NS).build(); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); camundaPropertiesChild = sequenceBuilder.element(typeof(CamundaProperties)).build(); camundaValidationChild = sequenceBuilder.element(typeof(CamundaValidation)).build(); camundaValueCollection = sequenceBuilder.elementCollection(typeof(CamundaValue)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder bpmnModelBuilder) { ModelElementTypeBuilder typeBuilder = bpmnModelBuilder.defineType(typeof(CallableElement), BPMN_ELEMENT_CALLABLE_ELEMENT).namespaceUri(BPMN20_NS).extendsType(typeof(RootElement)).instanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); nameAttribute = typeBuilder.stringAttribute(BPMN_ATTRIBUTE_NAME).build(); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); supportedInterfaceRefCollection = sequenceBuilder.elementCollection(typeof(SupportedInterfaceRef)).qNameElementReferenceCollection(typeof(Interface)).build(); ioSpecificationChild = sequenceBuilder.element(typeof(IoSpecification)).build(); ioBindingCollection = sequenceBuilder.elementCollection(typeof(IoBinding)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(ConditionalEventDefinition), BPMN_ELEMENT_CONDITIONAL_EVENT_DEFINITION).namespaceUri(BPMN20_NS).extendsType(typeof(EventDefinition)).instanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); conditionChild = sequenceBuilder.element(typeof(Condition)).required().build(); /// <summary> /// camunda extensions </summary> camundaVariableName = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_VARIABLE_NAME).@namespace(CAMUNDA_NS).build(); camundaVariableEvents = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_VARIABLE_EVENTS).@namespace(CAMUNDA_NS).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(ThrowEvent), BPMN_ELEMENT_THROW_EVENT).namespaceUri(BPMN20_NS).extendsType(typeof(Event)).abstractType(); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); dataInputCollection = sequenceBuilder.elementCollection(typeof(DataInput)).build(); dataInputAssociationCollection = sequenceBuilder.elementCollection(typeof(DataInputAssociation)).build(); inputSetChild = sequenceBuilder.element(typeof(InputSet)).build(); eventDefinitionCollection = sequenceBuilder.elementCollection(typeof(EventDefinition)).build(); eventDefinitionRefCollection = sequenceBuilder.elementCollection(typeof(EventDefinitionRef)).qNameElementReferenceCollection(typeof(EventDefinition)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(Participant), BPMN_ELEMENT_PARTICIPANT).namespaceUri(BPMN20_NS).extendsType(typeof(BaseElement)).instanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); nameAttribute = typeBuilder.stringAttribute(BPMN_ATTRIBUTE_NAME).build(); processRefAttribute = typeBuilder.stringAttribute(BPMN_ATTRIBUTE_PROCESS_REF).qNameAttributeReference(typeof(Process)).build(); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); interfaceRefCollection = sequenceBuilder.elementCollection(typeof(InterfaceRef)).qNameElementReferenceCollection(typeof(Interface)).build(); endPointRefCollection = sequenceBuilder.elementCollection(typeof(EndPointRef)).qNameElementReferenceCollection(typeof(EndPoint)).build(); participantMultiplicityChild = sequenceBuilder.element(typeof(ParticipantMultiplicity)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(CamundaTaskListener), CAMUNDA_ELEMENT_TASK_LISTENER).namespaceUri(CAMUNDA_NS).instanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); camundaEventAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_EVENT).@namespace(CAMUNDA_NS).build(); camundaClassAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_CLASS).@namespace(CAMUNDA_NS).build(); camundaExpressionAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_EXPRESSION).@namespace(CAMUNDA_NS).build(); camundaDelegateExpressionAttribute = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_DELEGATE_EXPRESSION).@namespace(CAMUNDA_NS).build(); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); camundaFieldCollection = sequenceBuilder.elementCollection(typeof(CamundaField)).build(); camundaScriptChild = sequenceBuilder.element(typeof(CamundaScript)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(CatchEvent), BPMN_ELEMENT_CATCH_EVENT).namespaceUri(BPMN20_NS).extendsType(typeof(Event)).abstractType(); parallelMultipleAttribute = typeBuilder.booleanAttribute(BPMN_ATTRIBUTE_PARALLEL_MULTIPLE).defaultValue(false).build(); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); dataOutputCollection = sequenceBuilder.elementCollection(typeof(DataOutput)).build(); dataOutputAssociationCollection = sequenceBuilder.elementCollection(typeof(DataOutputAssociation)).build(); outputSetChild = sequenceBuilder.element(typeof(OutputSet)).build(); eventDefinitionCollection = sequenceBuilder.elementCollection(typeof(EventDefinition)).build(); eventDefinitionRefCollection = sequenceBuilder.elementCollection(typeof(EventDefinitionRef)).qNameElementReferenceCollection(typeof(EventDefinition)).build(); typeBuilder.build(); }
public static void registerType(ModelBuilder modelBuilder) { ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(typeof(MultiInstanceLoopCharacteristics), BPMN_ELEMENT_MULTI_INSTANCE_LOOP_CHARACTERISTICS).namespaceUri(BPMN20_NS).extendsType(typeof(LoopCharacteristics)).instanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); isSequentialAttribute = typeBuilder.booleanAttribute(BPMN_ELEMENT_IS_SEQUENTIAL).defaultValue(false).build(); behaviorAttribute = typeBuilder.enumAttribute(BPMN_ELEMENT_BEHAVIOR, typeof(MultiInstanceFlowCondition)).defaultValue(MultiInstanceFlowCondition.All).build(); oneBehaviorEventRefAttribute = typeBuilder.stringAttribute(BPMN_ELEMENT_ONE_BEHAVIOR_EVENT_REF).qNameAttributeReference(typeof(EventDefinition)).build(); noneBehaviorEventRefAttribute = typeBuilder.stringAttribute(BPMN_ELEMENT_NONE_BEHAVIOR_EVENT_REF).qNameAttributeReference(typeof(EventDefinition)).build(); SequenceBuilder sequenceBuilder = typeBuilder.sequence(); loopCardinalityChild = sequenceBuilder.element(typeof(LoopCardinality)).build(); loopDataInputRefChild = sequenceBuilder.element(typeof(LoopDataInputRef)).qNameElementReference(typeof(DataInput)).build(); loopDataOutputRefChild = sequenceBuilder.element(typeof(LoopDataOutputRef)).qNameElementReference(typeof(DataOutput)).build(); outputDataItemChild = sequenceBuilder.element(typeof(OutputDataItem)).build(); inputDataItemChild = sequenceBuilder.element(typeof(InputDataItem)).build(); complexBehaviorDefinitionCollection = sequenceBuilder.elementCollection(typeof(ComplexBehaviorDefinition)).build(); completionConditionChild = sequenceBuilder.element(typeof(CompletionCondition)).build(); camundaAsyncAfter = typeBuilder.booleanAttribute(CAMUNDA_ATTRIBUTE_ASYNC_AFTER).@namespace(CAMUNDA_NS).defaultValue(false).build(); camundaAsyncBefore = typeBuilder.booleanAttribute(CAMUNDA_ATTRIBUTE_ASYNC_BEFORE).@namespace(CAMUNDA_NS).defaultValue(false).build(); camundaExclusive = typeBuilder.booleanAttribute(CAMUNDA_ATTRIBUTE_EXCLUSIVE).@namespace(CAMUNDA_NS).defaultValue(true).build(); camundaCollection = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_COLLECTION).@namespace(CAMUNDA_NS).build(); camundaElementVariable = typeBuilder.stringAttribute(CAMUNDA_ATTRIBUTE_ELEMENT_VARIABLE).@namespace(CAMUNDA_NS).build(); typeBuilder.build(); }