mendixmodelsdk
Advanced tools
Comparing version 4.75.1-dev-1228-99b342ef3 to 4.75.1-dev-1229-5fc88bd21
{ | ||
"name": "mendixmodelsdk", | ||
"description": "Mendix Model SDK", | ||
"version": "4.75.1-dev-1228-99b342ef3", | ||
"version": "4.75.1-dev-1229-5fc88bd21", | ||
"author": "Mendix", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -133,2 +133,3 @@ import { IAbstractModel, AbstractModel } from "../sdk/internal/AbstractModel"; | ||
findEnumerationValueByQualifiedName(qname: string): enumerations.IEnumerationValue | null; | ||
findTemplateByQualifiedName(qname: string): exceldataimporter.ITemplate | null; | ||
findExportMappingByQualifiedName(qname: string): exportmappings.IExportMapping | null; | ||
@@ -261,2 +262,3 @@ findImageByQualifiedName(qname: string): images.IImage | null; | ||
findEnumerationValueByQualifiedName(qname: string): enumerations.IEnumerationValue | null; | ||
findTemplateByQualifiedName(qname: string): exceldataimporter.ITemplate | null; | ||
findExportMappingByQualifiedName(qname: string): exportmappings.IExportMapping | null; | ||
@@ -480,2 +482,3 @@ findImageByQualifiedName(qname: string): images.IImage | null; | ||
ExcelDataImporter$ColumnAttributeMapping: exceldataimporter.ColumnAttributeMapping; | ||
ExcelDataImporter$ImportExcelDataAction: exceldataimporter.ImportExcelDataAction; | ||
ExcelDataImporter$IndexReference: exceldataimporter.IndexReference; | ||
@@ -482,0 +485,0 @@ ExcelDataImporter$NameReference: exceldataimporter.NameReference; |
@@ -404,2 +404,5 @@ "use strict"; | ||
} | ||
findTemplateByQualifiedName(qname) { | ||
return this._resolveName("ExcelDataImporter$Template", qname); | ||
} | ||
findExportMappingByQualifiedName(qname) { | ||
@@ -406,0 +409,0 @@ return this._resolveName("ExportMappings$ExportMapping", qname); |
import * as internal from "../sdk/internal"; | ||
export import StructureVersionInfo = internal.StructureVersionInfo; | ||
import { microflows } from "./microflows"; | ||
import { projects } from "./projects"; | ||
@@ -54,2 +55,42 @@ /** | ||
* | ||
* In version 10.0.0: introduced | ||
*/ | ||
class ImportExcelDataAction extends microflows.MicroflowAction { | ||
static structureTypeName: string; | ||
static versionInfo: StructureVersionInfo; | ||
get containerAsActionActivity(): microflows.ActionActivity; | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get template(): ITemplate; | ||
set template(newValue: ITemplate); | ||
get templateQualifiedName(): string; | ||
get fileVariableName(): string; | ||
set fileVariableName(newValue: string); | ||
get outputVariableName(): string; | ||
set outputVariableName(newValue: string); | ||
constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new ImportExcelDataAction instance in the SDK and on the server. | ||
* The new ImportExcelDataAction will be automatically stored in the 'action' property | ||
* of the parent microflows.ActionActivity element passed as argument. | ||
* | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 10.0.0 and higher | ||
*/ | ||
static createIn(container: microflows.ActionActivity): ImportExcelDataAction; | ||
/** | ||
* Creates and returns a new ImportExcelDataAction instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
* After creation, assign or add this instance to a property that accepts this kind of objects. | ||
*/ | ||
static create(model: IModel): ImportExcelDataAction; | ||
} | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: introduced | ||
@@ -56,0 +97,0 @@ */ |
@@ -7,2 +7,3 @@ "use strict"; | ||
exports.StructureVersionInfo = internal.StructureVersionInfo; | ||
const microflows_1 = require("./microflows"); | ||
const projects_1 = require("./projects"); | ||
@@ -97,2 +98,75 @@ /** | ||
* | ||
* In version 10.0.0: introduced | ||
*/ | ||
class ImportExcelDataAction extends microflows_1.microflows.MicroflowAction { | ||
constructor(model, structureTypeName, id, isPartial, unit, container) { | ||
super(model, structureTypeName, id, isPartial, unit, container); | ||
/** @internal */ | ||
this.__template = new internal.ByNameReferenceProperty(ImportExcelDataAction, this, "template", null, "ExcelDataImporter$Template"); | ||
/** @internal */ | ||
this.__fileVariableName = new internal.PrimitiveProperty(ImportExcelDataAction, this, "fileVariableName", "", internal.PrimitiveTypeEnum.String); | ||
/** @internal */ | ||
this.__outputVariableName = new internal.PrimitiveProperty(ImportExcelDataAction, this, "outputVariableName", "", internal.PrimitiveTypeEnum.String); | ||
if (arguments.length < 4) { | ||
throw new Error("new ImportExcelDataAction() cannot be invoked directly, please use 'model.exceldataimporter.createImportExcelDataAction()'"); | ||
} | ||
} | ||
get containerAsActionActivity() { return super.getContainerAs(microflows_1.microflows.ActionActivity); } | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get template() { return this.__template.get(); } | ||
set template(newValue) { this.__template.set(newValue); } | ||
get templateQualifiedName() { return this.__template.qualifiedName(); } | ||
get fileVariableName() { return this.__fileVariableName.get(); } | ||
set fileVariableName(newValue) { this.__fileVariableName.set(newValue); } | ||
get outputVariableName() { return this.__outputVariableName.get(); } | ||
set outputVariableName(newValue) { this.__outputVariableName.set(newValue); } | ||
/** | ||
* Creates and returns a new ImportExcelDataAction instance in the SDK and on the server. | ||
* The new ImportExcelDataAction will be automatically stored in the 'action' property | ||
* of the parent microflows.ActionActivity element passed as argument. | ||
* | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 10.0.0 and higher | ||
*/ | ||
static createIn(container) { | ||
internal.createInVersionCheck(container.model, ImportExcelDataAction.structureTypeName, { start: "10.0.0" }); | ||
return internal.instancehelpers.createElement(container, ImportExcelDataAction, "action", false); | ||
} | ||
/** | ||
* Creates and returns a new ImportExcelDataAction instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
* After creation, assign or add this instance to a property that accepts this kind of objects. | ||
*/ | ||
static create(model) { | ||
return internal.instancehelpers.createElement(model, ImportExcelDataAction); | ||
} | ||
/** @internal */ | ||
_initializeDefaultProperties() { | ||
super._initializeDefaultProperties(); | ||
} | ||
} | ||
ImportExcelDataAction.structureTypeName = "ExcelDataImporter$ImportExcelDataAction"; | ||
ImportExcelDataAction.versionInfo = new exports.StructureVersionInfo({ | ||
"introduced": "10.0.0", | ||
"properties": { | ||
"template": { | ||
"required": { | ||
"currentValue": true | ||
} | ||
} | ||
}, | ||
"experimental": { | ||
"currentValue": true | ||
} | ||
}, internal.StructureType.Element); | ||
exceldataimporter.ImportExcelDataAction = ImportExcelDataAction; | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: introduced | ||
@@ -373,2 +447,4 @@ */ | ||
/** @internal */ | ||
_isByNameReferrable() { return this.__name.isAvailable; } | ||
/** @internal */ | ||
_initializeDefaultProperties() { | ||
@@ -375,0 +451,0 @@ super._initializeDefaultProperties(); |
@@ -1,2 +0,2 @@ | ||
/** Current SDK version: 4.75.1-dev-1228-99b342ef3 */ | ||
/** Current SDK version: 4.75.1-dev-1229-5fc88bd21 */ | ||
export declare const SDK_VERSION: string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SDK_VERSION = void 0; | ||
/** Current SDK version: 4.75.1-dev-1228-99b342ef3 */ | ||
/** Current SDK version: 4.75.1-dev-1229-5fc88bd21 */ | ||
exports.SDK_VERSION = "4.75.1"; | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
14192258
198199