use of org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext in project camunda-dmn-model by camunda.
the class RequiredDecisionReferenceImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(RequiredDecisionReference.class, DMN_ELEMENT_REQUIRED_DECISION).namespaceUri(DMN11_NS).extendsType(DmnElementReference.class).instanceProvider(new ModelTypeInstanceProvider<RequiredDecisionReference>() {
public RequiredDecisionReference newInstance(ModelTypeInstanceContext instanceContext) {
return new RequiredDecisionReferenceImpl(instanceContext);
}
});
typeBuilder.build();
}
use of org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext in project camunda-dmn-model by camunda.
the class RequiredInputReferenceImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(RequiredInputReference.class, DMN_ELEMENT_REQUIRED_INPUT).namespaceUri(DMN11_NS).extendsType(DmnElementReference.class).instanceProvider(new ModelTypeInstanceProvider<RequiredInputReference>() {
public RequiredInputReference newInstance(ModelTypeInstanceContext instanceContext) {
return new RequiredInputReferenceImpl(instanceContext);
}
});
typeBuilder.build();
}
use of org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext in project camunda-dmn-model by camunda.
the class RequiredKnowledgeReferenceImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(RequiredKnowledgeReference.class, DMN_ELEMENT_REQUIRED_KNOWLEDGE).namespaceUri(DMN11_NS).extendsType(DmnElementReference.class).instanceProvider(new ModelTypeInstanceProvider<RequiredKnowledgeReference>() {
public RequiredKnowledgeReference newInstance(ModelTypeInstanceContext instanceContext) {
return new RequiredKnowledgeReferenceImpl(instanceContext);
}
});
typeBuilder.build();
}
use of org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext in project camunda-dmn-model by camunda.
the class RowImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(Row.class, DMN_ELEMENT_ROW).namespaceUri(DMN11_NS).extendsType(List.class).instanceProvider(new ModelTypeInstanceProvider<Row>() {
public Row newInstance(ModelTypeInstanceContext instanceContext) {
return new RowImpl(instanceContext);
}
});
typeBuilder.build();
}
use of org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext in project camunda-dmn-model by camunda.
the class SourceRefImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(SourceRef.class, DMN_ELEMENT_SOURCE_REF).namespaceUri(DMN11_NS).extendsType(DmnElementReference.class).instanceProvider(new ModelTypeInstanceProvider<SourceRef>() {
public SourceRef newInstance(ModelTypeInstanceContext instanceContext) {
return new SourceRefImpl(instanceContext);
}
});
typeBuilder.build();
}
Aggregations