本文整理汇总了Java中org.camunda.bpm.model.xml.type.child.SequenceBuilder类的典型用法代码示例。如果您正苦于以下问题:Java SequenceBuilder类的具体用法?Java SequenceBuilder怎么用?Java SequenceBuilder使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SequenceBuilder类属于org.camunda.bpm.model.xml.type.child包,在下文中一共展示了SequenceBuilder类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(DmnElement.class, DMN_ELEMENT)
.namespaceUri(DMN11_NS)
.abstractType();
idAttribute = typeBuilder.stringAttribute(DMN_ATTRIBUTE_ID)
.idAttribute()
.build();
labelAttribute = typeBuilder.stringAttribute(DMN_ATTRIBUTE_LABEL)
.build();
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
descriptionChild = sequenceBuilder.element(Description.class)
.build();
extensionElementsChild = sequenceBuilder.element(ExtensionElements.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:23,代码来源:DmnElementImpl.java
示例2: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(OrganizationUnit.class, DMN_ELEMENT_ORGANIZATION_UNIT)
.namespaceUri(DMN11_NS)
.extendsType(BusinessContextElement.class)
.instanceProvider(new ModelTypeInstanceProvider<OrganizationUnit>() {
public OrganizationUnit newInstance(ModelTypeInstanceContext instanceContext) {
return new OrganizationUnitImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
decisionDecisionMadeRefCollection = sequenceBuilder.elementCollection(DecisionMadeReference.class)
.uriElementReferenceCollection(Decision.class)
.build();
decisionDecisionOwnedRefCollection = sequenceBuilder.elementCollection(DecisionOwnedReference.class)
.uriElementReferenceCollection(Decision.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:23,代码来源:OrganizationUnitImpl.java
示例3: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(Context.class, DMN_ELEMENT_CONTEXT)
.namespaceUri(DMN11_NS)
.extendsType(Expression.class)
.instanceProvider(new ModelTypeInstanceProvider<Context>() {
public Context newInstance(ModelTypeInstanceContext instanceContext) {
return new ContextImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
contextEntryCollection = sequenceBuilder.elementCollection(ContextEntry.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:18,代码来源:ContextImpl.java
示例4: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(LiteralExpression.class, DMN_ELEMENT_LITERAL_EXPRESSION)
.namespaceUri(DMN11_NS)
.extendsType(Expression.class)
.instanceProvider(new ModelTypeInstanceProvider<LiteralExpression>() {
public LiteralExpression newInstance(ModelTypeInstanceContext instanceContext) {
return new LiteralExpressionImpl(instanceContext);
}
});
expressionLanguageAttribute = typeBuilder.stringAttribute(DMN_ATTRIBUTE_EXPRESSION_LANGUAGE)
.build();
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
textChild = sequenceBuilder.element(Text.class)
.build();
importedValuesChild = sequenceBuilder.element(ImportedValues.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:24,代码来源:LiteralExpressionImpl.java
示例5: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(BusinessKnowledgeModel.class, DMN_ELEMENT_BUSINESS_KNOWLEDGE_MODEL)
.namespaceUri(DMN11_NS)
.extendsType(DrgElement.class)
.instanceProvider(new ModelTypeInstanceProvider<BusinessKnowledgeModel>() {
public BusinessKnowledgeModel newInstance(ModelTypeInstanceContext instanceContext) {
return new BusinessKnowledgeModelImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
encapsulatedLogicChild = sequenceBuilder.element(EncapsulatedLogic.class)
.build();
variableChild = sequenceBuilder.element(Variable.class)
.build();
knowledgeRequirementCollection = sequenceBuilder.elementCollection(KnowledgeRequirement.class)
.build();
authorityRequirementCollection = sequenceBuilder.elementCollection(AuthorityRequirement.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:27,代码来源:BusinessKnowledgeModelImpl.java
示例6: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(DecisionRule.class, DMN_ELEMENT_DECISION_RULE)
.namespaceUri(DMN11_NS)
.extendsType(DmnElement.class)
.instanceProvider(new ModelTypeInstanceProvider<DecisionRule>() {
public DecisionRule newInstance(ModelTypeInstanceContext instanceContext) {
return new DecisionRuleImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
inputEntryCollection = sequenceBuilder.elementCollection(InputEntry.class)
.build();
outputEntryCollection = sequenceBuilder.elementCollection(OutputEntry.class)
.required()
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:22,代码来源:DecisionRuleImpl.java
示例7: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(UnaryTests.class, DMN_ELEMENT_UNARY_TESTS)
.namespaceUri(DMN11_NS)
.extendsType(DmnElement.class)
.instanceProvider(new ModelTypeInstanceProvider<UnaryTests>() {
public UnaryTests newInstance(ModelTypeInstanceContext instanceContext) {
return new UnaryTestsImpl(instanceContext);
}
});
expressionLanguageAttribute = typeBuilder.stringAttribute(DMN_ATTRIBUTE_EXPRESSION_LANGUAGE)
.build();
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
textChild = sequenceBuilder.element(Text.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:21,代码来源:UnaryTestsImpl.java
示例8: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(OutputClause.class, DMN_ELEMENT_OUTPUT_CLAUSE)
.namespaceUri(DMN11_NS)
.extendsType(DmnElement.class)
.instanceProvider(new ModelTypeInstanceProvider<OutputClause>() {
public OutputClause newInstance(ModelTypeInstanceContext instanceContext) {
return new OutputClauseImpl(instanceContext);
}
});
nameAttribute = typeBuilder.stringAttribute(DMN_ATTRIBUTE_NAME)
.build();
typeRefAttribute = typeBuilder.stringAttribute(DMN_ATTRIBUTE_TYPE_REF)
.build();
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
outputValuesChild = sequenceBuilder.element(OutputValues.class)
.build();
defaultOutputEntryChild = sequenceBuilder.element(DefaultOutputEntry.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:27,代码来源:OutputClauseImpl.java
示例9: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(ImportedValues.class, DMN_ELEMENT_IMPORTED_VALUES)
.namespaceUri(DMN11_NS)
.extendsType(Import.class)
.instanceProvider(new ModelTypeInstanceProvider<ImportedValues>() {
public ImportedValues newInstance(ModelTypeInstanceContext instanceContext) {
return new ImportedValuesImpl(instanceContext);
}
});
expressionLanguageAttribute = typeBuilder.stringAttribute(DMN_ATTRIBUTE_EXPRESSION_LANGUAGE)
.build();
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
importedElementChild = sequenceBuilder.element(ImportedElement.class)
.required()
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:22,代码来源:ImportedValuesImpl.java
示例10: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(AuthorityRequirement.class, DMN_ELEMENT_AUTHORITY_REQUIREMENT)
.namespaceUri(DMN11_NS)
.instanceProvider(new ModelTypeInstanceProvider<AuthorityRequirement>() {
public AuthorityRequirement newInstance(ModelTypeInstanceContext instanceContext) {
return new AuthorityRequirementImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
requiredDecisionRef = sequenceBuilder.element(RequiredDecisionReference.class)
.uriElementReference(Decision.class)
.build();
requiredInputRef = sequenceBuilder.element(RequiredInputReference.class)
.uriElementReference(InputData.class)
.build();
requiredAuthorityRef = sequenceBuilder.element(RequiredAuthorityReference.class)
.uriElementReference(KnowledgeSource.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:26,代码来源:AuthorityRequirementImpl.java
示例11: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(ContextEntry.class, DMN_ELEMENT_CONTEXT_ENTRY)
.namespaceUri(DMN11_NS)
.instanceProvider(new ModelTypeInstanceProvider<ContextEntry>() {
public ContextEntry newInstance(ModelTypeInstanceContext instanceContext) {
return new ContextEntryImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
variableChild = sequenceBuilder.element(Variable.class)
.build();
expressionChild = sequenceBuilder.element(Expression.class)
.required()
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:21,代码来源:ContextEntryImpl.java
示例12: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(Relation.class, DMN_ELEMENT_RELATION)
.namespaceUri(DMN11_NS)
.extendsType(Expression.class)
.instanceProvider(new ModelTypeInstanceProvider<Relation>() {
public Relation newInstance(ModelTypeInstanceContext instanceContext) {
return new RelationImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
columnCollection = sequenceBuilder.elementCollection(Column.class)
.build();
rowCollection = sequenceBuilder.elementCollection(Row.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:21,代码来源:RelationImpl.java
示例13: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(InputData.class, DMN_ELEMENT_INPUT_DATA)
.namespaceUri(DMN11_NS)
.extendsType(DrgElement.class)
.instanceProvider(new ModelTypeInstanceProvider<InputData>() {
public InputData newInstance(ModelTypeInstanceContext instanceContext) {
return new InputDataImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
informationItemChild = sequenceBuilder.element(InformationItem.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:18,代码来源:InputDataImpl.java
示例14: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(PerformanceIndicator.class, DMN_ELEMENT_PERFORMANCE_INDICATOR)
.namespaceUri(DMN11_NS)
.extendsType(BusinessContextElement.class)
.instanceProvider(new ModelTypeInstanceProvider<PerformanceIndicator>() {
public PerformanceIndicator newInstance(ModelTypeInstanceContext instanceContext) {
return new PerformanceIndicatorImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
impactingDecisionRefCollection = sequenceBuilder.elementCollection(ImpactingDecisionReference.class)
.uriElementReferenceCollection(Decision.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:19,代码来源:PerformanceIndicatorImpl.java
示例15: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(InformationRequirement.class, DMN_ELEMENT_INFORMATION_REQUIREMENT)
.namespaceUri(DMN11_NS)
.instanceProvider(new ModelTypeInstanceProvider<InformationRequirement>() {
public InformationRequirement newInstance(ModelTypeInstanceContext instanceContext) {
return new InformationRequirementImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
requiredDecisionRef = sequenceBuilder.element(RequiredDecisionReference.class)
.uriElementReference(Decision.class)
.build();
requiredInputRef = sequenceBuilder.element(RequiredInputReference.class)
.uriElementReference(InputData.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:22,代码来源:InformationRequirementImpl.java
示例16: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(ElementCollection.class, DMN_ELEMENT_ELEMENT_COLLECTION)
.namespaceUri(DMN11_NS)
.extendsType(NamedElement.class)
.instanceProvider(new ModelTypeInstanceProvider<ElementCollection>() {
public ElementCollection newInstance(ModelTypeInstanceContext instanceContext) {
return new ElementCollectionImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
drgElementRefCollection = sequenceBuilder.elementCollection(DrgElementReference.class)
.uriElementReferenceCollection(DrgElement.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:19,代码来源:ElementCollectionImpl.java
示例17: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(List.class, DMN_ELEMENT_LIST)
.namespaceUri(DMN11_NS)
.extendsType(Expression.class)
.instanceProvider(new ModelTypeInstanceProvider<List>() {
public List newInstance(ModelTypeInstanceContext instanceContext) {
return new ListImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
expressionCollection = sequenceBuilder.elementCollection(Expression.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:18,代码来源:ListImpl.java
示例18: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(Binding.class, DMN_ELEMENT_BINDING)
.namespaceUri(DMN11_NS)
.instanceProvider(new ModelTypeInstanceProvider<Binding>() {
public Binding newInstance(ModelTypeInstanceContext instanceContext) {
return new BindingImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
parameterChild = sequenceBuilder.element(Parameter.class)
.required()
.build();
expressionChild = sequenceBuilder.element(Expression.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:21,代码来源:BindingImpl.java
示例19: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(Invocation.class, DMN_ELEMENT_INVOCATION)
.namespaceUri(DMN11_NS)
.extendsType(Expression.class)
.instanceProvider(new ModelTypeInstanceProvider<Invocation>() {
public Invocation newInstance(ModelTypeInstanceContext instanceContext) {
return new InvocationImpl(instanceContext);
}
});
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
expressionChild = sequenceBuilder.element(Expression.class)
.build();
bindingCollection = sequenceBuilder.elementCollection(Binding.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:21,代码来源:InvocationImpl.java
示例20: registerType
import org.camunda.bpm.model.xml.type.child.SequenceBuilder; //导入依赖的package包/类
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(TextAnnotation.class, DMN_ELEMENT_TEXT_ANNOTATION)
.namespaceUri(DMN11_NS)
.extendsType(Artifact.class)
.instanceProvider(new ModelTypeInstanceProvider<TextAnnotation>() {
public TextAnnotation newInstance(ModelTypeInstanceContext instanceContext) {
return new TextAnnotationImpl(instanceContext);
}
});
textFormatAttribute = typeBuilder.stringAttribute(DMN_ATTRIBUTE_TEXT_FORMAT)
.defaultValue("text/plain")
.build();
SequenceBuilder sequenceBuilder = typeBuilder.sequence();
textChild = sequenceBuilder.element(Text.class)
.build();
typeBuilder.build();
}
开发者ID:camunda,项目名称:camunda-dmn-model,代码行数:22,代码来源:TextAnnotationImpl.java
注:本文中的org.camunda.bpm.model.xml.type.child.SequenceBuilder类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论