public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IProperty>(/*typeof(IProperty),*/ BpmnModelConstants.BpmnElementProperty) .NamespaceUri(BpmnModelConstants.Bpmn20Ns) .ExtendsType(typeof(IItemAwareElement)) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); NameAttribute = typeBuilder.StringAttribute(BpmnModelConstants.BpmnAttributeName).Build(); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <ICategoryValue>(/*typeof(ICategoryValue),*/ BpmnModelConstants.BpmnElementCategoryValue) .NamespaceUri(BpmnModelConstants.Bpmn20Ns) .ExtendsType(typeof(IBaseElement)) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); ValueAttribute = typeBuilder.StringAttribute(BpmnModelConstants.BpmnAttributeValue).Build(); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <ITask>(/*typeof(ITask),*/ BpmnModelConstants.BpmnElementTask) .NamespaceUri(BpmnModelConstants.Bpmn20Ns) .ExtendsType(typeof(IActivity)) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); CamundaAsyncAttribute = typeBuilder.BooleanAttribute(BpmnModelConstants.CamundaAttributeAsync).Namespace(BpmnModelConstants.CamundaNs).DefaultValue(false).Build(); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <ICamundaScript>(/*typeof(ICamundaScript),*/ BpmnModelConstants.CamundaElementScript) .NamespaceUri(BpmnModelConstants.CamundaNs) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); CamundaScriptFormatAttribute = typeBuilder.StringAttribute(BpmnModelConstants.CamundaAttributeScriptFormat).Required().Build(); CamundaResourceAttribute = typeBuilder.StringAttribute(BpmnModelConstants.CamundaAttributeResource).Build(); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <ICamundaMap>(/*typeof(ICamundaMap),*/ BpmnModelConstants.CamundaElementMap) .NamespaceUri(BpmnModelConstants.CamundaNs) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); ISequenceBuilder sequenceBuilder = typeBuilder.Sequence(); CamundaEntryCollection = sequenceBuilder.ElementCollection <ICamundaEntry>(/*typeof(ICamundaEntry)*/).Build/*<ICamundaEntry>*/ (); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IPoint>(/*typeof(IPoint),*/ BpmnModelConstants.DcElementPoint) .NamespaceUri(BpmnModelConstants.DcNs) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); XAttribute = typeBuilder.DoubleAttribute(BpmnModelConstants.DcAttributeX).Required().Build(); YAttribute = typeBuilder.DoubleAttribute(BpmnModelConstants.DcAttributeY).Required().Build(); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <ITransaction>(/*typeof(ITransaction), */ BpmnModelConstants.BpmnElementTransaction) .NamespaceUri(BpmnModelConstants.Bpmn20Ns) .ExtendsType(typeof(ISubProcess)) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); MethodAttribute = typeBuilder.NamedEnumAttribute <TransactionMethod>(BpmnModelConstants.BpmnAttributeMethod /*, typeof(TransactionMethod)*/) .DefaultValue(TransactionMethod.Compensate).Build(); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <ICamundaValue>(/*typeof(ICamundaValue),*/ BpmnModelConstants.CamundaElementValue) .NamespaceUri(BpmnModelConstants.CamundaNs) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); CamundaIdAttribute = typeBuilder.StringAttribute(BpmnModelConstants.CamundaAttributeId).Namespace(BpmnModelConstants.CamundaNs).Build(); CamundaNameAttribute = typeBuilder.StringAttribute(BpmnModelConstants.CamundaAttributeName).Namespace(BpmnModelConstants.CamundaNs).Build(); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IPlane>(/*typeof(IPlane),*/ BpmnModelConstants.DiElementPlane) .NamespaceUri(BpmnModelConstants.DiNs) .ExtendsType(typeof(INode)).AbstractType(); ISequenceBuilder sequenceBuilder = typeBuilder.Sequence(); DiagramElementCollection = sequenceBuilder.ElementCollection <IDiagramElement>(/*typeof(IDiagramElement)*/).Build/*<IDiagramElement>*/ (); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IInteractionNode>(/*typeof(IInteractionNode),*/ "") .NamespaceUri(BpmnModelConstants.Bpmn20Ns) .AbstractType(); IdAttribute = typeBuilder.StringAttribute(BpmnModelConstants.BpmnAttributeId) .IdAttribute() .Build(); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <ICamundaPotentialStarter>(/*typeof(ICamundaPotentialStarter),*/ BpmnModelConstants.CamundaElementPotentialStarter) .NamespaceUri(BpmnModelConstants.CamundaNs) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); ISequenceBuilder sequenceBuilder = typeBuilder.Sequence(); ResourceAssignmentExpressionChild = sequenceBuilder.Element <IResourceAssignmentExpression>(/*typeof(IResourceAssignmentExpression)*/).Build/*<IResourceAssignmentExpression>*/ (); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <List>(/*typeof(List), */ DmnModelConstants.DmnElementList) .NamespaceUri(DmnModelConstants.Dmn11Ns).ExtendsType(typeof(IExpression)) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); ISequenceBuilder sequenceBuilder = typeBuilder.Sequence(); ExpressionCollection = sequenceBuilder.ElementCollection <IExpression>(/*typeof(IExpression)*/).Build/*<IExpression>*/ (); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IMport>(/*typeof(IMport), */ DmnModelConstants.DmnElementImport).NamespaceUri(DmnModelConstants.Dmn11Ns).InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); NamespaceAttribute = typeBuilder.StringAttribute(DmnModelConstants.DmnAttributeNamespace).Required().Build(); LocationUriAttribute = typeBuilder.StringAttribute(DmnModelConstants.DmnAttributeLocationUri).Build(); ImportTypeAttribute = typeBuilder.StringAttribute(DmnModelConstants.DmnAttributeImportType).Required().Build(); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IDecisionRule>(/*typeof(IDecisionRule),*/ DmnModelConstants.DmnElementDecisionRule).NamespaceUri(DmnModelConstants.Dmn11Ns).ExtendsType(typeof(IDmnElement)).InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); ISequenceBuilder sequenceBuilder = typeBuilder.Sequence(); InputEntryCollection = sequenceBuilder.ElementCollection <IInputEntry>(/*typeof(IInputEntry)*/).Build/*<IInputEntry>*/ (); OutputEntryCollection = sequenceBuilder.ElementCollection <IOutputEntry>(/*typeof(IOutputEntry)*/).Required().Build/*<IOutputEntry>*/ (); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IContextEntry>(/*typeof(IContextEntry),*/ DmnModelConstants.DmnElementContextEntry).NamespaceUri(DmnModelConstants.Dmn11Ns).InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); ISequenceBuilder sequenceBuilder = typeBuilder.Sequence(); VariableChild = sequenceBuilder.Element <IVariable>(/*typeof(IVariable)*/).Build/*<IVariable>*/ (); ExpressionChild = sequenceBuilder.Element <IExpression>(/*typeof(IExpression)*/).Required().Build/*<IExpression>*/ (); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IDocumentation>(/*typeof(IDocumentation),*/ BpmnModelConstants.BpmnElementDocumentation) .NamespaceUri(BpmnModelConstants.Bpmn20Ns) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); IdAttribute = typeBuilder.StringAttribute(BpmnModelConstants.BpmnAttributeId).IdAttribute().Build(); TextFormatAttribute = typeBuilder.StringAttribute(BpmnModelConstants.BpmnAttributeTextFormat).DefaultValue("text/plain").Build(); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IShape>(/*typeof(IShape),*/ BpmnModelConstants.DiElementShape) .NamespaceUri(BpmnModelConstants.DiNs) .ExtendsType(typeof(INode)) .AbstractType(); ISequenceBuilder sequenceBuilder = typeBuilder.Sequence(); BoundsChild = sequenceBuilder.Element <IBounds>(/*typeof(IBounds)*/).Required().Build/*<IBounds>*/ (); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IEvent>(/*typeof(IEvent),*/ BpmnModelConstants.BpmnElementEvent) .NamespaceUri(BpmnModelConstants.Bpmn20Ns) .ExtendsType(typeof(IFlowNode)) .AbstractType(); ISequenceBuilder sequence = typeBuilder.Sequence(); PropertyCollection = sequence.ElementCollection <IProperty>(/*typeof(IProperty)*/).Build/*<IProperty>*/ (); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IElementCollection>(/*typeof(IElementCollection),*/ DmnModelConstants.DmnElementElementCollection).NamespaceUri(DmnModelConstants.Dmn11Ns).ExtendsType(typeof(INamedElement)).InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); ISequenceBuilder sequenceBuilder = typeBuilder.Sequence(); DrgElementRefCollection = sequenceBuilder .ElementCollection <IDrgElementReference>(/*typeof(IDrgElementReference)*/) .UriElementReferenceCollection <IDrgElement>(/*typeof(IDrgElement)*/) .Build(); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IDataOutput>(/*typeof(IDataOutput),*/ BpmnModelConstants.BpmnElementDataOutput) .NamespaceUri(BpmnModelConstants.Bpmn20Ns) .ExtendsType(typeof(IItemAwareElement)) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); NameAttribute = typeBuilder.StringAttribute(BpmnModelConstants.BpmnAttributeName).Build(); IsCollectionAttribute = typeBuilder.BooleanAttribute(BpmnModelConstants.BpmnAttributeIsCollection).DefaultValue(false).Build(); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IParticipantMultiplicity>(/*typeof(IParticipantMultiplicity),*/ BpmnModelConstants.BpmnElementParticipantMultiplicity) .NamespaceUri(BpmnModelConstants.Bpmn20Ns) .ExtendsType(typeof(IBaseElement)) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); MinimumAttribute = typeBuilder.IntegerAttribute(BpmnModelConstants.BpmnAttributeMinimum).DefaultValue(0).Build(); MaximumAttribute = typeBuilder.IntegerAttribute(BpmnModelConstants.BpmnAttributeMaximum).DefaultValue(1).Build(); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IBpmnLabelStyle>(/*typeof(IBpmnLabelStyle),*/ BpmnModelConstants.BpmndiElementBpmnLabelStyle) .NamespaceUri(BpmnModelConstants.BpmndiNs) .ExtendsType(typeof(IStyle)) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); ISequenceBuilder sequenceBuilder = typeBuilder.Sequence(); FontChild = sequenceBuilder.Element <IFont>(/*typeof(IFont)*/).Required().Build/*<IFont>*/ (); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IResourceAssignmentExpression>(/*typeof(IResourceAssignmentExpression),*/ BpmnModelConstants.BpmnElementResourceAssignmentExpression) .NamespaceUri(BpmnModelConstants.Bpmn20Ns) .ExtendsType(typeof(IBaseElement)) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); ISequenceBuilder sequenceBuilder = typeBuilder.Sequence(); ExpressionChild = sequenceBuilder.Element <IExpression>(/*typeof(IExpression)*/).Required().Build/*<IExpression>*/ (); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <ISubConversation>(/*typeof(ISubConversation),*/ BpmnModelConstants.BpmnElementSubConversation) .NamespaceUri(BpmnModelConstants.Bpmn20Ns) .ExtendsType(typeof(IConversationNode)) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); ISequenceBuilder sequenceBuilder = typeBuilder.Sequence(); ConversationNodeCollection = sequenceBuilder.ElementCollection <IConversationNode>(/*typeof(IConversationNode)*/).Build/*<IConversationNode>*/ (); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IEventBasedGateway>(/*typeof(IEventBasedGateway),*/ BpmnModelConstants.BpmnElementEventBasedGateway) .NamespaceUri(BpmnModelConstants.Bpmn20Ns) .ExtendsType(typeof(IGateway)) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); InstantiateAttribute = typeBuilder.BooleanAttribute(BpmnModelConstants.BpmnAttributeInstantiate).DefaultValue(false).Build(); EventGatewayTypeAttribute = typeBuilder.EnumAttribute <EventBasedGatewayType>(BpmnModelConstants.BpmnAttributeEventGatewayType /*, typeof(EventBasedGatewayType)*/).DefaultValue(EventBasedGatewayType.Exclusive).Build(); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IGateway>(/*typeof(IGateway),*/ BpmnModelConstants.BpmnElementGateway) .NamespaceUri(BpmnModelConstants.Bpmn20Ns) .ExtendsType(typeof(IFlowNode)) .AbstractType(); GatewayDirectionAttribute = typeBuilder.EnumAttribute <GatewayDirection>(BpmnModelConstants.BpmnAttributeGatewayDirection /*, typeof(GatewayDirection)*/) .DefaultValue(GatewayDirection.Unspecified) .Build(); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IServiceTask>(/*typeof(IServiceTask),*/ BpmnModelConstants.BpmnElementServiceTask) .NamespaceUri(BpmnModelConstants.Bpmn20Ns) .ExtendsType(typeof(ITask)) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); ImplementationAttribute = typeBuilder.StringAttribute(BpmnModelConstants.BpmnAttributeImplementation).DefaultValue("##WebService").Build(); OperationRefAttribute = typeBuilder .StringAttribute(BpmnModelConstants.BpmnAttributeOperationRef) .QNameAttributeReference <IOperation>(/*typeof(IOperation)*/) .Build(); CamundaClassAttribute = typeBuilder .StringAttribute(BpmnModelConstants.CamundaAttributeClass) .Namespace(BpmnModelConstants.CamundaNs) .Build(); CamundaDelegateExpressionAttribute = typeBuilder .StringAttribute(BpmnModelConstants.CamundaAttributeDelegateExpression) .Namespace(BpmnModelConstants.CamundaNs) .Build(); CamundaExpressionAttribute = typeBuilder .StringAttribute(BpmnModelConstants.CamundaAttributeExpression) .Namespace(BpmnModelConstants.CamundaNs) .Build(); CamundaResultVariableAttribute = typeBuilder .StringAttribute(BpmnModelConstants.CamundaAttributeResultVariable) .Namespace(BpmnModelConstants.CamundaNs) .Build(); CamundaTopicAttribute = typeBuilder .StringAttribute(BpmnModelConstants.CamundaAttributeTopic) .Namespace(BpmnModelConstants.CamundaNs) .Build(); CamundaTypeAttribute = typeBuilder .StringAttribute(BpmnModelConstants.CamundaAttributeType) .Namespace(BpmnModelConstants.CamundaNs) .Build(); CamundaTaskPriorityAttribute = typeBuilder .StringAttribute(BpmnModelConstants.CamundaAttributeTaskPriority) .Namespace(BpmnModelConstants.CamundaNs) .Build(); typeBuilder.Build(); }
public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <ICamundaConnector>(/*typeof(ICamundaConnector),*/ BpmnModelConstants.CamundaElementConnector) .NamespaceUri(BpmnModelConstants.CamundaNs) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); ISequenceBuilder sequenceBuilder = typeBuilder.Sequence(); CamundaConnectorIdChild = sequenceBuilder.Element <ICamundaConnectorId>(/*typeof(ICamundaConnectorId)*/).Required().Build/*<ICamundaConnectorId>*/ (); CamundaInputOutputChild = sequenceBuilder.Element <ICamundaInputOutput>(/*typeof(ICamundaInputOutput)*/).Build/*<ICamundaInputOutput>*/ (); typeBuilder.Build(); }
protected internal static IAttributeReference DefaultAttribute;//IAttributeReference<ISequenceFlow> public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IExclusiveGateway>(/*typeof(IExclusiveGateway),*/ BpmnModelConstants.BpmnElementExclusiveGateway) .NamespaceUri(BpmnModelConstants.Bpmn20Ns) .ExtendsType(typeof(IGateway)) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); DefaultAttribute = typeBuilder .StringAttribute(BpmnModelConstants.BpmnAttributeDefault) .IdAttributeReference <ISequenceFlow>(/*typeof(ISequenceFlow)*/) .Build(); typeBuilder.Build(); }
protected internal static IAttributeReference LabelStyleAttribute;//IAttributeReference<IBpmnLabelStyle> public new static void RegisterType(ModelBuilder modelBuilder) { IModelElementTypeBuilder typeBuilder = modelBuilder.DefineType <IBpmnLabel>(/*typeof(IBpmnLabel),*/ BpmnModelConstants.BpmndiElementBpmnLabel) .NamespaceUri(BpmnModelConstants.BpmndiNs) .ExtendsType(typeof(ILabel)) .InstanceProvider(new ModelTypeInstanceProviderAnonymousInnerClass()); LabelStyleAttribute = typeBuilder .StringAttribute(BpmnModelConstants.BpmndiAttributeLabelStyle) .QNameAttributeReference <IBpmnLabelStyle>(/*typeof(IBpmnLabelStyle)*/) .Build(); typeBuilder.Build(); }