mendixmodelsdk
Advanced tools
Comparing version 1.1.1 to 1.2.0-1
[ | ||
{ | ||
"deltaType": "CREATE_UNIT", | ||
"unitId": "899f3e5e-68e2-4e6d-9430-693d0787a855", | ||
"unitId": "1a5b59c8-4465-4136-8362-671223bd964d", | ||
"containerId": "eec3241d-13a9-4ba9-940c-5d5223624304", | ||
@@ -10,4 +10,4 @@ "containmentName": "modules", | ||
{ | ||
"unitId": "899f3e5e-68e2-4e6d-9430-693d0787a855", | ||
"elementId": "899f3e5e-68e2-4e6d-9430-693d0787a855", | ||
"unitId": "1a5b59c8-4465-4136-8362-671223bd964d", | ||
"elementId": "1a5b59c8-4465-4136-8362-671223bd964d", | ||
"deltaType": "UPDATE_PROPERTY_VALUE", | ||
@@ -22,4 +22,4 @@ "propertyName": "name", | ||
"deltaType": "CREATE_UNIT", | ||
"unitId": "bd958205-17fa-494f-a62d-117c87f4c895", | ||
"containerId": "899f3e5e-68e2-4e6d-9430-693d0787a855", | ||
"unitId": "e4afbd8e-76c1-41f6-9c90-acec3ff24e3e", | ||
"containerId": "1a5b59c8-4465-4136-8362-671223bd964d", | ||
"containmentName": "domainModel", | ||
@@ -30,4 +30,4 @@ "contentType": "DomainModels$DomainModel" | ||
"deltaType": "CREATE_UNIT", | ||
"unitId": "9fb1416a-7b92-4f7b-92d4-2ef29de31923", | ||
"containerId": "899f3e5e-68e2-4e6d-9430-693d0787a855", | ||
"unitId": "9bb3e8e1-cef8-47ca-92b1-9797f79e8b02", | ||
"containerId": "1a5b59c8-4465-4136-8362-671223bd964d", | ||
"containmentName": "folders", | ||
@@ -37,4 +37,4 @@ "contentType": "Projects$Folder" | ||
{ | ||
"unitId": "9fb1416a-7b92-4f7b-92d4-2ef29de31923", | ||
"elementId": "9fb1416a-7b92-4f7b-92d4-2ef29de31923", | ||
"unitId": "9bb3e8e1-cef8-47ca-92b1-9797f79e8b02", | ||
"elementId": "9bb3e8e1-cef8-47ca-92b1-9797f79e8b02", | ||
"deltaType": "UPDATE_PROPERTY_VALUE", | ||
@@ -49,4 +49,4 @@ "propertyName": "name", | ||
"deltaType": "CREATE_UNIT", | ||
"unitId": "59434435-091e-4cfe-bede-d39dc6bc0565", | ||
"containerId": "9fb1416a-7b92-4f7b-92d4-2ef29de31923", | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"containerId": "9bb3e8e1-cef8-47ca-92b1-9797f79e8b02", | ||
"containmentName": "documents", | ||
@@ -56,4 +56,4 @@ "contentType": "Pages$Page" | ||
{ | ||
"unitId": "59434435-091e-4cfe-bede-d39dc6bc0565", | ||
"elementId": "59434435-091e-4cfe-bede-d39dc6bc0565", | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"deltaType": "UPDATE_PROPERTY_VALUE", | ||
@@ -67,4 +67,4 @@ "propertyName": "canvasWidth", | ||
{ | ||
"unitId": "59434435-091e-4cfe-bede-d39dc6bc0565", | ||
"elementId": "59434435-091e-4cfe-bede-d39dc6bc0565", | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"deltaType": "UPDATE_PROPERTY_VALUE", | ||
@@ -78,28 +78,28 @@ "propertyName": "canvasHeight", | ||
{ | ||
"parentId": "59434435-091e-4cfe-bede-d39dc6bc0565", | ||
"parentId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementType": "Pages$LayoutCall", | ||
"parentPropertyName": "layoutCall", | ||
"deltaType": "CREATE_ELEMENT", | ||
"unitId": "59434435-091e-4cfe-bede-d39dc6bc0565", | ||
"elementId": "0ad8008a-46bf-4767-9922-fa0b5952ee9b" | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "33ef2363-b55c-48ec-9f8a-9d2d28da7818" | ||
}, | ||
{ | ||
"parentId": "59434435-091e-4cfe-bede-d39dc6bc0565", | ||
"parentId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementType": "Texts$Text", | ||
"parentPropertyName": "title", | ||
"deltaType": "CREATE_ELEMENT", | ||
"unitId": "59434435-091e-4cfe-bede-d39dc6bc0565", | ||
"elementId": "6b9b50ae-7471-4f54-b1f7-3414b530e015" | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "b286cd82-94b9-4c14-ada6-4b575c1127bb" | ||
}, | ||
{ | ||
"parentId": "6b9b50ae-7471-4f54-b1f7-3414b530e015", | ||
"parentId": "b286cd82-94b9-4c14-ada6-4b575c1127bb", | ||
"elementType": "Texts$Translation", | ||
"parentPropertyName": "translations", | ||
"deltaType": "CREATE_ELEMENT", | ||
"unitId": "59434435-091e-4cfe-bede-d39dc6bc0565", | ||
"elementId": "9ee34048-e842-4719-85b6-fa2c2d68b206" | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "26c44d6c-68be-485b-8dde-b7f1da4e3751" | ||
}, | ||
{ | ||
"unitId": "59434435-091e-4cfe-bede-d39dc6bc0565", | ||
"elementId": "9ee34048-e842-4719-85b6-fa2c2d68b206", | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "26c44d6c-68be-485b-8dde-b7f1da4e3751", | ||
"deltaType": "UPDATE_PROPERTY_VALUE", | ||
@@ -113,4 +113,4 @@ "propertyName": "languageCode", | ||
{ | ||
"unitId": "59434435-091e-4cfe-bede-d39dc6bc0565", | ||
"elementId": "9ee34048-e842-4719-85b6-fa2c2d68b206", | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "26c44d6c-68be-485b-8dde-b7f1da4e3751", | ||
"deltaType": "UPDATE_PROPERTY_VALUE", | ||
@@ -124,4 +124,4 @@ "propertyName": "text", | ||
{ | ||
"unitId": "59434435-091e-4cfe-bede-d39dc6bc0565", | ||
"elementId": "59434435-091e-4cfe-bede-d39dc6bc0565", | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"deltaType": "UPDATE_PROPERTY_VALUE", | ||
@@ -135,4 +135,4 @@ "propertyName": "popupResizable", | ||
{ | ||
"unitId": "59434435-091e-4cfe-bede-d39dc6bc0565", | ||
"elementId": "59434435-091e-4cfe-bede-d39dc6bc0565", | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"deltaType": "UPDATE_PROPERTY_VALUE", | ||
@@ -139,0 +139,0 @@ "propertyName": "name", |
@@ -15,2 +15,3 @@ /** | ||
export * from './javaactions'; | ||
export * from './jsonstructures'; | ||
export * from './mappings'; | ||
@@ -17,0 +18,0 @@ export * from './menus'; |
@@ -18,2 +18,3 @@ function __export(m) { | ||
__export(require('./javaactions')); | ||
__export(require('./jsonstructures')); | ||
__export(require('./mappings')); | ||
@@ -20,0 +21,0 @@ __export(require('./menus')); |
@@ -16,3 +16,3 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: IConsumedAppService; | ||
containerAsConsumedAppService: IConsumedAppService; | ||
load(): AppServiceAction; | ||
@@ -26,3 +26,3 @@ load(callback: (element: AppServiceAction) => void): any; | ||
static typeName: string; | ||
container: ConsumedAppService; | ||
containerAsConsumedAppService: ConsumedAppService; | ||
private __name; | ||
@@ -41,3 +41,3 @@ name: string; | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -51,3 +51,12 @@ returnType: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new AppServiceAction instance in the SDK and on the server. | ||
* The new AppServiceAction will be automatically stored in the 'actions' property of the parent ConsumedAppService element passed as argument. | ||
*/ | ||
static createIn(container: ConsumedAppService): AppServiceAction; | ||
/** | ||
* Creates and returns a new AppServiceAction 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): AppServiceAction; | ||
@@ -59,3 +68,3 @@ _isByNameReferrable(): boolean; | ||
model: IModel; | ||
container: IAppServiceAction; | ||
containerAsAppServiceAction: IAppServiceAction; | ||
load(): AppServiceActionParameter; | ||
@@ -68,3 +77,3 @@ load(callback: (element: AppServiceActionParameter) => void): any; | ||
static typeName: string; | ||
container: AppServiceAction; | ||
containerAsAppServiceAction: AppServiceAction; | ||
private __name; | ||
@@ -74,3 +83,3 @@ name: string; | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -82,3 +91,12 @@ type: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new AppServiceActionParameter instance in the SDK and on the server. | ||
* The new AppServiceActionParameter will be automatically stored in the 'parameters' property of the parent AppServiceAction element passed as argument. | ||
*/ | ||
static createIn(container: AppServiceAction): AppServiceActionParameter; | ||
/** | ||
* Creates and returns a new AppServiceActionParameter 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): AppServiceActionParameter; | ||
@@ -93,3 +111,3 @@ _isByNameReferrable(): boolean; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): ConsumedAppService; | ||
@@ -105,3 +123,3 @@ load(callback: (element: ConsumedAppService) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __actions; | ||
@@ -132,3 +150,3 @@ actions: internal.IList<AppServiceAction>; | ||
* Creates a new ConsumedAppService unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -140,3 +158,3 @@ static createIn(container: projects.IFolderBase): ConsumedAppService; | ||
model: IModel; | ||
container: IConsumedAppService; | ||
containerAsConsumedAppService: IConsumedAppService; | ||
load(): Msd; | ||
@@ -148,3 +166,3 @@ load(callback: (element: Msd) => void): any; | ||
static typeName: string; | ||
container: ConsumedAppService; | ||
containerAsConsumedAppService: ConsumedAppService; | ||
private __version; | ||
@@ -164,3 +182,12 @@ version: MsdVersion; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new Msd instance in the SDK and on the server. | ||
* The new Msd will be automatically stored in the 'msd' property of the parent ConsumedAppService element passed as argument. | ||
*/ | ||
static createIn(container: ConsumedAppService): Msd; | ||
/** | ||
* Creates and returns a new Msd 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): Msd; | ||
@@ -171,2 +198,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsMsdDomainModel: IMsdDomainModel; | ||
containerAsDataAssociation: webservices.IDataAssociation; | ||
load(): MsdAssociation; | ||
@@ -178,2 +207,4 @@ load(callback: (element: MsdAssociation) => void): any; | ||
static typeName: string; | ||
containerAsMsdDomainModel: MsdDomainModel; | ||
containerAsDataAssociation: webservices.DataAssociation; | ||
private __name; | ||
@@ -207,2 +238,17 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MsdAssociation instance in the SDK and on the server. | ||
* The new MsdAssociation will be automatically stored in the 'associations' property of the parent MsdDomainModel element passed as argument. | ||
*/ | ||
static createInMsdDomainModelUnderAssociations(container: MsdDomainModel): MsdAssociation; | ||
/** | ||
* Creates and returns a new MsdAssociation instance in the SDK and on the server. | ||
* The new MsdAssociation will be automatically stored in the 'associationByContract' property of the parent webservices.DataAssociation element passed as argument. | ||
*/ | ||
static createInDataAssociationUnderAssociationByContract(container: webservices.DataAssociation): MsdAssociation; | ||
/** | ||
* Creates and returns a new MsdAssociation 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): MsdAssociation; | ||
@@ -213,2 +259,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsMsdEntity: IMsdEntity; | ||
containerAsDataAttribute: webservices.IDataAttribute; | ||
load(): MsdAttribute; | ||
@@ -220,2 +268,4 @@ load(callback: (element: MsdAttribute) => void): any; | ||
static typeName: string; | ||
containerAsMsdEntity: MsdEntity; | ||
containerAsDataAttribute: webservices.DataAttribute; | ||
private __name; | ||
@@ -235,2 +285,17 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MsdAttribute instance in the SDK and on the server. | ||
* The new MsdAttribute will be automatically stored in the 'attributes' property of the parent MsdEntity element passed as argument. | ||
*/ | ||
static createInMsdEntityUnderAttributes(container: MsdEntity): MsdAttribute; | ||
/** | ||
* Creates and returns a new MsdAttribute instance in the SDK and on the server. | ||
* The new MsdAttribute will be automatically stored in the 'attributeByContract' property of the parent webservices.DataAttribute element passed as argument. | ||
*/ | ||
static createInDataAttributeUnderAttributeByContract(container: webservices.DataAttribute): MsdAttribute; | ||
/** | ||
* Creates and returns a new MsdAttribute 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): MsdAttribute; | ||
@@ -241,3 +306,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IMsd; | ||
containerAsMsd: IMsd; | ||
load(): MsdDomainModel; | ||
@@ -249,3 +314,3 @@ load(callback: (element: MsdDomainModel) => void): any; | ||
static typeName: string; | ||
container: Msd; | ||
containerAsMsd: Msd; | ||
private __entities; | ||
@@ -257,3 +322,12 @@ entities: internal.IList<MsdEntity>; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MsdDomainModel instance in the SDK and on the server. | ||
* The new MsdDomainModel will be automatically stored in the 'domainModel' property of the parent Msd element passed as argument. | ||
*/ | ||
static createIn(container: Msd): MsdDomainModel; | ||
/** | ||
* Creates and returns a new MsdDomainModel 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): MsdDomainModel; | ||
@@ -264,3 +338,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IMsdDomainModel; | ||
containerAsMsdDomainModel: IMsdDomainModel; | ||
load(): MsdEntity; | ||
@@ -272,3 +346,3 @@ load(callback: (element: MsdEntity) => void): any; | ||
static typeName: string; | ||
container: MsdDomainModel; | ||
containerAsMsdDomainModel: MsdDomainModel; | ||
private __name; | ||
@@ -290,3 +364,12 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MsdEntity instance in the SDK and on the server. | ||
* The new MsdEntity will be automatically stored in the 'entities' property of the parent MsdDomainModel element passed as argument. | ||
*/ | ||
static createIn(container: MsdDomainModel): MsdEntity; | ||
/** | ||
* Creates and returns a new MsdEntity 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): MsdEntity; | ||
@@ -297,3 +380,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IMsdEnumerationContainer; | ||
containerAsMsdEnumerationContainer: IMsdEnumerationContainer; | ||
load(): MsdEnumeration; | ||
@@ -305,3 +388,3 @@ load(callback: (element: MsdEnumeration) => void): any; | ||
static typeName: string; | ||
container: MsdEnumerationContainer; | ||
containerAsMsdEnumerationContainer: MsdEnumerationContainer; | ||
private __name; | ||
@@ -315,3 +398,12 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MsdEnumeration instance in the SDK and on the server. | ||
* The new MsdEnumeration will be automatically stored in the 'enumerations' property of the parent MsdEnumerationContainer element passed as argument. | ||
*/ | ||
static createIn(container: MsdEnumerationContainer): MsdEnumeration; | ||
/** | ||
* Creates and returns a new MsdEnumeration 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): MsdEnumeration; | ||
@@ -322,2 +414,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsMsd: IMsd; | ||
containerAsVersionedService: webservices.IVersionedService; | ||
load(): MsdEnumerationContainer; | ||
@@ -329,2 +423,4 @@ load(callback: (element: MsdEnumerationContainer) => void): any; | ||
static typeName: string; | ||
containerAsMsd: Msd; | ||
containerAsVersionedService: webservices.VersionedService; | ||
private __enumerations; | ||
@@ -334,2 +430,17 @@ enumerations: internal.IList<MsdEnumeration>; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MsdEnumerationContainer instance in the SDK and on the server. | ||
* The new MsdEnumerationContainer will be automatically stored in the 'enumerations' property of the parent Msd element passed as argument. | ||
*/ | ||
static createInMsdUnderEnumerations(container: Msd): MsdEnumerationContainer; | ||
/** | ||
* Creates and returns a new MsdEnumerationContainer instance in the SDK and on the server. | ||
* The new MsdEnumerationContainer will be automatically stored in the 'enumerationsByContract' property of the parent webservices.VersionedService element passed as argument. | ||
*/ | ||
static createInVersionedServiceUnderEnumerationsByContract(container: webservices.VersionedService): MsdEnumerationContainer; | ||
/** | ||
* Creates and returns a new MsdEnumerationContainer 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): MsdEnumerationContainer; | ||
@@ -340,3 +451,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IMsdEnumeration; | ||
containerAsMsdEnumeration: IMsdEnumeration; | ||
load(): MsdEnumerationValue; | ||
@@ -348,3 +459,3 @@ load(callback: (element: MsdEnumerationValue) => void): any; | ||
static typeName: string; | ||
container: MsdEnumeration; | ||
containerAsMsdEnumeration: MsdEnumeration; | ||
private __name; | ||
@@ -360,3 +471,12 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MsdEnumerationValue instance in the SDK and on the server. | ||
* The new MsdEnumerationValue will be automatically stored in the 'values' property of the parent MsdEnumeration element passed as argument. | ||
*/ | ||
static createIn(container: MsdEnumeration): MsdEnumerationValue; | ||
/** | ||
* Creates and returns a new MsdEnumerationValue 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): MsdEnumerationValue; | ||
@@ -367,3 +487,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IMsd; | ||
containerAsMsd: IMsd; | ||
load(): MsdMetadata; | ||
@@ -375,3 +495,3 @@ load(callback: (element: MsdMetadata) => void): any; | ||
static typeName: string; | ||
container: Msd; | ||
containerAsMsd: Msd; | ||
private __name; | ||
@@ -405,3 +525,12 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MsdMetadata instance in the SDK and on the server. | ||
* The new MsdMetadata will be automatically stored in the 'metadata' property of the parent Msd element passed as argument. | ||
*/ | ||
static createIn(container: Msd): MsdMetadata; | ||
/** | ||
* Creates and returns a new MsdMetadata 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): MsdMetadata; | ||
@@ -412,3 +541,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IMsdMetadata; | ||
containerAsMsdMetadata: IMsdMetadata; | ||
load(): MsdMicroflow; | ||
@@ -420,3 +549,3 @@ load(callback: (element: MsdMicroflow) => void): any; | ||
static typeName: string; | ||
container: MsdMetadata; | ||
containerAsMsdMetadata: MsdMetadata; | ||
private __name; | ||
@@ -445,3 +574,12 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MsdMicroflow instance in the SDK and on the server. | ||
* The new MsdMicroflow will be automatically stored in the 'microflows' property of the parent MsdMetadata element passed as argument. | ||
*/ | ||
static createIn(container: MsdMetadata): MsdMicroflow; | ||
/** | ||
* Creates and returns a new MsdMicroflow 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): MsdMicroflow; | ||
@@ -452,2 +590,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsMsdMicroflow: IMsdMicroflow; | ||
containerAsPublishedParameter: webservices.IPublishedParameter; | ||
load(): MsdMicroflowParameter; | ||
@@ -459,2 +599,4 @@ load(callback: (element: MsdMicroflowParameter) => void): any; | ||
static typeName: string; | ||
containerAsMsdMicroflow: MsdMicroflow; | ||
containerAsPublishedParameter: webservices.PublishedParameter; | ||
private __name; | ||
@@ -475,2 +617,17 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MsdMicroflowParameter instance in the SDK and on the server. | ||
* The new MsdMicroflowParameter will be automatically stored in the 'parameters' property of the parent MsdMicroflow element passed as argument. | ||
*/ | ||
static createInMsdMicroflowUnderParameters(container: MsdMicroflow): MsdMicroflowParameter; | ||
/** | ||
* Creates and returns a new MsdMicroflowParameter instance in the SDK and on the server. | ||
* The new MsdMicroflowParameter will be automatically stored in the 'parameterByContract' property of the parent webservices.PublishedParameter element passed as argument. | ||
*/ | ||
static createInPublishedParameterUnderParameterByContract(container: webservices.PublishedParameter): MsdMicroflowParameter; | ||
/** | ||
* Creates and returns a new MsdMicroflowParameter 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): MsdMicroflowParameter; | ||
@@ -481,3 +638,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IMsdEnumerationValue; | ||
containerAsMsdEnumerationValue: IMsdEnumerationValue; | ||
load(): MsdText; | ||
@@ -489,3 +646,3 @@ load(callback: (element: MsdText) => void): any; | ||
static typeName: string; | ||
container: MsdEnumerationValue; | ||
containerAsMsdEnumerationValue: MsdEnumerationValue; | ||
private __languageCode; | ||
@@ -497,3 +654,12 @@ languageCode: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MsdText instance in the SDK and on the server. | ||
* The new MsdText will be automatically stored in the 'translations' property of the parent MsdEnumerationValue element passed as argument. | ||
*/ | ||
static createIn(container: MsdEnumerationValue): MsdText; | ||
/** | ||
* Creates and returns a new MsdText 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): MsdText; | ||
@@ -504,3 +670,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IMsd; | ||
containerAsMsd: IMsd; | ||
load(): MsdVersion; | ||
@@ -512,3 +678,3 @@ load(callback: (element: MsdVersion) => void): any; | ||
static typeName: string; | ||
container: Msd; | ||
containerAsMsd: Msd; | ||
private __version; | ||
@@ -518,3 +684,12 @@ version: number; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MsdVersion instance in the SDK and on the server. | ||
* The new MsdVersion will be automatically stored in the 'version' property of the parent Msd element passed as argument. | ||
*/ | ||
static createIn(container: Msd): MsdVersion; | ||
/** | ||
* Creates and returns a new MsdVersion 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): MsdVersion; | ||
@@ -521,0 +696,0 @@ _initializeDefaultProperties(): void; |
@@ -12,2 +12,3 @@ import { IAbstractModel, AbstractModel } from '../sdk/internal/abstract-model'; | ||
import { javaactions } from "./javaactions"; | ||
import { jsonstructures } from "./jsonstructures"; | ||
import { mappings } from "./mappings"; | ||
@@ -43,2 +44,3 @@ import { menus } from "./menus"; | ||
allJavaActions(): javaactions.IJavaAction[]; | ||
allJsonStructures(): jsonstructures.IJsonStructure[]; | ||
allLayouts(): pages.ILayout[]; | ||
@@ -52,2 +54,3 @@ allMappingDocuments(): mappings.IMappingDocument[]; | ||
allModuleSecurities(): security.IModuleSecurity[]; | ||
allMxSchemas(): xmlschemas.IMxSchema[]; | ||
allNavigationDocuments(): navigation.INavigationDocument[]; | ||
@@ -120,2 +123,3 @@ allPages(): pages.IPage[]; | ||
allJavaActions(): javaactions.IJavaAction[]; | ||
allJsonStructures(): jsonstructures.IJsonStructure[]; | ||
allLayouts(): pages.ILayout[]; | ||
@@ -129,2 +133,3 @@ allMappingDocuments(): mappings.IMappingDocument[]; | ||
allModuleSecurities(): security.IModuleSecurity[]; | ||
allMxSchemas(): xmlschemas.IMxSchema[]; | ||
allNavigationDocuments(): navigation.INavigationDocument[]; | ||
@@ -131,0 +136,0 @@ allPages(): pages.IPage[]; |
@@ -37,3 +37,3 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
return utils_1.utils.flatten([ | ||
"AppServices$ConsumedAppService", "Constants$Constant", "DataSets$DataSet", "DocumentTemplates$DocumentTemplate", "Enumerations$Enumeration", "ExportMappings$ExportMapping", "Images$ImageCollection", "ImportMappings$ImportMapping", "JavaActions$JavaAction", "Menus$MenuDocument", "Microflows$Microflow", "Microflows$Rule", "Pages$Layout", "Pages$Page", "Pages$Snippet", "RegularExpressions$RegularExpression", "Rest$PublishedODataService", "Rest$PublishedRestService", "ScheduledEvents$ScheduledEvent", "WebServices$ImportedWebService", "WebServices$PublishedAppService", "WebServices$PublishedWebService", "XmlSchemas$XmlSchema" | ||
"AppServices$ConsumedAppService", "Constants$Constant", "DataSets$DataSet", "DocumentTemplates$DocumentTemplate", "Enumerations$Enumeration", "ExportMappings$ExportMapping", "Images$ImageCollection", "ImportMappings$ImportMapping", "JavaActions$JavaAction", "JsonStructures$JsonStructure", "Menus$MenuDocument", "Microflows$Microflow", "Microflows$Rule", "Pages$Layout", "Pages$Page", "Pages$Snippet", "RegularExpressions$RegularExpression", "Rest$PublishedODataService", "Rest$PublishedRestService", "ScheduledEvents$ScheduledEvent", "WebServices$ImportedWebService", "WebServices$PublishedAppService", "WebServices$PublishedWebService", "XmlSchemas$XmlSchema" | ||
].map(function (typeName) { return _super.prototype._unitInterfacesByType.call(_this, typeName); })); | ||
@@ -107,2 +107,8 @@ }; | ||
}; | ||
BaseModel.prototype.allJsonStructures = function () { | ||
var _this = this; | ||
return utils_1.utils.flatten([ | ||
"JsonStructures$JsonStructure" | ||
].map(function (typeName) { return _super.prototype._unitInterfacesByType.call(_this, typeName); })); | ||
}; | ||
BaseModel.prototype.allLayouts = function () { | ||
@@ -147,3 +153,3 @@ var _this = this; | ||
return utils_1.utils.flatten([ | ||
"AppServices$ConsumedAppService", "Constants$Constant", "DataSets$DataSet", "DocumentTemplates$DocumentTemplate", "DomainModels$DomainModel", "Enumerations$Enumeration", "ExportMappings$ExportMapping", "Images$ImageCollection", "ImportMappings$ImportMapping", "JavaActions$JavaAction", "Menus$MenuDocument", "Microflows$Microflow", "Microflows$Rule", "Pages$Layout", "Pages$Page", "Pages$Snippet", "RegularExpressions$RegularExpression", "Rest$PublishedODataService", "Rest$PublishedRestService", "ScheduledEvents$ScheduledEvent", "WebServices$ImportedWebService", "WebServices$PublishedAppService", "WebServices$PublishedWebService", "XmlSchemas$XmlSchema" | ||
"AppServices$ConsumedAppService", "Constants$Constant", "DataSets$DataSet", "DocumentTemplates$DocumentTemplate", "DomainModels$DomainModel", "Enumerations$Enumeration", "ExportMappings$ExportMapping", "Images$ImageCollection", "ImportMappings$ImportMapping", "JavaActions$JavaAction", "JsonStructures$JsonStructure", "Menus$MenuDocument", "Microflows$Microflow", "Microflows$Rule", "Pages$Layout", "Pages$Page", "Pages$Snippet", "RegularExpressions$RegularExpression", "Rest$PublishedODataService", "Rest$PublishedRestService", "ScheduledEvents$ScheduledEvent", "WebServices$ImportedWebService", "WebServices$PublishedAppService", "WebServices$PublishedWebService", "XmlSchemas$XmlSchema" | ||
].map(function (typeName) { return _super.prototype._unitInterfacesByType.call(_this, typeName); })); | ||
@@ -157,2 +163,8 @@ }; | ||
}; | ||
BaseModel.prototype.allMxSchemas = function () { | ||
var _this = this; | ||
return utils_1.utils.flatten([ | ||
"JsonStructures$JsonStructure", "XmlSchemas$XmlSchema" | ||
].map(function (typeName) { return _super.prototype._unitInterfacesByType.call(_this, typeName); })); | ||
}; | ||
BaseModel.prototype.allNavigationDocuments = function () { | ||
@@ -159,0 +171,0 @@ var _this = this; |
@@ -13,3 +13,3 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): Constant; | ||
@@ -24,6 +24,6 @@ load(callback: (element: Constant) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __dataType; | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -37,3 +37,3 @@ dataType: string; | ||
* Creates a new Constant unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -40,0 +40,0 @@ static createIn(container: projects.IFolderBase): Constant; |
@@ -22,5 +22,10 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
} | ||
Object.defineProperty(Constant.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Constant.prototype, "dataType", { | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -40,3 +45,3 @@ get: function () { return this.__dataType.get(); }, | ||
* Creates a new Constant unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -43,0 +48,0 @@ Constant.createIn = function (container) { |
@@ -63,2 +63,20 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
containerAsDataView: pages.IDataView; | ||
containerAsDivContainer: pages.IDivContainer; | ||
containerAsGroupBox: pages.IGroupBox; | ||
containerAsHeader: pages.IHeader; | ||
containerAsLayout: pages.ILayout; | ||
containerAsLayoutCallArgument: pages.ILayoutCallArgument; | ||
containerAsLayoutGridColumn: pages.ILayoutGridColumn; | ||
containerAsListView: pages.IListView; | ||
containerAsListViewTemplate: pages.IListViewTemplate; | ||
containerAsNavigationListItem: pages.INavigationListItem; | ||
containerAsScrollContainerRegion: pages.IScrollContainerRegion; | ||
containerAsSnippet: pages.ISnippet; | ||
containerAsSplitPane: pages.ISplitPane; | ||
containerAsTabPage: pages.ITabPage; | ||
containerAsTableCell: pages.ITableCell; | ||
containerAsTemplateGridContents: pages.ITemplateGridContents; | ||
containerAsVerticalFlow: pages.IVerticalFlow; | ||
containerAsReportPane: reports.IReportPane; | ||
load(): CustomWidget; | ||
@@ -70,2 +88,20 @@ load(callback: (element: CustomWidget) => void): any; | ||
static typeName: string; | ||
containerAsDataView: pages.DataView; | ||
containerAsDivContainer: pages.DivContainer; | ||
containerAsGroupBox: pages.GroupBox; | ||
containerAsHeader: pages.Header; | ||
containerAsLayout: pages.Layout; | ||
containerAsLayoutCallArgument: pages.LayoutCallArgument; | ||
containerAsLayoutGridColumn: pages.LayoutGridColumn; | ||
containerAsListView: pages.ListView; | ||
containerAsListViewTemplate: pages.ListViewTemplate; | ||
containerAsNavigationListItem: pages.NavigationListItem; | ||
containerAsScrollContainerRegion: pages.ScrollContainerRegion; | ||
containerAsSnippet: pages.Snippet; | ||
containerAsSplitPane: pages.SplitPane; | ||
containerAsTabPage: pages.TabPage; | ||
containerAsTableCell: pages.TableCell; | ||
containerAsTemplateGridContents: pages.TemplateGridContents; | ||
containerAsVerticalFlow: pages.VerticalFlow; | ||
containerAsReportPane: reports.ReportPane; | ||
private __type; | ||
@@ -77,2 +113,112 @@ type: CustomWidgetType; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'widget' property of the parent pages.DataView element passed as argument. | ||
*/ | ||
static createInDataViewUnderWidget(container: pages.DataView): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'widget' property of the parent pages.DivContainer element passed as argument. | ||
*/ | ||
static createInDivContainerUnderWidget(container: pages.DivContainer): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'widget' property of the parent pages.GroupBox element passed as argument. | ||
*/ | ||
static createInGroupBoxUnderWidget(container: pages.GroupBox): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'leftWidget' property of the parent pages.Header element passed as argument. | ||
*/ | ||
static createInHeaderUnderLeftWidget(container: pages.Header): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'rightWidget' property of the parent pages.Header element passed as argument. | ||
*/ | ||
static createInHeaderUnderRightWidget(container: pages.Header): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'widget' property of the parent pages.Layout element passed as argument. | ||
*/ | ||
static createInLayoutUnderWidget(container: pages.Layout): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'widget' property of the parent pages.LayoutCallArgument element passed as argument. | ||
*/ | ||
static createInLayoutCallArgumentUnderWidget(container: pages.LayoutCallArgument): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'widget' property of the parent pages.LayoutGridColumn element passed as argument. | ||
*/ | ||
static createInLayoutGridColumnUnderWidget(container: pages.LayoutGridColumn): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'widget' property of the parent pages.ListView element passed as argument. | ||
*/ | ||
static createInListViewUnderWidget(container: pages.ListView): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'widget' property of the parent pages.ListViewTemplate element passed as argument. | ||
*/ | ||
static createInListViewTemplateUnderWidget(container: pages.ListViewTemplate): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'widget' property of the parent pages.NavigationListItem element passed as argument. | ||
*/ | ||
static createInNavigationListItemUnderWidget(container: pages.NavigationListItem): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'widget' property of the parent pages.ScrollContainerRegion element passed as argument. | ||
*/ | ||
static createInScrollContainerRegionUnderWidget(container: pages.ScrollContainerRegion): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'widget' property of the parent pages.Snippet element passed as argument. | ||
*/ | ||
static createInSnippetUnderWidget(container: pages.Snippet): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'firstWidget' property of the parent pages.SplitPane element passed as argument. | ||
*/ | ||
static createInSplitPaneUnderFirstWidget(container: pages.SplitPane): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'secondWidget' property of the parent pages.SplitPane element passed as argument. | ||
*/ | ||
static createInSplitPaneUnderSecondWidget(container: pages.SplitPane): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'widget' property of the parent pages.TabPage element passed as argument. | ||
*/ | ||
static createInTabPageUnderWidget(container: pages.TabPage): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'widget' property of the parent pages.TableCell element passed as argument. | ||
*/ | ||
static createInTableCellUnderWidget(container: pages.TableCell): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'widget' property of the parent pages.TemplateGridContents element passed as argument. | ||
*/ | ||
static createInTemplateGridContentsUnderWidget(container: pages.TemplateGridContents): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'widgets' property of the parent pages.VerticalFlow element passed as argument. | ||
*/ | ||
static createInVerticalFlowUnderWidgets(container: pages.VerticalFlow): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'parameterWidget' property of the parent reports.ReportPane element passed as argument. | ||
*/ | ||
static createInReportPaneUnderParameterWidget(container: reports.ReportPane): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget instance in the SDK and on the server. | ||
* The new CustomWidget will be automatically stored in the 'reportWidget' property of the parent reports.ReportPane element passed as argument. | ||
*/ | ||
static createInReportPaneUnderReportWidget(container: reports.ReportPane): CustomWidget; | ||
/** | ||
* Creates and returns a new CustomWidget 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): CustomWidget; | ||
@@ -83,3 +229,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: ICustomWidget; | ||
containerAsCustomWidget: ICustomWidget; | ||
load(): CustomWidgetType; | ||
@@ -91,3 +237,3 @@ load(callback: (element: CustomWidgetType) => void): any; | ||
static typeName: string; | ||
container: CustomWidget; | ||
containerAsCustomWidget: CustomWidget; | ||
private __widgetId; | ||
@@ -109,3 +255,12 @@ widgetId: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new CustomWidgetType instance in the SDK and on the server. | ||
* The new CustomWidgetType will be automatically stored in the 'type' property of the parent CustomWidget element passed as argument. | ||
*/ | ||
static createIn(container: CustomWidget): CustomWidgetType; | ||
/** | ||
* Creates and returns a new CustomWidgetType 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): CustomWidgetType; | ||
@@ -116,3 +271,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IWidgetValueType; | ||
containerAsWidgetValueType: IWidgetValueType; | ||
load(): WidgetEnumerationValue; | ||
@@ -124,3 +279,3 @@ load(callback: (element: WidgetEnumerationValue) => void): any; | ||
static typeName: string; | ||
container: WidgetValueType; | ||
containerAsWidgetValueType: WidgetValueType; | ||
private __key; | ||
@@ -132,3 +287,12 @@ key: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new WidgetEnumerationValue instance in the SDK and on the server. | ||
* The new WidgetEnumerationValue will be automatically stored in the 'enumerationValues' property of the parent WidgetValueType element passed as argument. | ||
*/ | ||
static createIn(container: WidgetValueType): WidgetEnumerationValue; | ||
/** | ||
* Creates and returns a new WidgetEnumerationValue 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): WidgetEnumerationValue; | ||
@@ -139,2 +303,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsCustomWidget: ICustomWidget; | ||
containerAsWidgetValue: IWidgetValue; | ||
load(): WidgetObject; | ||
@@ -146,2 +312,4 @@ load(callback: (element: WidgetObject) => void): any; | ||
static typeName: string; | ||
containerAsCustomWidget: CustomWidget; | ||
containerAsWidgetValue: WidgetValue; | ||
private __type; | ||
@@ -153,2 +321,17 @@ type: WidgetObjectType; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new WidgetObject instance in the SDK and on the server. | ||
* The new WidgetObject will be automatically stored in the 'object' property of the parent CustomWidget element passed as argument. | ||
*/ | ||
static createInCustomWidgetUnderObject(container: CustomWidget): WidgetObject; | ||
/** | ||
* Creates and returns a new WidgetObject instance in the SDK and on the server. | ||
* The new WidgetObject will be automatically stored in the 'objects' property of the parent WidgetValue element passed as argument. | ||
*/ | ||
static createInWidgetValueUnderObjects(container: WidgetValue): WidgetObject; | ||
/** | ||
* Creates and returns a new WidgetObject 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): WidgetObject; | ||
@@ -159,2 +342,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsCustomWidgetType: ICustomWidgetType; | ||
containerAsWidgetValueType: IWidgetValueType; | ||
load(): WidgetObjectType; | ||
@@ -166,2 +351,4 @@ load(callback: (element: WidgetObjectType) => void): any; | ||
static typeName: string; | ||
containerAsCustomWidgetType: CustomWidgetType; | ||
containerAsWidgetValueType: WidgetValueType; | ||
private __propertyTypes; | ||
@@ -171,2 +358,17 @@ propertyTypes: internal.IList<WidgetPropertyType>; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new WidgetObjectType instance in the SDK and on the server. | ||
* The new WidgetObjectType will be automatically stored in the 'objectType' property of the parent CustomWidgetType element passed as argument. | ||
*/ | ||
static createInCustomWidgetTypeUnderObjectType(container: CustomWidgetType): WidgetObjectType; | ||
/** | ||
* Creates and returns a new WidgetObjectType instance in the SDK and on the server. | ||
* The new WidgetObjectType will be automatically stored in the 'objectType' property of the parent WidgetValueType element passed as argument. | ||
*/ | ||
static createInWidgetValueTypeUnderObjectType(container: WidgetValueType): WidgetObjectType; | ||
/** | ||
* Creates and returns a new WidgetObjectType 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): WidgetObjectType; | ||
@@ -177,3 +379,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IWidgetObject; | ||
containerAsWidgetObject: IWidgetObject; | ||
load(): WidgetProperty; | ||
@@ -185,3 +387,3 @@ load(callback: (element: WidgetProperty) => void): any; | ||
static typeName: string; | ||
container: WidgetObject; | ||
containerAsWidgetObject: WidgetObject; | ||
private __type; | ||
@@ -193,3 +395,12 @@ type: WidgetPropertyType; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new WidgetProperty instance in the SDK and on the server. | ||
* The new WidgetProperty will be automatically stored in the 'properties' property of the parent WidgetObject element passed as argument. | ||
*/ | ||
static createIn(container: WidgetObject): WidgetProperty; | ||
/** | ||
* Creates and returns a new WidgetProperty 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): WidgetProperty; | ||
@@ -200,3 +411,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IWidgetObjectType; | ||
containerAsWidgetObjectType: IWidgetObjectType; | ||
load(): WidgetPropertyType; | ||
@@ -208,3 +419,3 @@ load(callback: (element: WidgetPropertyType) => void): any; | ||
static typeName: string; | ||
container: WidgetObjectType; | ||
containerAsWidgetObjectType: WidgetObjectType; | ||
private __key; | ||
@@ -224,3 +435,12 @@ key: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new WidgetPropertyType instance in the SDK and on the server. | ||
* The new WidgetPropertyType will be automatically stored in the 'propertyTypes' property of the parent WidgetObjectType element passed as argument. | ||
*/ | ||
static createIn(container: WidgetObjectType): WidgetPropertyType; | ||
/** | ||
* Creates and returns a new WidgetPropertyType 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): WidgetPropertyType; | ||
@@ -231,3 +451,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IWidgetValueType; | ||
containerAsWidgetValueType: IWidgetValueType; | ||
load(): WidgetReturnType; | ||
@@ -239,3 +459,3 @@ load(callback: (element: WidgetReturnType) => void): any; | ||
static typeName: string; | ||
container: WidgetValueType; | ||
containerAsWidgetValueType: WidgetValueType; | ||
private __type; | ||
@@ -249,3 +469,12 @@ type: WidgetReturnTypeEnum; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new WidgetReturnType instance in the SDK and on the server. | ||
* The new WidgetReturnType will be automatically stored in the 'returnType' property of the parent WidgetValueType element passed as argument. | ||
*/ | ||
static createIn(container: WidgetValueType): WidgetReturnType; | ||
/** | ||
* Creates and returns a new WidgetReturnType 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): WidgetReturnType; | ||
@@ -256,3 +485,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IWidgetValueType; | ||
containerAsWidgetValueType: IWidgetValueType; | ||
load(): WidgetTranslation; | ||
@@ -264,3 +493,3 @@ load(callback: (element: WidgetTranslation) => void): any; | ||
static typeName: string; | ||
container: WidgetValueType; | ||
containerAsWidgetValueType: WidgetValueType; | ||
private __languageCode; | ||
@@ -272,3 +501,12 @@ languageCode: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new WidgetTranslation instance in the SDK and on the server. | ||
* The new WidgetTranslation will be automatically stored in the 'translations' property of the parent WidgetValueType element passed as argument. | ||
*/ | ||
static createIn(container: WidgetValueType): WidgetTranslation; | ||
/** | ||
* Creates and returns a new WidgetTranslation 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): WidgetTranslation; | ||
@@ -279,3 +517,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IWidgetProperty; | ||
containerAsWidgetProperty: IWidgetProperty; | ||
load(): WidgetValue; | ||
@@ -287,3 +525,3 @@ load(callback: (element: WidgetValue) => void): any; | ||
static typeName: string; | ||
container: WidgetProperty; | ||
containerAsWidgetProperty: WidgetProperty; | ||
private __type; | ||
@@ -295,3 +533,3 @@ type: WidgetValueType; | ||
/** | ||
* The value of this property is conceptually of type Paths$EntityPath. | ||
* The value of this property is conceptually of type paths.EntityPath. | ||
*/ | ||
@@ -301,3 +539,3 @@ entityPath: string; | ||
/** | ||
* The value of this property is conceptually of type Paths$AttributePath. | ||
* The value of this property is conceptually of type paths.AttributePath. | ||
*/ | ||
@@ -318,3 +556,3 @@ attributePath: string; | ||
/** | ||
* The value of this property is conceptually of type XPathConstraints$XPathConstraint. | ||
* The value of this property is conceptually of type xPathConstraints.XPathConstraint. | ||
*/ | ||
@@ -326,3 +564,12 @@ xPathConstraint: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new WidgetValue instance in the SDK and on the server. | ||
* The new WidgetValue will be automatically stored in the 'value' property of the parent WidgetProperty element passed as argument. | ||
*/ | ||
static createIn(container: WidgetProperty): WidgetValue; | ||
/** | ||
* Creates and returns a new WidgetValue 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): WidgetValue; | ||
@@ -333,3 +580,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IWidgetPropertyType; | ||
containerAsWidgetPropertyType: IWidgetPropertyType; | ||
load(): WidgetValueType; | ||
@@ -341,3 +588,3 @@ load(callback: (element: WidgetValueType) => void): any; | ||
static typeName: string; | ||
container: WidgetPropertyType; | ||
containerAsWidgetPropertyType: WidgetPropertyType; | ||
private __type; | ||
@@ -375,3 +622,12 @@ type: WidgetValueTypeEnum; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new WidgetValueType instance in the SDK and on the server. | ||
* The new WidgetValueType will be automatically stored in the 'valueType' property of the parent WidgetPropertyType element passed as argument. | ||
*/ | ||
static createIn(container: WidgetPropertyType): WidgetValueType; | ||
/** | ||
* Creates and returns a new WidgetValueType 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): WidgetValueType; | ||
@@ -383,3 +639,4 @@ _initializeDefaultProperties(): void; | ||
import { microflows } from './microflows'; | ||
import { reports } from './reports'; | ||
import { texts } from './texts'; | ||
import { IModel } from './base-model'; |
@@ -31,3 +31,3 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): DataSet; | ||
@@ -43,3 +43,3 @@ load(callback: (element: DataSet) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __source; | ||
@@ -55,3 +55,3 @@ source: DataSetSource; | ||
* Creates a new DataSet unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -64,3 +64,3 @@ static createIn(container: projects.IFolderBase): DataSet; | ||
model: IModel; | ||
container: IDataSet; | ||
containerAsDataSet: IDataSet; | ||
load(): DataSetAccess; | ||
@@ -72,3 +72,3 @@ load(callback: (element: DataSetAccess) => void): any; | ||
static typeName: string; | ||
container: DataSet; | ||
containerAsDataSet: DataSet; | ||
private __moduleRoleAccessList; | ||
@@ -78,3 +78,12 @@ moduleRoleAccessList: internal.IList<DataSetModuleRoleAccess>; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DataSetAccess instance in the SDK and on the server. | ||
* The new DataSetAccess will be automatically stored in the 'dataSetAccess' property of the parent DataSet element passed as argument. | ||
*/ | ||
static createIn(container: DataSet): DataSetAccess; | ||
/** | ||
* Creates and returns a new DataSetAccess 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): DataSetAccess; | ||
@@ -85,3 +94,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IJavaDataSetSource; | ||
containerAsJavaDataSetSource: IJavaDataSetSource; | ||
load(): DataSetColumn; | ||
@@ -93,3 +102,3 @@ load(callback: (element: DataSetColumn) => void): any; | ||
static typeName: string; | ||
container: JavaDataSetSource; | ||
containerAsJavaDataSetSource: JavaDataSetSource; | ||
private __name; | ||
@@ -99,3 +108,3 @@ name: string; | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -105,3 +114,12 @@ type: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DataSetColumn instance in the SDK and on the server. | ||
* The new DataSetColumn will be automatically stored in the 'columns' property of the parent JavaDataSetSource element passed as argument. | ||
*/ | ||
static createIn(container: JavaDataSetSource): DataSetColumn; | ||
/** | ||
* Creates and returns a new DataSetColumn 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): DataSetColumn; | ||
@@ -112,3 +130,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IDataSetParameterAccess; | ||
containerAsDataSetParameterAccess: IDataSetParameterAccess; | ||
load(): DataSetConstraintAccess; | ||
@@ -120,3 +138,3 @@ load(callback: (element: DataSetConstraintAccess) => void): any; | ||
static typeName: string; | ||
container: DataSetParameterAccess; | ||
containerAsDataSetParameterAccess: DataSetParameterAccess; | ||
private __constraintText; | ||
@@ -128,3 +146,12 @@ constraintText: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DataSetConstraintAccess instance in the SDK and on the server. | ||
* The new DataSetConstraintAccess will be automatically stored in the 'constraintAccessList' property of the parent DataSetParameterAccess element passed as argument. | ||
*/ | ||
static createIn(container: DataSetParameterAccess): DataSetConstraintAccess; | ||
/** | ||
* Creates and returns a new DataSetConstraintAccess 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): DataSetConstraintAccess; | ||
@@ -135,3 +162,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IDataSetParameter; | ||
containerAsDataSetParameter: IDataSetParameter; | ||
load(): DataSetParameterConstraint; | ||
@@ -148,3 +175,3 @@ load(callback: (element: DataSetParameterConstraint) => void): any; | ||
static typeName: string; | ||
container: DataSetParameter; | ||
containerAsDataSetParameter: DataSetParameter; | ||
static versionInfo: StructureVersionInfo; | ||
@@ -156,3 +183,3 @@ constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
model: IModel; | ||
container: IDataSetParameter; | ||
containerAsDataSetParameter: IDataSetParameter; | ||
load(): DataSetDateTimeConstraint; | ||
@@ -164,3 +191,3 @@ load(callback: (element: DataSetDateTimeConstraint) => void): any; | ||
static typeName: string; | ||
container: DataSetParameter; | ||
containerAsDataSetParameter: DataSetParameter; | ||
private __modifier; | ||
@@ -172,3 +199,12 @@ modifier: DateTimeIntervalModifier; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DataSetDateTimeConstraint instance in the SDK and on the server. | ||
* The new DataSetDateTimeConstraint will be automatically stored in the 'constraints' property of the parent DataSetParameter element passed as argument. | ||
*/ | ||
static createIn(container: DataSetParameter): DataSetDateTimeConstraint; | ||
/** | ||
* Creates and returns a new DataSetDateTimeConstraint 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): DataSetDateTimeConstraint; | ||
@@ -179,3 +215,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IDataSetAccess; | ||
containerAsDataSetAccess: IDataSetAccess; | ||
load(): DataSetModuleRoleAccess; | ||
@@ -187,3 +223,3 @@ load(callback: (element: DataSetModuleRoleAccess) => void): any; | ||
static typeName: string; | ||
container: DataSetAccess; | ||
containerAsDataSetAccess: DataSetAccess; | ||
private __parameterAccessList; | ||
@@ -196,3 +232,12 @@ parameterAccessList: internal.IList<DataSetParameterAccess>; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DataSetModuleRoleAccess instance in the SDK and on the server. | ||
* The new DataSetModuleRoleAccess will be automatically stored in the 'moduleRoleAccessList' property of the parent DataSetAccess element passed as argument. | ||
*/ | ||
static createIn(container: DataSetAccess): DataSetModuleRoleAccess; | ||
/** | ||
* Creates and returns a new DataSetModuleRoleAccess 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): DataSetModuleRoleAccess; | ||
@@ -203,3 +248,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IDataSetParameter; | ||
containerAsDataSetParameter: IDataSetParameter; | ||
load(): DataSetNumericConstraint; | ||
@@ -211,3 +256,3 @@ load(callback: (element: DataSetNumericConstraint) => void): any; | ||
static typeName: string; | ||
container: DataSetParameter; | ||
containerAsDataSetParameter: DataSetParameter; | ||
private __begin; | ||
@@ -223,3 +268,12 @@ begin: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DataSetNumericConstraint instance in the SDK and on the server. | ||
* The new DataSetNumericConstraint will be automatically stored in the 'constraints' property of the parent DataSetParameter element passed as argument. | ||
*/ | ||
static createIn(container: DataSetParameter): DataSetNumericConstraint; | ||
/** | ||
* Creates and returns a new DataSetNumericConstraint 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): DataSetNumericConstraint; | ||
@@ -230,3 +284,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IDataSetParameter; | ||
containerAsDataSetParameter: IDataSetParameter; | ||
load(): DataSetObjectConstraint; | ||
@@ -238,3 +292,3 @@ load(callback: (element: DataSetObjectConstraint) => void): any; | ||
static typeName: string; | ||
container: DataSetParameter; | ||
containerAsDataSetParameter: DataSetParameter; | ||
private __name; | ||
@@ -244,3 +298,3 @@ name: string; | ||
/** | ||
* The value of this property is conceptually of type XPathConstraints$XPathConstraint. | ||
* The value of this property is conceptually of type xPathConstraints.XPathConstraint. | ||
*/ | ||
@@ -250,3 +304,12 @@ constraint: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DataSetObjectConstraint instance in the SDK and on the server. | ||
* The new DataSetObjectConstraint will be automatically stored in the 'constraints' property of the parent DataSetParameter element passed as argument. | ||
*/ | ||
static createIn(container: DataSetParameter): DataSetObjectConstraint; | ||
/** | ||
* Creates and returns a new DataSetObjectConstraint 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): DataSetObjectConstraint; | ||
@@ -257,3 +320,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IDataSet; | ||
containerAsDataSet: IDataSet; | ||
load(): DataSetParameter; | ||
@@ -266,3 +329,3 @@ load(callback: (element: DataSetParameter) => void): any; | ||
static typeName: string; | ||
container: DataSet; | ||
containerAsDataSet: DataSet; | ||
private __name; | ||
@@ -272,3 +335,3 @@ name: string; | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -280,3 +343,12 @@ type: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DataSetParameter instance in the SDK and on the server. | ||
* The new DataSetParameter will be automatically stored in the 'parameters' property of the parent DataSet element passed as argument. | ||
*/ | ||
static createIn(container: DataSet): DataSetParameter; | ||
/** | ||
* Creates and returns a new DataSetParameter 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): DataSetParameter; | ||
@@ -287,3 +359,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IDataSetModuleRoleAccess; | ||
containerAsDataSetModuleRoleAccess: IDataSetModuleRoleAccess; | ||
load(): DataSetParameterAccess; | ||
@@ -295,3 +367,3 @@ load(callback: (element: DataSetParameterAccess) => void): any; | ||
static typeName: string; | ||
container: DataSetModuleRoleAccess; | ||
containerAsDataSetModuleRoleAccess: DataSetModuleRoleAccess; | ||
private __parameterName; | ||
@@ -303,3 +375,12 @@ parameterName: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DataSetParameterAccess instance in the SDK and on the server. | ||
* The new DataSetParameterAccess will be automatically stored in the 'parameterAccessList' property of the parent DataSetModuleRoleAccess element passed as argument. | ||
*/ | ||
static createIn(container: DataSetModuleRoleAccess): DataSetParameterAccess; | ||
/** | ||
* Creates and returns a new DataSetParameterAccess 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): DataSetParameterAccess; | ||
@@ -310,3 +391,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IDataSet; | ||
containerAsDataSet: IDataSet; | ||
load(): DataSetSource; | ||
@@ -323,3 +404,3 @@ load(callback: (element: DataSetSource) => void): any; | ||
static typeName: string; | ||
container: DataSet; | ||
containerAsDataSet: DataSet; | ||
static versionInfo: StructureVersionInfo; | ||
@@ -331,3 +412,3 @@ constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
model: IModel; | ||
container: IDataSet; | ||
containerAsDataSet: IDataSet; | ||
load(): JavaDataSetSource; | ||
@@ -339,3 +420,3 @@ load(callback: (element: JavaDataSetSource) => void): any; | ||
static typeName: string; | ||
container: DataSet; | ||
containerAsDataSet: DataSet; | ||
private __columns; | ||
@@ -345,3 +426,12 @@ columns: internal.IList<DataSetColumn>; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new JavaDataSetSource instance in the SDK and on the server. | ||
* The new JavaDataSetSource will be automatically stored in the 'source' property of the parent DataSet element passed as argument. | ||
*/ | ||
static createIn(container: DataSet): JavaDataSetSource; | ||
/** | ||
* Creates and returns a new JavaDataSetSource 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): JavaDataSetSource; | ||
@@ -352,3 +442,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IDataSet; | ||
containerAsDataSet: IDataSet; | ||
load(): OqlDataSetSource; | ||
@@ -360,6 +450,6 @@ load(callback: (element: OqlDataSetSource) => void): any; | ||
static typeName: string; | ||
container: DataSet; | ||
containerAsDataSet: DataSet; | ||
private __query; | ||
/** | ||
* The value of this property is conceptually of type Oql$OqlQuery. | ||
* The value of this property is conceptually of type oql.OqlQuery. | ||
*/ | ||
@@ -371,3 +461,12 @@ query: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new OqlDataSetSource instance in the SDK and on the server. | ||
* The new OqlDataSetSource will be automatically stored in the 'source' property of the parent DataSet element passed as argument. | ||
*/ | ||
static createIn(container: DataSet): OqlDataSetSource; | ||
/** | ||
* Creates and returns a new OqlDataSetSource 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): OqlDataSetSource; | ||
@@ -374,0 +473,0 @@ _initializeDefaultProperties(): void; |
@@ -53,2 +53,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
} | ||
Object.defineProperty(DataSet.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(DataSet.prototype, "source", { | ||
@@ -74,3 +79,3 @@ get: function () { return this.__source.get(); }, | ||
* Creates a new DataSet unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -117,2 +122,7 @@ DataSet.createIn = function (container) { | ||
} | ||
Object.defineProperty(DataSetAccess.prototype, "containerAsDataSet", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, DataSet); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(DataSetAccess.prototype, "moduleRoleAccessList", { | ||
@@ -124,3 +134,3 @@ get: function () { return this.__moduleRoleAccessList.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new DataSetAccess instance in the SDK and on the server. | ||
@@ -132,3 +142,3 @@ * The new DataSetAccess will be automatically stored in the 'dataSetAccess' property of the parent DataSet element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new DataSetAccess instance in the SDK and on the server. | ||
@@ -158,2 +168,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(DataSetColumn.prototype, "containerAsJavaDataSetSource", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, JavaDataSetSource); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(DataSetColumn.prototype, "name", { | ||
@@ -167,3 +182,3 @@ get: function () { return this.__name.get(); }, | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -175,3 +190,3 @@ get: function () { return this.__type.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new DataSetColumn instance in the SDK and on the server. | ||
@@ -183,3 +198,3 @@ * The new DataSetColumn will be automatically stored in the 'columns' property of the parent JavaDataSetSource element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new DataSetColumn instance in the SDK and on the server. | ||
@@ -211,2 +226,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(DataSetConstraintAccess.prototype, "containerAsDataSetParameterAccess", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, DataSetParameterAccess); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(DataSetConstraintAccess.prototype, "constraintText", { | ||
@@ -224,3 +244,3 @@ get: function () { return this.__constraintText.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new DataSetConstraintAccess instance in the SDK and on the server. | ||
@@ -232,3 +252,3 @@ * The new DataSetConstraintAccess will be automatically stored in the 'constraintAccessList' property of the parent DataSetParameterAccess element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new DataSetConstraintAccess instance in the SDK and on the server. | ||
@@ -261,2 +281,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(DataSetParameterConstraint.prototype, "containerAsDataSetParameter", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, DataSetParameter); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
DataSetParameterConstraint.prototype._initializeDefaultProperties = function () { | ||
@@ -279,2 +304,7 @@ _super.prototype._initializeDefaultProperties.call(this); | ||
} | ||
Object.defineProperty(DataSetDateTimeConstraint.prototype, "containerAsDataSetParameter", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, DataSetParameter); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(DataSetDateTimeConstraint.prototype, "modifier", { | ||
@@ -292,3 +322,3 @@ get: function () { return this.__modifier.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new DataSetDateTimeConstraint instance in the SDK and on the server. | ||
@@ -300,3 +330,3 @@ * The new DataSetDateTimeConstraint will be automatically stored in the 'constraints' property of the parent DataSetParameter element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new DataSetDateTimeConstraint instance in the SDK and on the server. | ||
@@ -328,2 +358,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(DataSetModuleRoleAccess.prototype, "containerAsDataSetAccess", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, DataSetAccess); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(DataSetModuleRoleAccess.prototype, "parameterAccessList", { | ||
@@ -346,3 +381,3 @@ get: function () { return this.__parameterAccessList.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new DataSetModuleRoleAccess instance in the SDK and on the server. | ||
@@ -354,3 +389,3 @@ * The new DataSetModuleRoleAccess will be automatically stored in the 'moduleRoleAccessList' property of the parent DataSetAccess element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new DataSetModuleRoleAccess instance in the SDK and on the server. | ||
@@ -382,2 +417,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(DataSetNumericConstraint.prototype, "containerAsDataSetParameter", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, DataSetParameter); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(DataSetNumericConstraint.prototype, "begin", { | ||
@@ -407,3 +447,3 @@ get: function () { return this.__begin.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new DataSetNumericConstraint instance in the SDK and on the server. | ||
@@ -415,3 +455,3 @@ * The new DataSetNumericConstraint will be automatically stored in the 'constraints' property of the parent DataSetParameter element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new DataSetNumericConstraint instance in the SDK and on the server. | ||
@@ -445,2 +485,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(DataSetObjectConstraint.prototype, "containerAsDataSetParameter", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, DataSetParameter); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(DataSetObjectConstraint.prototype, "name", { | ||
@@ -454,3 +499,3 @@ get: function () { return this.__name.get(); }, | ||
/** | ||
* The value of this property is conceptually of type XPathConstraints$XPathConstraint. | ||
* The value of this property is conceptually of type xPathConstraints.XPathConstraint. | ||
*/ | ||
@@ -462,3 +507,3 @@ get: function () { return this.__constraint.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new DataSetObjectConstraint instance in the SDK and on the server. | ||
@@ -470,3 +515,3 @@ * The new DataSetObjectConstraint will be automatically stored in the 'constraints' property of the parent DataSetParameter element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new DataSetObjectConstraint instance in the SDK and on the server. | ||
@@ -497,2 +542,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(DataSetParameter.prototype, "containerAsDataSet", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, DataSet); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(DataSetParameter.prototype, "name", { | ||
@@ -506,3 +556,3 @@ get: function () { return this.__name.get(); }, | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -520,3 +570,3 @@ get: function () { return this.__type.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new DataSetParameter instance in the SDK and on the server. | ||
@@ -528,3 +578,3 @@ * The new DataSetParameter will be automatically stored in the 'parameters' property of the parent DataSet element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new DataSetParameter instance in the SDK and on the server. | ||
@@ -566,2 +616,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(DataSetParameterAccess.prototype, "containerAsDataSetModuleRoleAccess", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, DataSetModuleRoleAccess); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(DataSetParameterAccess.prototype, "parameterName", { | ||
@@ -579,3 +634,3 @@ get: function () { return this.__parameterName.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new DataSetParameterAccess instance in the SDK and on the server. | ||
@@ -587,3 +642,3 @@ * The new DataSetParameterAccess will be automatically stored in the 'parameterAccessList' property of the parent DataSetModuleRoleAccess element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new DataSetParameterAccess instance in the SDK and on the server. | ||
@@ -616,2 +671,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(DataSetSource.prototype, "containerAsDataSet", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, DataSet); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
DataSetSource.prototype._initializeDefaultProperties = function () { | ||
@@ -633,2 +693,7 @@ _super.prototype._initializeDefaultProperties.call(this); | ||
} | ||
Object.defineProperty(JavaDataSetSource.prototype, "containerAsDataSet", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, DataSet); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(JavaDataSetSource.prototype, "columns", { | ||
@@ -640,3 +705,3 @@ get: function () { return this.__columns.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new JavaDataSetSource instance in the SDK and on the server. | ||
@@ -648,3 +713,3 @@ * The new JavaDataSetSource will be automatically stored in the 'source' property of the parent DataSet element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new JavaDataSetSource instance in the SDK and on the server. | ||
@@ -674,5 +739,10 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(OqlDataSetSource.prototype, "containerAsDataSet", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, DataSet); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(OqlDataSetSource.prototype, "query", { | ||
/** | ||
* The value of this property is conceptually of type Oql$OqlQuery. | ||
* The value of this property is conceptually of type oql.OqlQuery. | ||
*/ | ||
@@ -690,3 +760,3 @@ get: function () { return this.__query.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new OqlDataSetSource instance in the SDK and on the server. | ||
@@ -698,3 +768,3 @@ * The new OqlDataSetSource will be automatically stored in the 'source' property of the parent DataSet element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new OqlDataSetSource instance in the SDK and on the server. | ||
@@ -701,0 +771,0 @@ * Expects one argument: the IModel object the instance will "live on". |
@@ -32,2 +32,4 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsDropZone: IDropZone; | ||
load(): Widget; | ||
@@ -44,2 +46,4 @@ load(callback: (element: Widget) => void): any; | ||
static typeName: string; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsDropZone: DropZone; | ||
private __name; | ||
@@ -53,2 +57,4 @@ name: string; | ||
model: IModel; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsDropZone: IDropZone; | ||
load(): AttributeWidget; | ||
@@ -65,5 +71,7 @@ load(callback: (element: AttributeWidget) => void): any; | ||
static typeName: string; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsDropZone: DropZone; | ||
private __attributePath; | ||
/** | ||
* The value of this property is conceptually of type Paths$AttributePath. | ||
* The value of this property is conceptually of type paths.AttributePath. | ||
*/ | ||
@@ -77,3 +85,3 @@ attributePath: string; | ||
model: IModel; | ||
container: ITableRow; | ||
containerAsTableRow: ITableRow; | ||
load(): ConditionSettings; | ||
@@ -85,3 +93,3 @@ load(callback: (element: ConditionSettings) => void): any; | ||
static typeName: string; | ||
container: TableRow; | ||
containerAsTableRow: TableRow; | ||
private __conditions; | ||
@@ -94,3 +102,12 @@ conditions: internal.IList<enumerations.Condition>; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new ConditionSettings instance in the SDK and on the server. | ||
* The new ConditionSettings will be automatically stored in the 'conditionSettings' property of the parent TableRow element passed as argument. | ||
*/ | ||
static createIn(container: TableRow): ConditionSettings; | ||
/** | ||
* Creates and returns a new ConditionSettings 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): ConditionSettings; | ||
@@ -101,2 +118,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsDropZone: IDropZone; | ||
load(): EntityWidget; | ||
@@ -113,5 +132,7 @@ load(callback: (element: EntityWidget) => void): any; | ||
static typeName: string; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsDropZone: DropZone; | ||
private __entityPath; | ||
/** | ||
* The value of this property is conceptually of type Paths$EntityPath. | ||
* The value of this property is conceptually of type paths.EntityPath. | ||
*/ | ||
@@ -125,2 +146,4 @@ entityPath: string; | ||
model: IModel; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsDropZone: IDropZone; | ||
load(): Grid; | ||
@@ -137,2 +160,4 @@ load(callback: (element: Grid) => void): any; | ||
static typeName: string; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsDropZone: DropZone; | ||
private __cellSpacing; | ||
@@ -158,2 +183,4 @@ cellSpacing: number; | ||
model: IModel; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsDropZone: IDropZone; | ||
load(): DataGrid; | ||
@@ -168,2 +195,4 @@ load(callback: (element: DataGrid) => void): any; | ||
static typeName: string; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsDropZone: DropZone; | ||
private __columns; | ||
@@ -175,2 +204,17 @@ columns: internal.IList<DataGridColumn>; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DataGrid instance in the SDK and on the server. | ||
* The new DataGrid will be automatically stored in the 'toplevels' property of the parent DocumentTemplate element passed as argument. | ||
*/ | ||
static createInDocumentTemplateUnderToplevels(container: DocumentTemplate): DataGrid; | ||
/** | ||
* Creates and returns a new DataGrid instance in the SDK and on the server. | ||
* The new DataGrid will be automatically stored in the 'widget' property of the parent DropZone element passed as argument. | ||
*/ | ||
static createInDropZoneUnderWidget(container: DropZone): DataGrid; | ||
/** | ||
* Creates and returns a new DataGrid 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): DataGrid; | ||
@@ -184,3 +228,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IDataGridColumn; | ||
containerAsDataGridColumn: IDataGridColumn; | ||
load(): DataGridCell; | ||
@@ -195,3 +239,3 @@ load(callback: (element: DataGridCell) => void): any; | ||
static typeName: string; | ||
container: DataGridColumn; | ||
containerAsDataGridColumn: DataGridColumn; | ||
private __style; | ||
@@ -201,3 +245,17 @@ style: Style; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
static createIn(container: DataGridColumn): DataGridCell; | ||
/** | ||
* Creates and returns a new DataGridCell instance in the SDK and on the server. | ||
* The new DataGridCell will be automatically stored in the 'evenRowsCell' property of the parent DataGridColumn element passed as argument. | ||
*/ | ||
static createInDataGridColumnUnderEvenRowsCell(container: DataGridColumn): DataGridCell; | ||
/** | ||
* Creates and returns a new DataGridCell instance in the SDK and on the server. | ||
* The new DataGridCell will be automatically stored in the 'oddRowsCell' property of the parent DataGridColumn element passed as argument. | ||
*/ | ||
static createInDataGridColumnUnderOddRowsCell(container: DataGridColumn): DataGridCell; | ||
/** | ||
* Creates and returns a new DataGridCell 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): DataGridCell; | ||
@@ -211,3 +269,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IDataGrid; | ||
containerAsDataGrid: IDataGrid; | ||
load(): DataGridColumn; | ||
@@ -222,6 +280,6 @@ load(callback: (element: DataGridColumn) => void): any; | ||
static typeName: string; | ||
container: DataGrid; | ||
containerAsDataGrid: DataGrid; | ||
private __attributePath; | ||
/** | ||
* The value of this property is conceptually of type Paths$AttributePath. | ||
* The value of this property is conceptually of type paths.AttributePath. | ||
*/ | ||
@@ -241,3 +299,12 @@ attributePath: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DataGridColumn instance in the SDK and on the server. | ||
* The new DataGridColumn will be automatically stored in the 'columns' property of the parent DataGrid element passed as argument. | ||
*/ | ||
static createIn(container: DataGrid): DataGridColumn; | ||
/** | ||
* Creates and returns a new DataGridColumn 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): DataGridColumn; | ||
@@ -251,2 +318,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsDropZone: IDropZone; | ||
load(): DataView; | ||
@@ -261,2 +330,4 @@ load(callback: (element: DataView) => void): any; | ||
static typeName: string; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsDropZone: DropZone; | ||
private __contents; | ||
@@ -269,2 +340,17 @@ contents: DataViewContents; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DataView instance in the SDK and on the server. | ||
* The new DataView will be automatically stored in the 'toplevels' property of the parent DocumentTemplate element passed as argument. | ||
*/ | ||
static createInDocumentTemplateUnderToplevels(container: DocumentTemplate): DataView; | ||
/** | ||
* Creates and returns a new DataView instance in the SDK and on the server. | ||
* The new DataView will be automatically stored in the 'widget' property of the parent DropZone element passed as argument. | ||
*/ | ||
static createInDropZoneUnderWidget(container: DropZone): DataView; | ||
/** | ||
* Creates and returns a new DataView 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): DataView; | ||
@@ -275,2 +361,6 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsDataView: IDataView; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsTableRow: ITableRow; | ||
containerAsTemplateGrid: ITemplateGrid; | ||
load(): DropZone; | ||
@@ -287,2 +377,6 @@ load(callback: (element: DropZone) => void): any; | ||
static typeName: string; | ||
containerAsDataView: DataView; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsTableRow: TableRow; | ||
containerAsTemplateGrid: TemplateGrid; | ||
private __widget; | ||
@@ -296,3 +390,3 @@ widget: Widget; | ||
model: IModel; | ||
container: IDataView; | ||
containerAsDataView: IDataView; | ||
load(): DataViewContents; | ||
@@ -304,6 +398,15 @@ load(callback: (element: DataViewContents) => void): any; | ||
static typeName: string; | ||
container: DataView; | ||
containerAsDataView: DataView; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DataViewContents instance in the SDK and on the server. | ||
* The new DataViewContents will be automatically stored in the 'contents' property of the parent DataView element passed as argument. | ||
*/ | ||
static createIn(container: DataView): DataViewContents; | ||
/** | ||
* Creates and returns a new DataViewContents 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): DataViewContents; | ||
@@ -317,3 +420,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): DocumentTemplate; | ||
@@ -328,3 +431,3 @@ load(callback: (element: DocumentTemplate) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __toplevels; | ||
@@ -360,3 +463,3 @@ toplevels: internal.IList<Widget>; | ||
* Creates a new DocumentTemplate unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -369,3 +472,3 @@ static createIn(container: projects.IFolderBase): DocumentTemplate; | ||
model: IModel; | ||
container: IDocumentTemplate; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
load(): DocumentTemplateParameter; | ||
@@ -375,3 +478,3 @@ load(callback: (element: DocumentTemplateParameter) => void): any; | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -383,3 +486,3 @@ type: string; | ||
static typeName: string; | ||
container: DocumentTemplate; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
private __name; | ||
@@ -389,3 +492,3 @@ name: string; | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -402,2 +505,4 @@ type: string; | ||
model: IModel; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsDropZone: IDropZone; | ||
load(): DynamicImageViewer; | ||
@@ -412,2 +517,4 @@ load(callback: (element: DynamicImageViewer) => void): any; | ||
static typeName: string; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsDropZone: DropZone; | ||
private __defaultImage; | ||
@@ -424,2 +531,17 @@ defaultImage: images.IImage; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DynamicImageViewer instance in the SDK and on the server. | ||
* The new DynamicImageViewer will be automatically stored in the 'toplevels' property of the parent DocumentTemplate element passed as argument. | ||
*/ | ||
static createInDocumentTemplateUnderToplevels(container: DocumentTemplate): DynamicImageViewer; | ||
/** | ||
* Creates and returns a new DynamicImageViewer instance in the SDK and on the server. | ||
* The new DynamicImageViewer will be automatically stored in the 'widget' property of the parent DropZone element passed as argument. | ||
*/ | ||
static createInDropZoneUnderWidget(container: DropZone): DynamicImageViewer; | ||
/** | ||
* Creates and returns a new DynamicImageViewer 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): DynamicImageViewer; | ||
@@ -433,2 +555,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsDropZone: IDropZone; | ||
load(): DynamicLabel; | ||
@@ -443,2 +567,4 @@ load(callback: (element: DynamicLabel) => void): any; | ||
static typeName: string; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsDropZone: DropZone; | ||
private __style; | ||
@@ -452,2 +578,17 @@ style: Style; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DynamicLabel instance in the SDK and on the server. | ||
* The new DynamicLabel will be automatically stored in the 'toplevels' property of the parent DocumentTemplate element passed as argument. | ||
*/ | ||
static createInDocumentTemplateUnderToplevels(container: DocumentTemplate): DynamicLabel; | ||
/** | ||
* Creates and returns a new DynamicLabel instance in the SDK and on the server. | ||
* The new DynamicLabel will be automatically stored in the 'widget' property of the parent DropZone element passed as argument. | ||
*/ | ||
static createInDropZoneUnderWidget(container: DropZone): DynamicLabel; | ||
/** | ||
* Creates and returns a new DynamicLabel 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): DynamicLabel; | ||
@@ -461,3 +602,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IDocumentTemplate; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
load(): Footer; | ||
@@ -472,3 +613,3 @@ load(callback: (element: Footer) => void): any; | ||
static typeName: string; | ||
container: DocumentTemplate; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
private __bottomMargin; | ||
@@ -478,3 +619,12 @@ bottomMargin: number; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new Footer instance in the SDK and on the server. | ||
* The new Footer will be automatically stored in the 'footer' property of the parent DocumentTemplate element passed as argument. | ||
*/ | ||
static createIn(container: DocumentTemplate): Footer; | ||
/** | ||
* Creates and returns a new Footer 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): Footer; | ||
@@ -488,3 +638,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IGrid; | ||
containerAsGrid: IGrid; | ||
load(): GridSortBar; | ||
@@ -499,3 +649,3 @@ load(callback: (element: GridSortBar) => void): any; | ||
static typeName: string; | ||
container: Grid; | ||
containerAsGrid: Grid; | ||
private __sortItems; | ||
@@ -505,3 +655,12 @@ sortItems: internal.IList<GridSortItem>; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new GridSortBar instance in the SDK and on the server. | ||
* The new GridSortBar will be automatically stored in the 'sortBar' property of the parent Grid element passed as argument. | ||
*/ | ||
static createIn(container: Grid): GridSortBar; | ||
/** | ||
* Creates and returns a new GridSortBar 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): GridSortBar; | ||
@@ -512,3 +671,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IGridSortBar; | ||
containerAsGridSortBar: IGridSortBar; | ||
load(): GridSortItem; | ||
@@ -520,6 +679,6 @@ load(callback: (element: GridSortItem) => void): any; | ||
static typeName: string; | ||
container: GridSortBar; | ||
containerAsGridSortBar: GridSortBar; | ||
private __attributePath; | ||
/** | ||
* The value of this property is conceptually of type Paths$AttributePath. | ||
* The value of this property is conceptually of type paths.AttributePath. | ||
*/ | ||
@@ -531,3 +690,12 @@ attributePath: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new GridSortItem instance in the SDK and on the server. | ||
* The new GridSortItem will be automatically stored in the 'sortItems' property of the parent GridSortBar element passed as argument. | ||
*/ | ||
static createIn(container: GridSortBar): GridSortItem; | ||
/** | ||
* Creates and returns a new GridSortItem 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): GridSortItem; | ||
@@ -541,3 +709,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IDocumentTemplate; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
load(): Header; | ||
@@ -552,3 +720,3 @@ load(callback: (element: Header) => void): any; | ||
static typeName: string; | ||
container: DocumentTemplate; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
private __topMargin; | ||
@@ -558,3 +726,12 @@ topMargin: number; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new Header instance in the SDK and on the server. | ||
* The new Header will be automatically stored in the 'header' property of the parent DocumentTemplate element passed as argument. | ||
*/ | ||
static createIn(container: DocumentTemplate): Header; | ||
/** | ||
* Creates and returns a new Header 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): Header; | ||
@@ -568,2 +745,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsDropZone: IDropZone; | ||
load(): LineBreak; | ||
@@ -578,4 +757,21 @@ load(callback: (element: LineBreak) => void): any; | ||
static typeName: string; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsDropZone: DropZone; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new LineBreak instance in the SDK and on the server. | ||
* The new LineBreak will be automatically stored in the 'toplevels' property of the parent DocumentTemplate element passed as argument. | ||
*/ | ||
static createInDocumentTemplateUnderToplevels(container: DocumentTemplate): LineBreak; | ||
/** | ||
* Creates and returns a new LineBreak instance in the SDK and on the server. | ||
* The new LineBreak will be automatically stored in the 'widget' property of the parent DropZone element passed as argument. | ||
*/ | ||
static createInDropZoneUnderWidget(container: DropZone): LineBreak; | ||
/** | ||
* Creates and returns a new LineBreak 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): LineBreak; | ||
@@ -589,2 +785,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsDropZone: IDropZone; | ||
load(): PageBreak; | ||
@@ -599,4 +797,21 @@ load(callback: (element: PageBreak) => void): any; | ||
static typeName: string; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsDropZone: DropZone; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new PageBreak instance in the SDK and on the server. | ||
* The new PageBreak will be automatically stored in the 'toplevels' property of the parent DocumentTemplate element passed as argument. | ||
*/ | ||
static createInDocumentTemplateUnderToplevels(container: DocumentTemplate): PageBreak; | ||
/** | ||
* Creates and returns a new PageBreak instance in the SDK and on the server. | ||
* The new PageBreak will be automatically stored in the 'widget' property of the parent DropZone element passed as argument. | ||
*/ | ||
static createInDropZoneUnderWidget(container: DropZone): PageBreak; | ||
/** | ||
* Creates and returns a new PageBreak 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): PageBreak; | ||
@@ -610,2 +825,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsDropZone: IDropZone; | ||
load(): StaticImageViewer; | ||
@@ -620,2 +837,4 @@ load(callback: (element: StaticImageViewer) => void): any; | ||
static typeName: string; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsDropZone: DropZone; | ||
private __image; | ||
@@ -630,2 +849,17 @@ image: images.IImage; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new StaticImageViewer instance in the SDK and on the server. | ||
* The new StaticImageViewer will be automatically stored in the 'toplevels' property of the parent DocumentTemplate element passed as argument. | ||
*/ | ||
static createInDocumentTemplateUnderToplevels(container: DocumentTemplate): StaticImageViewer; | ||
/** | ||
* Creates and returns a new StaticImageViewer instance in the SDK and on the server. | ||
* The new StaticImageViewer will be automatically stored in the 'widget' property of the parent DropZone element passed as argument. | ||
*/ | ||
static createInDropZoneUnderWidget(container: DropZone): StaticImageViewer; | ||
/** | ||
* Creates and returns a new StaticImageViewer 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): StaticImageViewer; | ||
@@ -639,2 +873,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsDropZone: IDropZone; | ||
load(): StaticLabel; | ||
@@ -649,2 +885,4 @@ load(callback: (element: StaticLabel) => void): any; | ||
static typeName: string; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsDropZone: DropZone; | ||
private __caption; | ||
@@ -656,2 +894,17 @@ caption: texts.Text; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new StaticLabel instance in the SDK and on the server. | ||
* The new StaticLabel will be automatically stored in the 'toplevels' property of the parent DocumentTemplate element passed as argument. | ||
*/ | ||
static createInDocumentTemplateUnderToplevels(container: DocumentTemplate): StaticLabel; | ||
/** | ||
* Creates and returns a new StaticLabel instance in the SDK and on the server. | ||
* The new StaticLabel will be automatically stored in the 'widget' property of the parent DropZone element passed as argument. | ||
*/ | ||
static createInDropZoneUnderWidget(container: DropZone): StaticLabel; | ||
/** | ||
* Creates and returns a new StaticLabel 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): StaticLabel; | ||
@@ -665,2 +918,11 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsDataGridCell: IDataGridCell; | ||
containerAsDataGridColumn: IDataGridColumn; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsDynamicLabel: IDynamicLabel; | ||
containerAsGrid: IGrid; | ||
containerAsStaticLabel: IStaticLabel; | ||
containerAsTable: ITable; | ||
containerAsTableCell: ITableCell; | ||
containerAsTitle: ITitle; | ||
load(): Style; | ||
@@ -675,2 +937,11 @@ load(callback: (element: Style) => void): any; | ||
static typeName: string; | ||
containerAsDataGridCell: DataGridCell; | ||
containerAsDataGridColumn: DataGridColumn; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsDynamicLabel: DynamicLabel; | ||
containerAsGrid: Grid; | ||
containerAsStaticLabel: StaticLabel; | ||
containerAsTable: Table; | ||
containerAsTableCell: TableCell; | ||
containerAsTitle: Title; | ||
private __fontFamily; | ||
@@ -730,2 +1001,52 @@ fontFamily: FontFamily; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new Style instance in the SDK and on the server. | ||
* The new Style will be automatically stored in the 'style' property of the parent DataGridCell element passed as argument. | ||
*/ | ||
static createInDataGridCellUnderStyle(container: DataGridCell): Style; | ||
/** | ||
* Creates and returns a new Style instance in the SDK and on the server. | ||
* The new Style will be automatically stored in the 'style' property of the parent DataGridColumn element passed as argument. | ||
*/ | ||
static createInDataGridColumnUnderStyle(container: DataGridColumn): Style; | ||
/** | ||
* Creates and returns a new Style instance in the SDK and on the server. | ||
* The new Style will be automatically stored in the 'style' property of the parent DocumentTemplate element passed as argument. | ||
*/ | ||
static createInDocumentTemplateUnderStyle(container: DocumentTemplate): Style; | ||
/** | ||
* Creates and returns a new Style instance in the SDK and on the server. | ||
* The new Style will be automatically stored in the 'style' property of the parent DynamicLabel element passed as argument. | ||
*/ | ||
static createInDynamicLabelUnderStyle(container: DynamicLabel): Style; | ||
/** | ||
* Creates and returns a new Style instance in the SDK and on the server. | ||
* The new Style will be automatically stored in the 'style' property of the parent Grid element passed as argument. | ||
*/ | ||
static createInGridUnderStyle(container: Grid): Style; | ||
/** | ||
* Creates and returns a new Style instance in the SDK and on the server. | ||
* The new Style will be automatically stored in the 'style' property of the parent StaticLabel element passed as argument. | ||
*/ | ||
static createInStaticLabelUnderStyle(container: StaticLabel): Style; | ||
/** | ||
* Creates and returns a new Style instance in the SDK and on the server. | ||
* The new Style will be automatically stored in the 'style' property of the parent Table element passed as argument. | ||
*/ | ||
static createInTableUnderStyle(container: Table): Style; | ||
/** | ||
* Creates and returns a new Style instance in the SDK and on the server. | ||
* The new Style will be automatically stored in the 'style' property of the parent TableCell element passed as argument. | ||
*/ | ||
static createInTableCellUnderStyle(container: TableCell): Style; | ||
/** | ||
* Creates and returns a new Style instance in the SDK and on the server. | ||
* The new Style will be automatically stored in the 'style' property of the parent Title element passed as argument. | ||
*/ | ||
static createInTitleUnderStyle(container: Title): Style; | ||
/** | ||
* Creates and returns a new Style 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): Style; | ||
@@ -739,2 +1060,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsDropZone: IDropZone; | ||
load(): Table; | ||
@@ -749,2 +1072,4 @@ load(callback: (element: Table) => void): any; | ||
static typeName: string; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsDropZone: DropZone; | ||
private __rows; | ||
@@ -762,2 +1087,17 @@ rows: internal.IList<TableRow>; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new Table instance in the SDK and on the server. | ||
* The new Table will be automatically stored in the 'toplevels' property of the parent DocumentTemplate element passed as argument. | ||
*/ | ||
static createInDocumentTemplateUnderToplevels(container: DocumentTemplate): Table; | ||
/** | ||
* Creates and returns a new Table instance in the SDK and on the server. | ||
* The new Table will be automatically stored in the 'widget' property of the parent DropZone element passed as argument. | ||
*/ | ||
static createInDropZoneUnderWidget(container: DropZone): Table; | ||
/** | ||
* Creates and returns a new Table 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): Table; | ||
@@ -771,3 +1111,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: ITableRow; | ||
containerAsTableRow: ITableRow; | ||
load(): TableCell; | ||
@@ -782,3 +1122,3 @@ load(callback: (element: TableCell) => void): any; | ||
static typeName: string; | ||
container: TableRow; | ||
containerAsTableRow: TableRow; | ||
private __colSpan; | ||
@@ -794,3 +1134,12 @@ colSpan: number; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new TableCell instance in the SDK and on the server. | ||
* The new TableCell will be automatically stored in the 'cells' property of the parent TableRow element passed as argument. | ||
*/ | ||
static createIn(container: TableRow): TableCell; | ||
/** | ||
* Creates and returns a new TableCell 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): TableCell; | ||
@@ -804,3 +1153,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: ITable; | ||
containerAsTable: ITable; | ||
load(): TableRow; | ||
@@ -815,3 +1164,3 @@ load(callback: (element: TableRow) => void): any; | ||
static typeName: string; | ||
container: Table; | ||
containerAsTable: Table; | ||
private __cells; | ||
@@ -823,3 +1172,12 @@ cells: internal.IList<TableCell>; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new TableRow instance in the SDK and on the server. | ||
* The new TableRow will be automatically stored in the 'rows' property of the parent Table element passed as argument. | ||
*/ | ||
static createIn(container: Table): TableRow; | ||
/** | ||
* Creates and returns a new TableRow 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): TableRow; | ||
@@ -833,2 +1191,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsDropZone: IDropZone; | ||
load(): TemplateGrid; | ||
@@ -843,2 +1203,4 @@ load(callback: (element: TemplateGrid) => void): any; | ||
static typeName: string; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsDropZone: DropZone; | ||
private __numberOfColumns; | ||
@@ -852,2 +1214,17 @@ numberOfColumns: number; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new TemplateGrid instance in the SDK and on the server. | ||
* The new TemplateGrid will be automatically stored in the 'toplevels' property of the parent DocumentTemplate element passed as argument. | ||
*/ | ||
static createInDocumentTemplateUnderToplevels(container: DocumentTemplate): TemplateGrid; | ||
/** | ||
* Creates and returns a new TemplateGrid instance in the SDK and on the server. | ||
* The new TemplateGrid will be automatically stored in the 'widget' property of the parent DropZone element passed as argument. | ||
*/ | ||
static createInDropZoneUnderWidget(container: DropZone): TemplateGrid; | ||
/** | ||
* Creates and returns a new TemplateGrid 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): TemplateGrid; | ||
@@ -858,3 +1235,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: ITemplateGrid; | ||
containerAsTemplateGrid: ITemplateGrid; | ||
load(): TemplateGridContents; | ||
@@ -866,6 +1243,20 @@ load(callback: (element: TemplateGridContents) => void): any; | ||
static typeName: string; | ||
container: TemplateGrid; | ||
containerAsTemplateGrid: TemplateGrid; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
static createIn(container: TemplateGrid): TemplateGridContents; | ||
/** | ||
* Creates and returns a new TemplateGridContents instance in the SDK and on the server. | ||
* The new TemplateGridContents will be automatically stored in the 'evenRowsContents' property of the parent TemplateGrid element passed as argument. | ||
*/ | ||
static createInTemplateGridUnderEvenRowsContents(container: TemplateGrid): TemplateGridContents; | ||
/** | ||
* Creates and returns a new TemplateGridContents instance in the SDK and on the server. | ||
* The new TemplateGridContents will be automatically stored in the 'oddRowsContents' property of the parent TemplateGrid element passed as argument. | ||
*/ | ||
static createInTemplateGridUnderOddRowsContents(container: TemplateGrid): TemplateGridContents; | ||
/** | ||
* Creates and returns a new TemplateGridContents 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): TemplateGridContents; | ||
@@ -879,2 +1270,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsDocumentTemplate: IDocumentTemplate; | ||
containerAsDropZone: IDropZone; | ||
load(): Title; | ||
@@ -889,2 +1282,4 @@ load(callback: (element: Title) => void): any; | ||
static typeName: string; | ||
containerAsDocumentTemplate: DocumentTemplate; | ||
containerAsDropZone: DropZone; | ||
private __caption; | ||
@@ -896,2 +1291,17 @@ caption: texts.Text; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new Title instance in the SDK and on the server. | ||
* The new Title will be automatically stored in the 'toplevels' property of the parent DocumentTemplate element passed as argument. | ||
*/ | ||
static createInDocumentTemplateUnderToplevels(container: DocumentTemplate): Title; | ||
/** | ||
* Creates and returns a new Title instance in the SDK and on the server. | ||
* The new Title will be automatically stored in the 'widget' property of the parent DropZone element passed as argument. | ||
*/ | ||
static createInDropZoneUnderWidget(container: DropZone): Title; | ||
/** | ||
* Creates and returns a new Title 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): Title; | ||
@@ -898,0 +1308,0 @@ _initializeDefaultProperties(): void; |
@@ -10,2 +10,4 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
containerAsConditionSettings: documenttemplates.IConditionSettings; | ||
containerAsConditionalSettings: pages.IConditionalSettings; | ||
load(): Condition; | ||
@@ -17,2 +19,4 @@ load(callback: (element: Condition) => void): any; | ||
static typeName: string; | ||
containerAsConditionSettings: documenttemplates.ConditionSettings; | ||
containerAsConditionalSettings: pages.ConditionalSettings; | ||
private __attributeValue; | ||
@@ -24,2 +28,17 @@ attributeValue: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new Condition instance in the SDK and on the server. | ||
* The new Condition will be automatically stored in the 'conditions' property of the parent documenttemplates.ConditionSettings element passed as argument. | ||
*/ | ||
static createInConditionSettingsUnderConditions(container: documenttemplates.ConditionSettings): Condition; | ||
/** | ||
* Creates and returns a new Condition instance in the SDK and on the server. | ||
* The new Condition will be automatically stored in the 'conditions' property of the parent pages.ConditionalSettings element passed as argument. | ||
*/ | ||
static createInConditionalSettingsUnderConditions(container: pages.ConditionalSettings): Condition; | ||
/** | ||
* Creates and returns a new Condition 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): Condition; | ||
@@ -33,3 +52,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): Enumeration; | ||
@@ -45,3 +64,3 @@ load(callback: (element: Enumeration) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __values; | ||
@@ -53,3 +72,3 @@ values: internal.IList<EnumerationValue>; | ||
* Creates a new Enumeration unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -65,3 +84,3 @@ static createIn(container: projects.IFolderBase): Enumeration; | ||
model: IModel; | ||
container: IEnumeration; | ||
containerAsEnumeration: IEnumeration; | ||
load(): EnumerationValue; | ||
@@ -77,3 +96,3 @@ load(callback: (element: EnumerationValue) => void): any; | ||
static typeName: string; | ||
container: Enumeration; | ||
containerAsEnumeration: Enumeration; | ||
private __name; | ||
@@ -88,3 +107,12 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new EnumerationValue instance in the SDK and on the server. | ||
* The new EnumerationValue will be automatically stored in the 'values' property of the parent Enumeration element passed as argument. | ||
*/ | ||
static createIn(container: Enumeration): EnumerationValue; | ||
/** | ||
* Creates and returns a new EnumerationValue 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): EnumerationValue; | ||
@@ -94,4 +122,6 @@ _initializeDefaultProperties(): void; | ||
} | ||
import { documenttemplates } from './documenttemplates'; | ||
import { images } from './images'; | ||
import { pages } from './pages'; | ||
import { texts } from './texts'; | ||
import { IModel } from './base-model'; |
@@ -20,2 +20,12 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
} | ||
Object.defineProperty(Condition.prototype, "containerAsConditionSettings", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, documenttemplates_1.documenttemplates.ConditionSettings); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Condition.prototype, "containerAsConditionalSettings", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.ConditionalSettings); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Condition.prototype, "attributeValue", { | ||
@@ -33,4 +43,18 @@ get: function () { return this.__attributeValue.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new Condition instance in the SDK and on the server. | ||
* The new Condition will be automatically stored in the 'conditions' property of the parent documenttemplates.ConditionSettings element passed as argument. | ||
*/ | ||
Condition.createInConditionSettingsUnderConditions = function (container) { | ||
return internal.instancehelpers.createElement(container, Condition, "conditions", true); | ||
}; | ||
/** | ||
* Creates and returns a new Condition instance in the SDK and on the server. | ||
* The new Condition will be automatically stored in the 'conditions' property of the parent pages.ConditionalSettings element passed as argument. | ||
*/ | ||
Condition.createInConditionalSettingsUnderConditions = function (container) { | ||
return internal.instancehelpers.createElement(container, Condition, "conditions", true); | ||
}; | ||
/** | ||
* Creates and returns a new Condition instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
@@ -61,2 +85,7 @@ * After creation, assign or add this instance to a property that accepts this kind of objects. | ||
} | ||
Object.defineProperty(Enumeration.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Enumeration.prototype, "values", { | ||
@@ -70,3 +99,3 @@ get: function () { return this.__values.get(); }, | ||
* Creates a new Enumeration unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -106,2 +135,7 @@ Enumeration.createIn = function (container) { | ||
} | ||
Object.defineProperty(EnumerationValue.prototype, "containerAsEnumeration", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, Enumeration); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(EnumerationValue.prototype, "name", { | ||
@@ -130,3 +164,3 @@ get: function () { return this.__name.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new EnumerationValue instance in the SDK and on the server. | ||
@@ -138,3 +172,3 @@ * The new EnumerationValue will be automatically stored in the 'values' property of the parent Enumeration element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new EnumerationValue instance in the SDK and on the server. | ||
@@ -173,2 +207,4 @@ * Expects one argument: the IModel object the instance will "live on". | ||
})(enumerations = exports.enumerations || (exports.enumerations = {})); | ||
var documenttemplates_1 = require('./documenttemplates'); | ||
var pages_1 = require('./pages'); | ||
var texts_1 = require('./texts'); |
@@ -13,3 +13,3 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): ExportMapping; | ||
@@ -24,3 +24,3 @@ load(callback: (element: ExportMapping) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __parameterName; | ||
@@ -39,3 +39,3 @@ parameterName: string; | ||
* Creates a new ExportMapping unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -51,2 +51,4 @@ static createIn(container: projects.IFolderBase): ExportMapping; | ||
model: IModel; | ||
containerAsMappingDocument: mappings.IMappingDocument; | ||
containerAsObjectMappingElement: mappings.IObjectMappingElement; | ||
load(): ExportObjectMappingElement; | ||
@@ -61,4 +63,21 @@ load(callback: (element: ExportObjectMappingElement) => void): any; | ||
static typeName: string; | ||
containerAsMappingDocument: mappings.MappingDocument; | ||
containerAsObjectMappingElement: mappings.ObjectMappingElement; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new ExportObjectMappingElement instance in the SDK and on the server. | ||
* The new ExportObjectMappingElement will be automatically stored in the 'rootMappingElements' property of the parent mappings.MappingDocument element passed as argument. | ||
*/ | ||
static createInMappingDocumentUnderRootMappingElements(container: mappings.MappingDocument): ExportObjectMappingElement; | ||
/** | ||
* Creates and returns a new ExportObjectMappingElement instance in the SDK and on the server. | ||
* The new ExportObjectMappingElement will be automatically stored in the 'children' property of the parent mappings.ObjectMappingElement element passed as argument. | ||
*/ | ||
static createInObjectMappingElementUnderChildren(container: mappings.ObjectMappingElement): ExportObjectMappingElement; | ||
/** | ||
* Creates and returns a new ExportObjectMappingElement 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): ExportObjectMappingElement; | ||
@@ -72,3 +91,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: mappings.IObjectMappingElement; | ||
containerAsObjectMappingElement: mappings.IObjectMappingElement; | ||
load(): ExportValueMappingElement; | ||
@@ -83,6 +102,15 @@ load(callback: (element: ExportValueMappingElement) => void): any; | ||
static typeName: string; | ||
container: mappings.ObjectMappingElement; | ||
containerAsObjectMappingElement: mappings.ObjectMappingElement; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new ExportValueMappingElement instance in the SDK and on the server. | ||
* The new ExportValueMappingElement will be automatically stored in the 'children' property of the parent mappings.ObjectMappingElement element passed as argument. | ||
*/ | ||
static createIn(container: mappings.ObjectMappingElement): ExportValueMappingElement; | ||
/** | ||
* Creates and returns a new ExportValueMappingElement 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): ExportValueMappingElement; | ||
@@ -89,0 +117,0 @@ _initializeDefaultProperties(): void; |
@@ -23,2 +23,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
} | ||
Object.defineProperty(ExportMapping.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ExportMapping.prototype, "parameterName", { | ||
@@ -47,3 +52,3 @@ get: function () { return this.__parameterName.get(); }, | ||
* Creates a new ExportMapping unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -79,4 +84,28 @@ ExportMapping.createIn = function (container) { | ||
} | ||
/* | ||
Object.defineProperty(ExportObjectMappingElement.prototype, "containerAsMappingDocument", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, mappings_1.mappings.MappingDocument); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ExportObjectMappingElement.prototype, "containerAsObjectMappingElement", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, mappings_1.mappings.ObjectMappingElement); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
/** | ||
* Creates and returns a new ExportObjectMappingElement instance in the SDK and on the server. | ||
* The new ExportObjectMappingElement will be automatically stored in the 'rootMappingElements' property of the parent mappings.MappingDocument element passed as argument. | ||
*/ | ||
ExportObjectMappingElement.createInMappingDocumentUnderRootMappingElements = function (container) { | ||
return internal.instancehelpers.createElement(container, ExportObjectMappingElement, "rootMappingElements", true); | ||
}; | ||
/** | ||
* Creates and returns a new ExportObjectMappingElement instance in the SDK and on the server. | ||
* The new ExportObjectMappingElement will be automatically stored in the 'children' property of the parent mappings.ObjectMappingElement element passed as argument. | ||
*/ | ||
ExportObjectMappingElement.createInObjectMappingElementUnderChildren = function (container) { | ||
return internal.instancehelpers.createElement(container, ExportObjectMappingElement, "children", true); | ||
}; | ||
/** | ||
* Creates and returns a new ExportObjectMappingElement instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
@@ -106,3 +135,8 @@ * After creation, assign or add this instance to a property that accepts this kind of objects. | ||
} | ||
/* | ||
Object.defineProperty(ExportValueMappingElement.prototype, "containerAsObjectMappingElement", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, mappings_1.mappings.ObjectMappingElement); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
/** | ||
* Creates and returns a new ExportValueMappingElement instance in the SDK and on the server. | ||
@@ -114,3 +148,3 @@ * The new ExportValueMappingElement will be automatically stored in the 'children' property of the parent mappings.ObjectMappingElement element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new ExportValueMappingElement instance in the SDK and on the server. | ||
@@ -132,1 +166,2 @@ * Expects one argument: the IModel object the instance will "live on". | ||
})(exportmappings = exports.exportmappings || (exports.exportmappings = {})); | ||
var projects_1 = require('./projects'); |
@@ -10,3 +10,3 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: IImageCollection; | ||
containerAsImageCollection: IImageCollection; | ||
load(): Image; | ||
@@ -19,3 +19,3 @@ load(callback: (element: Image) => void): any; | ||
static typeName: string; | ||
container: ImageCollection; | ||
containerAsImageCollection: ImageCollection; | ||
private __name; | ||
@@ -30,3 +30,12 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new Image instance in the SDK and on the server. | ||
* The new Image will be automatically stored in the 'images' property of the parent ImageCollection element passed as argument. | ||
*/ | ||
static createIn(container: ImageCollection): Image; | ||
/** | ||
* Creates and returns a new Image 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): Image; | ||
@@ -41,3 +50,3 @@ _isByNameReferrable(): boolean; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): ImageCollection; | ||
@@ -53,3 +62,3 @@ load(callback: (element: ImageCollection) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __images; | ||
@@ -61,3 +70,3 @@ images: internal.IList<Image>; | ||
* Creates a new ImageCollection unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -64,0 +73,0 @@ static createIn(container: projects.IFolderBase): ImageCollection; |
@@ -20,2 +20,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
} | ||
Object.defineProperty(Image.prototype, "containerAsImageCollection", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ImageCollection); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Image.prototype, "name", { | ||
@@ -36,3 +41,3 @@ get: function () { return this.__name.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new Image instance in the SDK and on the server. | ||
@@ -44,3 +49,3 @@ * The new Image will be automatically stored in the 'images' property of the parent ImageCollection element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new Image instance in the SDK and on the server. | ||
@@ -83,2 +88,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(ImageCollection.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ImageCollection.prototype, "images", { | ||
@@ -92,3 +102,3 @@ get: function () { return this.__images.get(); }, | ||
* Creates a new ImageCollection unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -95,0 +105,0 @@ ImageCollection.createIn = function (container) { |
@@ -13,3 +13,3 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): ImportMapping; | ||
@@ -24,3 +24,3 @@ load(callback: (element: ImportMapping) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __parameter; | ||
@@ -35,3 +35,3 @@ parameter: domainmodels.IEntity; | ||
* Creates a new ImportMapping unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -47,2 +47,4 @@ static createIn(container: projects.IFolderBase): ImportMapping; | ||
model: IModel; | ||
containerAsMappingDocument: mappings.IMappingDocument; | ||
containerAsObjectMappingElement: mappings.IObjectMappingElement; | ||
load(): ImportObjectMappingElement; | ||
@@ -57,4 +59,21 @@ load(callback: (element: ImportObjectMappingElement) => void): any; | ||
static typeName: string; | ||
containerAsMappingDocument: mappings.MappingDocument; | ||
containerAsObjectMappingElement: mappings.ObjectMappingElement; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new ImportObjectMappingElement instance in the SDK and on the server. | ||
* The new ImportObjectMappingElement will be automatically stored in the 'rootMappingElements' property of the parent mappings.MappingDocument element passed as argument. | ||
*/ | ||
static createInMappingDocumentUnderRootMappingElements(container: mappings.MappingDocument): ImportObjectMappingElement; | ||
/** | ||
* Creates and returns a new ImportObjectMappingElement instance in the SDK and on the server. | ||
* The new ImportObjectMappingElement will be automatically stored in the 'children' property of the parent mappings.ObjectMappingElement element passed as argument. | ||
*/ | ||
static createInObjectMappingElementUnderChildren(container: mappings.ObjectMappingElement): ImportObjectMappingElement; | ||
/** | ||
* Creates and returns a new ImportObjectMappingElement 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): ImportObjectMappingElement; | ||
@@ -68,3 +87,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: mappings.IObjectMappingElement; | ||
containerAsObjectMappingElement: mappings.IObjectMappingElement; | ||
load(): ImportValueMappingElement; | ||
@@ -79,6 +98,15 @@ load(callback: (element: ImportValueMappingElement) => void): any; | ||
static typeName: string; | ||
container: mappings.ObjectMappingElement; | ||
containerAsObjectMappingElement: mappings.ObjectMappingElement; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new ImportValueMappingElement instance in the SDK and on the server. | ||
* The new ImportValueMappingElement will be automatically stored in the 'children' property of the parent mappings.ObjectMappingElement element passed as argument. | ||
*/ | ||
static createIn(container: mappings.ObjectMappingElement): ImportValueMappingElement; | ||
/** | ||
* Creates and returns a new ImportValueMappingElement 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): ImportValueMappingElement; | ||
@@ -85,0 +113,0 @@ _initializeDefaultProperties(): void; |
@@ -22,2 +22,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
} | ||
Object.defineProperty(ImportMapping.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ImportMapping.prototype, "parameter", { | ||
@@ -42,3 +47,3 @@ get: function () { return this.__parameter.get(); }, | ||
* Creates a new ImportMapping unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -67,4 +72,28 @@ ImportMapping.createIn = function (container) { | ||
} | ||
/* | ||
Object.defineProperty(ImportObjectMappingElement.prototype, "containerAsMappingDocument", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, mappings_1.mappings.MappingDocument); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ImportObjectMappingElement.prototype, "containerAsObjectMappingElement", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, mappings_1.mappings.ObjectMappingElement); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
/** | ||
* Creates and returns a new ImportObjectMappingElement instance in the SDK and on the server. | ||
* The new ImportObjectMappingElement will be automatically stored in the 'rootMappingElements' property of the parent mappings.MappingDocument element passed as argument. | ||
*/ | ||
ImportObjectMappingElement.createInMappingDocumentUnderRootMappingElements = function (container) { | ||
return internal.instancehelpers.createElement(container, ImportObjectMappingElement, "rootMappingElements", true); | ||
}; | ||
/** | ||
* Creates and returns a new ImportObjectMappingElement instance in the SDK and on the server. | ||
* The new ImportObjectMappingElement will be automatically stored in the 'children' property of the parent mappings.ObjectMappingElement element passed as argument. | ||
*/ | ||
ImportObjectMappingElement.createInObjectMappingElementUnderChildren = function (container) { | ||
return internal.instancehelpers.createElement(container, ImportObjectMappingElement, "children", true); | ||
}; | ||
/** | ||
* Creates and returns a new ImportObjectMappingElement instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
@@ -94,3 +123,8 @@ * After creation, assign or add this instance to a property that accepts this kind of objects. | ||
} | ||
/* | ||
Object.defineProperty(ImportValueMappingElement.prototype, "containerAsObjectMappingElement", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, mappings_1.mappings.ObjectMappingElement); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
/** | ||
* Creates and returns a new ImportValueMappingElement instance in the SDK and on the server. | ||
@@ -102,3 +136,3 @@ * The new ImportValueMappingElement will be automatically stored in the 'children' property of the parent mappings.ObjectMappingElement element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new ImportValueMappingElement instance in the SDK and on the server. | ||
@@ -120,1 +154,2 @@ * Expects one argument: the IModel object the instance will "live on". | ||
})(importmappings = exports.importmappings || (exports.importmappings = {})); | ||
var projects_1 = require('./projects'); |
@@ -13,3 +13,3 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): JavaAction; | ||
@@ -19,3 +19,3 @@ load(callback: (element: JavaAction) => void): any; | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -30,3 +30,3 @@ returnType: string; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __parameters; | ||
@@ -36,3 +36,3 @@ parameters: internal.IList<JavaActionParameter>; | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -44,3 +44,3 @@ returnType: string; | ||
* Creates a new JavaAction unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -53,3 +53,3 @@ static createIn(container: projects.IFolderBase): JavaAction; | ||
model: IModel; | ||
container: IJavaAction; | ||
containerAsJavaAction: IJavaAction; | ||
load(): JavaActionParameter; | ||
@@ -59,3 +59,3 @@ load(callback: (element: JavaActionParameter) => void): any; | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -67,3 +67,3 @@ type: string; | ||
static typeName: string; | ||
container: JavaAction; | ||
containerAsJavaAction: JavaAction; | ||
private __name; | ||
@@ -73,3 +73,3 @@ name: string; | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -79,3 +79,12 @@ type: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new JavaActionParameter instance in the SDK and on the server. | ||
* The new JavaActionParameter will be automatically stored in the 'parameters' property of the parent JavaAction element passed as argument. | ||
*/ | ||
static createIn(container: JavaAction): JavaActionParameter; | ||
/** | ||
* Creates and returns a new JavaActionParameter 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): JavaActionParameter; | ||
@@ -82,0 +91,0 @@ _isByNameReferrable(): boolean; |
@@ -22,2 +22,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
} | ||
Object.defineProperty(JavaAction.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(JavaAction.prototype, "parameters", { | ||
@@ -31,3 +36,3 @@ get: function () { return this.__parameters.get(); }, | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -41,3 +46,3 @@ get: function () { return this.__returnType.get(); }, | ||
* Creates a new JavaAction unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -79,2 +84,7 @@ JavaAction.createIn = function (container) { | ||
} | ||
Object.defineProperty(JavaActionParameter.prototype, "containerAsJavaAction", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, JavaAction); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(JavaActionParameter.prototype, "name", { | ||
@@ -88,3 +98,3 @@ get: function () { return this.__name.get(); }, | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -96,3 +106,3 @@ get: function () { return this.__type.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new JavaActionParameter instance in the SDK and on the server. | ||
@@ -104,3 +114,3 @@ * The new JavaActionParameter will be automatically stored in the 'parameters' property of the parent JavaAction element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new JavaActionParameter instance in the SDK and on the server. | ||
@@ -107,0 +117,0 @@ * Expects one argument: the IModel object the instance will "live on". |
@@ -35,3 +35,3 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): MappingDocument; | ||
@@ -50,3 +50,3 @@ load(callback: (element: MappingDocument) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __rootMappingElements; | ||
@@ -72,2 +72,4 @@ rootMappingElements: internal.IList<ObjectMappingElement>; | ||
model: IModel; | ||
containerAsMappingDocument: IMappingDocument; | ||
containerAsObjectMappingElement: IObjectMappingElement; | ||
load(): MappingElement; | ||
@@ -84,2 +86,4 @@ load(callback: (element: MappingElement) => void): any; | ||
static typeName: string; | ||
containerAsMappingDocument: MappingDocument; | ||
containerAsObjectMappingElement: ObjectMappingElement; | ||
private __documentation; | ||
@@ -91,3 +95,3 @@ documentation: string; | ||
/** | ||
* The value of this property is conceptually of type Mappings$ElementPath. | ||
* The value of this property is conceptually of type mappings.ElementPath. | ||
*/ | ||
@@ -107,3 +111,3 @@ path: string; | ||
model: IModel; | ||
container: IObjectMappingElement; | ||
containerAsObjectMappingElement: IObjectMappingElement; | ||
load(): MappingMicroflowCall; | ||
@@ -115,3 +119,3 @@ load(callback: (element: MappingMicroflowCall) => void): any; | ||
static typeName: string; | ||
container: ObjectMappingElement; | ||
containerAsObjectMappingElement: ObjectMappingElement; | ||
private __microflow; | ||
@@ -124,3 +128,12 @@ microflow: microflows.IMicroflow; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MappingMicroflowCall instance in the SDK and on the server. | ||
* The new MappingMicroflowCall will be automatically stored in the 'mappingMicroflowCall' property of the parent ObjectMappingElement element passed as argument. | ||
*/ | ||
static createIn(container: ObjectMappingElement): MappingMicroflowCall; | ||
/** | ||
* Creates and returns a new MappingMicroflowCall 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): MappingMicroflowCall; | ||
@@ -131,3 +144,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IMappingMicroflowCall; | ||
containerAsMappingMicroflowCall: IMappingMicroflowCall; | ||
load(): MappingMicroflowParameter; | ||
@@ -139,3 +152,3 @@ load(callback: (element: MappingMicroflowParameter) => void): any; | ||
static typeName: string; | ||
container: MappingMicroflowCall; | ||
containerAsMappingMicroflowCall: MappingMicroflowCall; | ||
private __parameter; | ||
@@ -148,3 +161,3 @@ parameter: microflows.IMicroflowParameter; | ||
/** | ||
* The value of this property is conceptually of type Mappings$ElementPath. | ||
* The value of this property is conceptually of type mappings.ElementPath. | ||
*/ | ||
@@ -154,3 +167,12 @@ valueElementPath: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MappingMicroflowParameter instance in the SDK and on the server. | ||
* The new MappingMicroflowParameter will be automatically stored in the 'parameterMappings' property of the parent MappingMicroflowCall element passed as argument. | ||
*/ | ||
static createIn(container: MappingMicroflowCall): MappingMicroflowParameter; | ||
/** | ||
* Creates and returns a new MappingMicroflowParameter 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): MappingMicroflowParameter; | ||
@@ -161,2 +183,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsMappingDocument: IMappingDocument; | ||
containerAsObjectMappingElement: IObjectMappingElement; | ||
load(): ObjectMappingElement; | ||
@@ -173,2 +197,4 @@ load(callback: (element: ObjectMappingElement) => void): any; | ||
static typeName: string; | ||
containerAsMappingDocument: MappingDocument; | ||
containerAsObjectMappingElement: ObjectMappingElement; | ||
private __mappingMicroflowCall; | ||
@@ -194,3 +220,3 @@ mappingMicroflowCall: MappingMicroflowCall; | ||
model: IModel; | ||
container: IObjectMappingElement; | ||
containerAsObjectMappingElement: IObjectMappingElement; | ||
load(): ValueMappingElement; | ||
@@ -207,6 +233,6 @@ load(callback: (element: ValueMappingElement) => void): any; | ||
static typeName: string; | ||
container: ObjectMappingElement; | ||
containerAsObjectMappingElement: ObjectMappingElement; | ||
private __xmlDataType; | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -213,0 +239,0 @@ xmlDataType: string; |
@@ -68,4 +68,8 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
this.__operationName = new internal.PrimitiveProperty(MappingDocument, this, "operationName", "", internal.PrimitiveTypeEnum.String); | ||
this._containmentName = "documents"; | ||
} | ||
Object.defineProperty(MappingDocument.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(MappingDocument.prototype, "rootMappingElements", { | ||
@@ -143,2 +147,12 @@ get: function () { return this.__rootMappingElements.get(); }, | ||
} | ||
Object.defineProperty(MappingElement.prototype, "containerAsMappingDocument", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, MappingDocument); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(MappingElement.prototype, "containerAsObjectMappingElement", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ObjectMappingElement); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(MappingElement.prototype, "documentation", { | ||
@@ -158,3 +172,3 @@ get: function () { return this.__documentation.get(); }, | ||
/** | ||
* The value of this property is conceptually of type Mappings$ElementPath. | ||
* The value of this property is conceptually of type mappings.ElementPath. | ||
*/ | ||
@@ -202,2 +216,7 @@ get: function () { return this.__path.get(); }, | ||
} | ||
Object.defineProperty(MappingMicroflowCall.prototype, "containerAsObjectMappingElement", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ObjectMappingElement); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(MappingMicroflowCall.prototype, "microflow", { | ||
@@ -220,3 +239,3 @@ get: function () { return this.__microflow.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new MappingMicroflowCall instance in the SDK and on the server. | ||
@@ -228,3 +247,3 @@ * The new MappingMicroflowCall will be automatically stored in the 'mappingMicroflowCall' property of the parent ObjectMappingElement element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new MappingMicroflowCall instance in the SDK and on the server. | ||
@@ -255,2 +274,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(MappingMicroflowParameter.prototype, "containerAsMappingMicroflowCall", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, MappingMicroflowCall); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(MappingMicroflowParameter.prototype, "parameter", { | ||
@@ -275,3 +299,3 @@ get: function () { return this.__parameter.get(); }, | ||
/** | ||
* The value of this property is conceptually of type Mappings$ElementPath. | ||
* The value of this property is conceptually of type mappings.ElementPath. | ||
*/ | ||
@@ -283,3 +307,3 @@ get: function () { return this.__valueElementPath.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new MappingMicroflowParameter instance in the SDK and on the server. | ||
@@ -291,3 +315,3 @@ * The new MappingMicroflowParameter will be automatically stored in the 'parameterMappings' property of the parent MappingMicroflowCall element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new MappingMicroflowParameter instance in the SDK and on the server. | ||
@@ -327,2 +351,12 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(ObjectMappingElement.prototype, "containerAsMappingDocument", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, MappingDocument); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ObjectMappingElement.prototype, "containerAsObjectMappingElement", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ObjectMappingElement); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ObjectMappingElement.prototype, "mappingMicroflowCall", { | ||
@@ -407,5 +441,10 @@ get: function () { return this.__mappingMicroflowCall.get(); }, | ||
} | ||
Object.defineProperty(ValueMappingElement.prototype, "containerAsObjectMappingElement", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ObjectMappingElement); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ValueMappingElement.prototype, "xmlDataType", { | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -412,0 +451,0 @@ get: function () { return this.__xmlDataType.get(); }, |
@@ -13,3 +13,3 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): MenuDocument; | ||
@@ -24,3 +24,3 @@ load(callback: (element: MenuDocument) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __itemCollection; | ||
@@ -32,3 +32,3 @@ itemCollection: MenuItemCollection; | ||
* Creates a new MenuDocument unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -41,2 +41,5 @@ static createIn(container: projects.IFolderBase): MenuDocument; | ||
model: IModel; | ||
containerAsMenuDocument: IMenuDocument; | ||
containerAsMenuItemContainer: IMenuItemContainer; | ||
containerAsNavigationProfile: navigation.INavigationProfile; | ||
load(): MenuItemContainer; | ||
@@ -53,2 +56,5 @@ load(callback: (element: MenuItemContainer) => void): any; | ||
static typeName: string; | ||
containerAsMenuDocument: MenuDocument; | ||
containerAsMenuItemContainer: MenuItemContainer; | ||
containerAsNavigationProfile: navigation.NavigationProfile; | ||
private __items; | ||
@@ -65,3 +71,3 @@ items: internal.IList<MenuItem>; | ||
model: IModel; | ||
container: IMenuItemContainer; | ||
containerAsMenuItemContainer: IMenuItemContainer; | ||
load(): MenuItem; | ||
@@ -76,3 +82,3 @@ load(callback: (element: MenuItem) => void): any; | ||
static typeName: string; | ||
container: MenuItemContainer; | ||
containerAsMenuItemContainer: MenuItemContainer; | ||
private __caption; | ||
@@ -86,2 +92,7 @@ caption: texts.Text; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MenuItem 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): MenuItem; | ||
@@ -92,2 +103,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsMenuDocument: IMenuDocument; | ||
containerAsNavigationProfile: navigation.INavigationProfile; | ||
load(): MenuItemCollection; | ||
@@ -99,4 +112,21 @@ load(callback: (element: MenuItemCollection) => void): any; | ||
static typeName: string; | ||
containerAsMenuDocument: MenuDocument; | ||
containerAsNavigationProfile: navigation.NavigationProfile; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MenuItemCollection instance in the SDK and on the server. | ||
* The new MenuItemCollection will be automatically stored in the 'itemCollection' property of the parent MenuDocument element passed as argument. | ||
*/ | ||
static createInMenuDocumentUnderItemCollection(container: MenuDocument): MenuItemCollection; | ||
/** | ||
* Creates and returns a new MenuItemCollection instance in the SDK and on the server. | ||
* The new MenuItemCollection will be automatically stored in the 'menuItemCollection' property of the parent navigation.NavigationProfile element passed as argument. | ||
*/ | ||
static createInNavigationProfileUnderMenuItemCollection(container: navigation.NavigationProfile): MenuItemCollection; | ||
/** | ||
* Creates and returns a new MenuItemCollection 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): MenuItemCollection; | ||
@@ -106,4 +136,5 @@ _initializeDefaultProperties(): void; | ||
} | ||
import { navigation } from './navigation'; | ||
import { pages } from './pages'; | ||
import { texts } from './texts'; | ||
import { IModel } from './base-model'; |
@@ -21,2 +21,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
} | ||
Object.defineProperty(MenuDocument.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(MenuDocument.prototype, "itemCollection", { | ||
@@ -30,3 +35,3 @@ get: function () { return this.__itemCollection.get(); }, | ||
* Creates a new MenuDocument unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -67,2 +72,17 @@ MenuDocument.createIn = function (container) { | ||
} | ||
Object.defineProperty(MenuItemContainer.prototype, "containerAsMenuDocument", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, MenuDocument); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(MenuItemContainer.prototype, "containerAsMenuItemContainer", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, MenuItemContainer); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(MenuItemContainer.prototype, "containerAsNavigationProfile", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, navigation_1.navigation.NavigationProfile); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(MenuItemContainer.prototype, "items", { | ||
@@ -95,2 +115,7 @@ get: function () { return this.__items.get(); }, | ||
} | ||
Object.defineProperty(MenuItem.prototype, "containerAsMenuItemContainer", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, MenuItemContainer); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(MenuItem.prototype, "caption", { | ||
@@ -114,3 +139,3 @@ get: function () { return this.__caption.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new MenuItem instance in the SDK and on the server. | ||
@@ -153,4 +178,28 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
/* | ||
Object.defineProperty(MenuItemCollection.prototype, "containerAsMenuDocument", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, MenuDocument); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(MenuItemCollection.prototype, "containerAsNavigationProfile", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, navigation_1.navigation.NavigationProfile); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
/** | ||
* Creates and returns a new MenuItemCollection instance in the SDK and on the server. | ||
* The new MenuItemCollection will be automatically stored in the 'itemCollection' property of the parent MenuDocument element passed as argument. | ||
*/ | ||
MenuItemCollection.createInMenuDocumentUnderItemCollection = function (container) { | ||
return internal.instancehelpers.createElement(container, MenuItemCollection, "itemCollection", false); | ||
}; | ||
/** | ||
* Creates and returns a new MenuItemCollection instance in the SDK and on the server. | ||
* The new MenuItemCollection will be automatically stored in the 'menuItemCollection' property of the parent navigation.NavigationProfile element passed as argument. | ||
*/ | ||
MenuItemCollection.createInNavigationProfileUnderMenuItemCollection = function (container) { | ||
return internal.instancehelpers.createElement(container, MenuItemCollection, "menuItemCollection", false); | ||
}; | ||
/** | ||
* Creates and returns a new MenuItemCollection instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
@@ -171,3 +220,4 @@ * After creation, assign or add this instance to a property that accepts this kind of objects. | ||
})(menus = exports.menus || (exports.menus = {})); | ||
var navigation_1 = require('./navigation'); | ||
var pages_1 = require('./pages'); | ||
var texts_1 = require('./texts'); |
@@ -23,3 +23,3 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: INavigationProfile; | ||
containerAsNavigationProfile: INavigationProfile; | ||
load(): HomePageBase; | ||
@@ -36,3 +36,3 @@ load(callback: (element: HomePageBase) => void): any; | ||
static typeName: string; | ||
container: NavigationProfile; | ||
containerAsNavigationProfile: NavigationProfile; | ||
private __page; | ||
@@ -50,3 +50,3 @@ page: pages.IPage; | ||
model: IModel; | ||
container: INavigationProfile; | ||
containerAsNavigationProfile: INavigationProfile; | ||
load(): HomePage; | ||
@@ -58,6 +58,15 @@ load(callback: (element: HomePage) => void): any; | ||
static typeName: string; | ||
container: NavigationProfile; | ||
containerAsNavigationProfile: NavigationProfile; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new HomePage instance in the SDK and on the server. | ||
* The new HomePage will be automatically stored in the 'homePage' property of the parent NavigationProfile element passed as argument. | ||
*/ | ||
static createIn(container: NavigationProfile): HomePage; | ||
/** | ||
* Creates and returns a new HomePage 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): HomePage; | ||
@@ -71,3 +80,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: projects.IProject; | ||
containerAsProject: projects.IProject; | ||
load(): NavigationDocument; | ||
@@ -82,3 +91,3 @@ load(callback: (element: NavigationDocument) => void): any; | ||
static typeName: string; | ||
container: projects.Project; | ||
containerAsProject: projects.Project; | ||
private __phoneProfile; | ||
@@ -96,3 +105,3 @@ phoneProfile: NavigationProfile; | ||
* Creates a new NavigationDocument unit in the SDK and on the server. | ||
* Expects one argument, a projects.Project in which this unit is contained. | ||
* Expects one argument, the projects.IProject in which this unit is contained. | ||
*/ | ||
@@ -104,3 +113,3 @@ static createIn(container: projects.IProject): NavigationDocument; | ||
model: IModel; | ||
container: INavigationDocument; | ||
containerAsNavigationDocument: INavigationDocument; | ||
load(): NavigationProfile; | ||
@@ -112,3 +121,3 @@ load(callback: (element: NavigationProfile) => void): any; | ||
static typeName: string; | ||
container: NavigationDocument; | ||
containerAsNavigationDocument: NavigationDocument; | ||
private __enabled; | ||
@@ -126,3 +135,27 @@ enabled: boolean; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
static createIn(container: NavigationDocument): NavigationProfile; | ||
/** | ||
* Creates and returns a new NavigationProfile instance in the SDK and on the server. | ||
* The new NavigationProfile will be automatically stored in the 'desktopProfile' property of the parent NavigationDocument element passed as argument. | ||
*/ | ||
static createInNavigationDocumentUnderDesktopProfile(container: NavigationDocument): NavigationProfile; | ||
/** | ||
* Creates and returns a new NavigationProfile instance in the SDK and on the server. | ||
* The new NavigationProfile will be automatically stored in the 'offlinePhoneProfile' property of the parent NavigationDocument element passed as argument. | ||
*/ | ||
static createInNavigationDocumentUnderOfflinePhoneProfile(container: NavigationDocument): NavigationProfile; | ||
/** | ||
* Creates and returns a new NavigationProfile instance in the SDK and on the server. | ||
* The new NavigationProfile will be automatically stored in the 'phoneProfile' property of the parent NavigationDocument element passed as argument. | ||
*/ | ||
static createInNavigationDocumentUnderPhoneProfile(container: NavigationDocument): NavigationProfile; | ||
/** | ||
* Creates and returns a new NavigationProfile instance in the SDK and on the server. | ||
* The new NavigationProfile will be automatically stored in the 'tabletProfile' property of the parent NavigationDocument element passed as argument. | ||
*/ | ||
static createInNavigationDocumentUnderTabletProfile(container: NavigationDocument): NavigationProfile; | ||
/** | ||
* Creates and returns a new NavigationProfile 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): NavigationProfile; | ||
@@ -133,3 +166,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: INavigationProfile; | ||
containerAsNavigationProfile: INavigationProfile; | ||
load(): RoleBasedHomePage; | ||
@@ -141,3 +174,3 @@ load(callback: (element: RoleBasedHomePage) => void): any; | ||
static typeName: string; | ||
container: NavigationProfile; | ||
containerAsNavigationProfile: NavigationProfile; | ||
private __userRole; | ||
@@ -148,3 +181,12 @@ userRole: security.IUserRole; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new RoleBasedHomePage instance in the SDK and on the server. | ||
* The new RoleBasedHomePage will be automatically stored in the 'roleBasedHomePages' property of the parent NavigationProfile element passed as argument. | ||
*/ | ||
static createIn(container: NavigationProfile): RoleBasedHomePage; | ||
/** | ||
* Creates and returns a new RoleBasedHomePage 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): RoleBasedHomePage; | ||
@@ -151,0 +193,0 @@ _initializeDefaultProperties(): void; |
@@ -50,2 +50,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
} | ||
Object.defineProperty(HomePageBase.prototype, "containerAsNavigationProfile", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, NavigationProfile); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(HomePageBase.prototype, "page", { | ||
@@ -88,3 +93,8 @@ get: function () { return this.__page.get(); }, | ||
} | ||
/* | ||
Object.defineProperty(HomePage.prototype, "containerAsNavigationProfile", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, NavigationProfile); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
/** | ||
* Creates and returns a new HomePage instance in the SDK and on the server. | ||
@@ -96,3 +106,3 @@ * The new HomePage will be automatically stored in the 'homePage' property of the parent NavigationProfile element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new HomePage instance in the SDK and on the server. | ||
@@ -126,2 +136,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(NavigationDocument.prototype, "containerAsProject", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.Project); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(NavigationDocument.prototype, "phoneProfile", { | ||
@@ -153,3 +168,3 @@ get: function () { return this.__phoneProfile.get(); }, | ||
* Creates a new NavigationDocument unit in the SDK and on the server. | ||
* Expects one argument, a projects.Project in which this unit is contained. | ||
* Expects one argument, the projects.IProject in which this unit is contained. | ||
*/ | ||
@@ -206,2 +221,7 @@ NavigationDocument.createIn = function (container) { | ||
} | ||
Object.defineProperty(NavigationProfile.prototype, "containerAsNavigationDocument", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, NavigationDocument); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(NavigationProfile.prototype, "enabled", { | ||
@@ -237,11 +257,32 @@ get: function () { return this.__enabled.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new NavigationProfile instance in the SDK and on the server. | ||
* The new NavigationProfile will be automatically stored in the 'desktopProfile' property of the parent NavigationDocument element passed as argument. | ||
*/ | ||
NavigationProfile.createInNavigationDocumentUnderDesktopProfile = function (container) { | ||
return internal.instancehelpers.createElement(container, NavigationProfile, "desktopProfile", false); | ||
}; | ||
/** | ||
* Creates and returns a new NavigationProfile instance in the SDK and on the server. | ||
* The new NavigationProfile will be automatically stored in the 'offlinePhoneProfile' property of the parent NavigationDocument element passed as argument. | ||
*/ | ||
NavigationProfile.createInNavigationDocumentUnderOfflinePhoneProfile = function (container) { | ||
return internal.instancehelpers.createElement(container, NavigationProfile, "offlinePhoneProfile", false); | ||
}; | ||
/** | ||
* Creates and returns a new NavigationProfile instance in the SDK and on the server. | ||
* The new NavigationProfile will be automatically stored in the 'phoneProfile' property of the parent NavigationDocument element passed as argument. | ||
*/ | ||
NavigationProfile.createIn = function (container) { | ||
NavigationProfile.createInNavigationDocumentUnderPhoneProfile = function (container) { | ||
return internal.instancehelpers.createElement(container, NavigationProfile, "phoneProfile", false); | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new NavigationProfile instance in the SDK and on the server. | ||
* The new NavigationProfile will be automatically stored in the 'tabletProfile' property of the parent NavigationDocument element passed as argument. | ||
*/ | ||
NavigationProfile.createInNavigationDocumentUnderTabletProfile = function (container) { | ||
return internal.instancehelpers.createElement(container, NavigationProfile, "tabletProfile", false); | ||
}; | ||
/** | ||
* Creates and returns a new NavigationProfile instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
@@ -286,2 +327,7 @@ * After creation, assign or add this instance to a property that accepts this kind of objects. | ||
} | ||
Object.defineProperty(RoleBasedHomePage.prototype, "containerAsNavigationProfile", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, NavigationProfile); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(RoleBasedHomePage.prototype, "userRole", { | ||
@@ -298,3 +344,3 @@ get: function () { return this.__userRole.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new RoleBasedHomePage instance in the SDK and on the server. | ||
@@ -306,3 +352,3 @@ * The new RoleBasedHomePage will be automatically stored in the 'roleBasedHomePages' property of the parent NavigationProfile element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new RoleBasedHomePage instance in the SDK and on the server. | ||
@@ -309,0 +355,0 @@ * Expects one argument: the IModel object the instance will "live on". |
@@ -9,3 +9,4 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: IFolderBase; | ||
containerAsFolderBase: IFolderBase; | ||
containerAsModule: IModule; | ||
load(): ModuleDocument; | ||
@@ -22,5 +23,6 @@ load(callback: (element: ModuleDocument) => void): any; | ||
static typeName: string; | ||
container: FolderBase; | ||
containerAsFolderBase: FolderBase; | ||
containerAsModule: Module; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, container: IFolderBase); | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, container: IFolderBase | IModule); | ||
_initializeDefaultProperties(): void; | ||
@@ -30,3 +32,3 @@ } | ||
model: IModel; | ||
container: IFolderBase; | ||
containerAsFolderBase: IFolderBase; | ||
load(): Document; | ||
@@ -44,3 +46,3 @@ load(callback: (element: Document) => void): any; | ||
static typeName: string; | ||
container: FolderBase; | ||
containerAsFolderBase: FolderBase; | ||
private __name; | ||
@@ -58,2 +60,4 @@ name: string; | ||
model: IModel; | ||
containerAsFolderBase: IFolderBase; | ||
containerAsProject: IProject; | ||
folders: internal.IList<IFolder>; | ||
@@ -70,2 +74,4 @@ documents: internal.IList<IDocument>; | ||
static typeName: string; | ||
containerAsFolderBase: FolderBase; | ||
containerAsProject: Project; | ||
private __folders; | ||
@@ -76,3 +82,3 @@ folders: internal.IList<IFolder>; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, container: internal.IStructuralUnit); | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, container: IFolderBase | IProject); | ||
_initializeDefaultProperties(): void; | ||
@@ -85,3 +91,3 @@ } | ||
model: IModel; | ||
container: IFolderBase; | ||
containerAsFolderBase: IFolderBase; | ||
name: string; | ||
@@ -95,3 +101,3 @@ } | ||
static typeName: string; | ||
container: FolderBase; | ||
containerAsFolderBase: FolderBase; | ||
private __name; | ||
@@ -103,3 +109,3 @@ name: string; | ||
* Creates a new Folder unit in the SDK and on the server. | ||
* Expects one argument, a FolderBase in which this unit is contained. | ||
* Expects one argument, the IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -114,3 +120,3 @@ static createIn(container: IFolderBase): Folder; | ||
model: IModel; | ||
container: IProject; | ||
containerAsProject: IProject; | ||
sortIndex: number; | ||
@@ -137,3 +143,3 @@ name: string; | ||
static typeName: string; | ||
container: Project; | ||
containerAsProject: Project; | ||
private __sortIndex; | ||
@@ -159,3 +165,3 @@ sortIndex: number; | ||
* Creates a new Module unit in the SDK and on the server. | ||
* Expects one argument, a Project in which this unit is contained. | ||
* Expects one argument, the IProject in which this unit is contained. | ||
*/ | ||
@@ -167,3 +173,3 @@ static createIn(container: IProject): Module; | ||
model: IModel; | ||
container: IProjectConversion; | ||
containerAsProjectConversion: IProjectConversion; | ||
load(): OneTimeConversionMarker; | ||
@@ -175,3 +181,3 @@ load(callback: (element: OneTimeConversionMarker) => void): any; | ||
static typeName: string; | ||
container: ProjectConversion; | ||
containerAsProjectConversion: ProjectConversion; | ||
private __name; | ||
@@ -181,3 +187,12 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new OneTimeConversionMarker instance in the SDK and on the server. | ||
* The new OneTimeConversionMarker will be automatically stored in the 'markers' property of the parent ProjectConversion element passed as argument. | ||
*/ | ||
static createIn(container: ProjectConversion): OneTimeConversionMarker; | ||
/** | ||
* Creates and returns a new OneTimeConversionMarker 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): OneTimeConversionMarker; | ||
@@ -219,3 +234,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IProject; | ||
containerAsProject: IProject; | ||
load(): ProjectConversion; | ||
@@ -227,3 +242,3 @@ load(callback: (element: ProjectConversion) => void): any; | ||
static typeName: string; | ||
container: Project; | ||
containerAsProject: Project; | ||
private __markers; | ||
@@ -235,3 +250,3 @@ markers: internal.IList<OneTimeConversionMarker>; | ||
* Creates a new ProjectConversion unit in the SDK and on the server. | ||
* Expects one argument, a Project in which this unit is contained. | ||
* Expects one argument, the IProject in which this unit is contained. | ||
*/ | ||
@@ -246,3 +261,3 @@ static createIn(container: IProject): ProjectConversion; | ||
model: IModel; | ||
container: IProject; | ||
containerAsProject: IProject; | ||
load(): ProjectDocument; | ||
@@ -261,3 +276,3 @@ load(callback: (element: ProjectDocument) => void): any; | ||
static typeName: string; | ||
container: Project; | ||
containerAsProject: Project; | ||
static versionInfo: StructureVersionInfo; | ||
@@ -264,0 +279,0 @@ constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, container: IProject); |
@@ -19,4 +19,13 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
_super.call(this, model, typeName, id, isPartial, container); | ||
this._containmentName = ""; | ||
} | ||
Object.defineProperty(ModuleDocument.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ModuleDocument.prototype, "containerAsModule", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, Module); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
ModuleDocument.prototype._initializeDefaultProperties = function () { | ||
@@ -43,4 +52,8 @@ _super.prototype._initializeDefaultProperties.call(this); | ||
this._declaredAsNamespace = true; | ||
this._containmentName = "documents"; | ||
} | ||
Object.defineProperty(Document.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Document.prototype, "name", { | ||
@@ -91,4 +104,13 @@ get: function () { return this.__name.get(); }, | ||
this.__documents = new internal.StructuralChildListProperty(FolderBase, this, "documents", []); | ||
this._containmentName = ""; | ||
} | ||
Object.defineProperty(FolderBase.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(FolderBase.prototype, "containerAsProject", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, Project); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(FolderBase.prototype, "folders", { | ||
@@ -124,2 +146,7 @@ get: function () { return this.__folders.get(); }, | ||
} | ||
Object.defineProperty(Folder.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Folder.prototype, "name", { | ||
@@ -133,3 +160,3 @@ get: function () { return this.__name.get(); }, | ||
* Creates a new Folder unit in the SDK and on the server. | ||
* Expects one argument, a FolderBase in which this unit is contained. | ||
* Expects one argument, the IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -165,2 +192,7 @@ Folder.createIn = function (container) { | ||
} | ||
Object.defineProperty(Module.prototype, "containerAsProject", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, Project); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Module.prototype, "sortIndex", { | ||
@@ -216,3 +248,3 @@ get: function () { return this.__sortIndex.get(); }, | ||
* Creates a new Module unit in the SDK and on the server. | ||
* Expects one argument, a Project in which this unit is contained. | ||
* Expects one argument, the IProject in which this unit is contained. | ||
*/ | ||
@@ -251,2 +283,7 @@ Module.createIn = function (container) { | ||
} | ||
Object.defineProperty(OneTimeConversionMarker.prototype, "containerAsProjectConversion", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ProjectConversion); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(OneTimeConversionMarker.prototype, "name", { | ||
@@ -258,3 +295,3 @@ get: function () { return this.__name.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new OneTimeConversionMarker instance in the SDK and on the server. | ||
@@ -266,3 +303,3 @@ * The new OneTimeConversionMarker will be automatically stored in the 'markers' property of the parent ProjectConversion element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new OneTimeConversionMarker instance in the SDK and on the server. | ||
@@ -343,2 +380,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(ProjectConversion.prototype, "containerAsProject", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, Project); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ProjectConversion.prototype, "markers", { | ||
@@ -352,3 +394,3 @@ get: function () { return this.__markers.get(); }, | ||
* Creates a new ProjectConversion unit in the SDK and on the server. | ||
* Expects one argument, a Project in which this unit is contained. | ||
* Expects one argument, the IProject in which this unit is contained. | ||
*/ | ||
@@ -377,4 +419,8 @@ ProjectConversion.createIn = function (container) { | ||
_super.call(this, model, typeName, id, isPartial, container); | ||
this._containmentName = "projectDocuments"; | ||
} | ||
Object.defineProperty(ProjectDocument.prototype, "containerAsProject", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, Project); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
ProjectDocument.prototype._initializeDefaultProperties = function () { | ||
@@ -381,0 +427,0 @@ _super.prototype._initializeDefaultProperties.call(this); |
@@ -13,3 +13,3 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): RegularExpression; | ||
@@ -24,3 +24,3 @@ load(callback: (element: RegularExpression) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __regEx; | ||
@@ -32,3 +32,3 @@ regEx: string; | ||
* Creates a new RegularExpression unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -35,0 +35,0 @@ static createIn(container: projects.IFolderBase): RegularExpression; |
@@ -21,2 +21,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
} | ||
Object.defineProperty(RegularExpression.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(RegularExpression.prototype, "regEx", { | ||
@@ -30,3 +35,3 @@ get: function () { return this.__regEx.get(); }, | ||
* Creates a new RegularExpression unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -33,0 +38,0 @@ RegularExpression.createIn = function (container) { |
@@ -14,3 +14,3 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): PublishedRestServiceBase; | ||
@@ -29,3 +29,3 @@ load(callback: (element: PublishedRestServiceBase) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __resources; | ||
@@ -43,3 +43,3 @@ resources: internal.IList<PublishedRestResource>; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): PublishedODataService; | ||
@@ -51,3 +51,3 @@ load(callback: (element: PublishedODataService) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __allowedModuleRoles; | ||
@@ -60,3 +60,3 @@ allowedModuleRoles: internal.IList<security.IModuleRole>; | ||
* Creates a new PublishedODataService unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -71,3 +71,3 @@ static createIn(container: projects.IFolderBase): PublishedODataService; | ||
model: IModel; | ||
container: IPublishedRestServiceBase; | ||
containerAsPublishedRestServiceBase: IPublishedRestServiceBase; | ||
load(): PublishedRestResource; | ||
@@ -82,3 +82,3 @@ load(callback: (element: PublishedRestResource) => void): any; | ||
static typeName: string; | ||
container: PublishedRestServiceBase; | ||
containerAsPublishedRestServiceBase: PublishedRestServiceBase; | ||
private __path; | ||
@@ -92,3 +92,12 @@ path: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new PublishedRestResource instance in the SDK and on the server. | ||
* The new PublishedRestResource will be automatically stored in the 'resources' property of the parent PublishedRestServiceBase element passed as argument. | ||
*/ | ||
static createIn(container: PublishedRestServiceBase): PublishedRestResource; | ||
/** | ||
* Creates and returns a new PublishedRestResource 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): PublishedRestResource; | ||
@@ -99,3 +108,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): PublishedRestService; | ||
@@ -107,3 +116,3 @@ load(callback: (element: PublishedRestService) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
static versionInfo: StructureVersionInfo; | ||
@@ -113,3 +122,3 @@ constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, container: projects.IFolderBase); | ||
* Creates a new PublishedRestService unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -116,0 +125,0 @@ static createIn(container: projects.IFolderBase): PublishedRestService; |
@@ -26,4 +26,8 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
this.__path = new internal.PrimitiveProperty(PublishedRestServiceBase, this, "path", "", internal.PrimitiveTypeEnum.String); | ||
this._containmentName = "documents"; | ||
} | ||
Object.defineProperty(PublishedRestServiceBase.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(PublishedRestServiceBase.prototype, "resources", { | ||
@@ -63,2 +67,7 @@ get: function () { return this.__resources.get(); }, | ||
} | ||
Object.defineProperty(PublishedODataService.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(PublishedODataService.prototype, "allowedModuleRoles", { | ||
@@ -77,3 +86,3 @@ get: function () { return this.__allowedModuleRoles.get(); }, | ||
* Creates a new PublishedODataService unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -104,2 +113,7 @@ PublishedODataService.createIn = function (container) { | ||
} | ||
Object.defineProperty(PublishedRestResource.prototype, "containerAsPublishedRestServiceBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, PublishedRestServiceBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(PublishedRestResource.prototype, "path", { | ||
@@ -123,3 +137,3 @@ get: function () { return this.__path.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new PublishedRestResource instance in the SDK and on the server. | ||
@@ -131,3 +145,3 @@ * The new PublishedRestResource will be automatically stored in the 'resources' property of the parent PublishedRestServiceBase element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new PublishedRestResource instance in the SDK and on the server. | ||
@@ -155,5 +169,10 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(PublishedRestService.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
/** | ||
* Creates a new PublishedRestService unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -160,0 +179,0 @@ PublishedRestService.createIn = function (container) { |
@@ -28,3 +28,3 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): ScheduledEvent; | ||
@@ -39,3 +39,3 @@ load(callback: (element: ScheduledEvent) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __startDateTime; | ||
@@ -58,3 +58,3 @@ startDateTime: string; | ||
* Creates a new ScheduledEvent unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -61,0 +61,0 @@ static createIn(container: projects.IFolderBase): ScheduledEvent; |
@@ -53,2 +53,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
} | ||
Object.defineProperty(ScheduledEvent.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ScheduledEvent.prototype, "startDateTime", { | ||
@@ -97,3 +102,3 @@ get: function () { return this.__startDateTime.get(); }, | ||
* Creates a new ScheduledEvent unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -100,0 +105,0 @@ ScheduledEvent.createIn = function (container) { |
@@ -16,3 +16,3 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: IProjectSecurity; | ||
containerAsProjectSecurity: IProjectSecurity; | ||
load(): AccessRuleContainerBase; | ||
@@ -29,3 +29,3 @@ load(callback: (element: AccessRuleContainerBase) => void): any; | ||
static typeName: string; | ||
container: ProjectSecurity; | ||
containerAsProjectSecurity: ProjectSecurity; | ||
private __accessRules; | ||
@@ -42,3 +42,3 @@ accessRules: internal.IList<domainmodels.AccessRule>; | ||
model: IModel; | ||
container: IProjectSecurity; | ||
containerAsProjectSecurity: IProjectSecurity; | ||
load(): DemoUser; | ||
@@ -53,3 +53,3 @@ load(callback: (element: DemoUser) => void): any; | ||
static typeName: string; | ||
container: ProjectSecurity; | ||
containerAsProjectSecurity: ProjectSecurity; | ||
private __userName; | ||
@@ -67,3 +67,12 @@ userName: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DemoUser instance in the SDK and on the server. | ||
* The new DemoUser will be automatically stored in the 'demoUsers' property of the parent ProjectSecurity element passed as argument. | ||
*/ | ||
static createIn(container: ProjectSecurity): DemoUser; | ||
/** | ||
* Creates and returns a new DemoUser 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): DemoUser; | ||
@@ -74,3 +83,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IProjectSecurity; | ||
containerAsProjectSecurity: IProjectSecurity; | ||
load(): FileDocumentAccessRuleContainer; | ||
@@ -82,6 +91,15 @@ load(callback: (element: FileDocumentAccessRuleContainer) => void): any; | ||
static typeName: string; | ||
container: ProjectSecurity; | ||
containerAsProjectSecurity: ProjectSecurity; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new FileDocumentAccessRuleContainer instance in the SDK and on the server. | ||
* The new FileDocumentAccessRuleContainer will be automatically stored in the 'fileDocumentAccess' property of the parent ProjectSecurity element passed as argument. | ||
*/ | ||
static createIn(container: ProjectSecurity): FileDocumentAccessRuleContainer; | ||
/** | ||
* Creates and returns a new FileDocumentAccessRuleContainer 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): FileDocumentAccessRuleContainer; | ||
@@ -92,3 +110,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IProjectSecurity; | ||
containerAsProjectSecurity: IProjectSecurity; | ||
load(): ImageAccessRuleContainer; | ||
@@ -100,6 +118,15 @@ load(callback: (element: ImageAccessRuleContainer) => void): any; | ||
static typeName: string; | ||
container: ProjectSecurity; | ||
containerAsProjectSecurity: ProjectSecurity; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new ImageAccessRuleContainer instance in the SDK and on the server. | ||
* The new ImageAccessRuleContainer will be automatically stored in the 'imageAccess' property of the parent ProjectSecurity element passed as argument. | ||
*/ | ||
static createIn(container: ProjectSecurity): ImageAccessRuleContainer; | ||
/** | ||
* Creates and returns a new ImageAccessRuleContainer 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): ImageAccessRuleContainer; | ||
@@ -113,3 +140,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IModuleSecurity; | ||
containerAsModuleSecurity: IModuleSecurity; | ||
load(): ModuleRole; | ||
@@ -125,3 +152,3 @@ load(callback: (element: ModuleRole) => void): any; | ||
static typeName: string; | ||
container: ModuleSecurity; | ||
containerAsModuleSecurity: ModuleSecurity; | ||
private __name; | ||
@@ -133,3 +160,12 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new ModuleRole instance in the SDK and on the server. | ||
* The new ModuleRole will be automatically stored in the 'moduleRoles' property of the parent ModuleSecurity element passed as argument. | ||
*/ | ||
static createIn(container: ModuleSecurity): ModuleRole; | ||
/** | ||
* Creates and returns a new ModuleRole 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): ModuleRole; | ||
@@ -144,3 +180,3 @@ _isByNameReferrable(): boolean; | ||
model: IModel; | ||
container: projects.IModule; | ||
containerAsModule: projects.IModule; | ||
load(): ModuleSecurity; | ||
@@ -156,3 +192,3 @@ load(callback: (element: ModuleSecurity) => void): any; | ||
static typeName: string; | ||
container: projects.Module; | ||
containerAsModule: projects.Module; | ||
private __moduleRoles; | ||
@@ -164,3 +200,3 @@ moduleRoles: internal.IList<ModuleRole>; | ||
* Creates a new ModuleSecurity unit in the SDK and on the server. | ||
* Expects one argument, a projects.Module in which this unit is contained. | ||
* Expects one argument, the projects.IModule in which this unit is contained. | ||
*/ | ||
@@ -175,3 +211,3 @@ static createIn(container: projects.IModule): ModuleSecurity; | ||
model: IModel; | ||
container: IProjectSecurity; | ||
containerAsProjectSecurity: IProjectSecurity; | ||
load(): PasswordPolicySettings; | ||
@@ -186,3 +222,3 @@ load(callback: (element: PasswordPolicySettings) => void): any; | ||
static typeName: string; | ||
container: ProjectSecurity; | ||
containerAsProjectSecurity: ProjectSecurity; | ||
private __minimumLength; | ||
@@ -198,3 +234,12 @@ minimumLength: number; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new PasswordPolicySettings instance in the SDK and on the server. | ||
* The new PasswordPolicySettings will be automatically stored in the 'passwordPolicySettings' property of the parent ProjectSecurity element passed as argument. | ||
*/ | ||
static createIn(container: ProjectSecurity): PasswordPolicySettings; | ||
/** | ||
* Creates and returns a new PasswordPolicySettings 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): PasswordPolicySettings; | ||
@@ -208,3 +253,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: projects.IProject; | ||
containerAsProject: projects.IProject; | ||
load(): ProjectSecurity; | ||
@@ -220,3 +265,3 @@ load(callback: (element: ProjectSecurity) => void): any; | ||
static typeName: string; | ||
container: projects.Project; | ||
containerAsProject: projects.Project; | ||
private __securityLevel; | ||
@@ -261,3 +306,3 @@ securityLevel: SecurityLevel; | ||
* Creates a new ProjectSecurity unit in the SDK and on the server. | ||
* Expects one argument, a projects.Project in which this unit is contained. | ||
* Expects one argument, the projects.IProject in which this unit is contained. | ||
*/ | ||
@@ -272,3 +317,3 @@ static createIn(container: projects.IProject): ProjectSecurity; | ||
model: IModel; | ||
container: IProjectSecurity; | ||
containerAsProjectSecurity: IProjectSecurity; | ||
load(): UserRole; | ||
@@ -284,3 +329,3 @@ load(callback: (element: UserRole) => void): any; | ||
static typeName: string; | ||
container: ProjectSecurity; | ||
containerAsProjectSecurity: ProjectSecurity; | ||
private __guid; | ||
@@ -306,3 +351,12 @@ guid: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new UserRole instance in the SDK and on the server. | ||
* The new UserRole will be automatically stored in the 'userRoles' property of the parent ProjectSecurity element passed as argument. | ||
*/ | ||
static createIn(container: ProjectSecurity): UserRole; | ||
/** | ||
* Creates and returns a new UserRole 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): UserRole; | ||
@@ -309,0 +363,0 @@ _isByNameReferrable(): boolean; |
@@ -37,2 +37,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
} | ||
Object.defineProperty(AccessRuleContainerBase.prototype, "containerAsProjectSecurity", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ProjectSecurity); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(AccessRuleContainerBase.prototype, "accessRules", { | ||
@@ -66,2 +71,7 @@ get: function () { return this.__accessRules.get(); }, | ||
} | ||
Object.defineProperty(DemoUser.prototype, "containerAsProjectSecurity", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ProjectSecurity); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(DemoUser.prototype, "userName", { | ||
@@ -101,3 +111,3 @@ get: function () { return this.__userName.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new DemoUser instance in the SDK and on the server. | ||
@@ -109,3 +119,3 @@ * The new DemoUser will be automatically stored in the 'demoUsers' property of the parent ProjectSecurity element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new DemoUser instance in the SDK and on the server. | ||
@@ -133,3 +143,8 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
/* | ||
Object.defineProperty(FileDocumentAccessRuleContainer.prototype, "containerAsProjectSecurity", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ProjectSecurity); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
/** | ||
* Creates and returns a new FileDocumentAccessRuleContainer instance in the SDK and on the server. | ||
@@ -141,3 +156,3 @@ * The new FileDocumentAccessRuleContainer will be automatically stored in the 'fileDocumentAccess' property of the parent ProjectSecurity element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new FileDocumentAccessRuleContainer instance in the SDK and on the server. | ||
@@ -165,3 +180,8 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
/* | ||
Object.defineProperty(ImageAccessRuleContainer.prototype, "containerAsProjectSecurity", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ProjectSecurity); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
/** | ||
* Creates and returns a new ImageAccessRuleContainer instance in the SDK and on the server. | ||
@@ -173,3 +193,3 @@ * The new ImageAccessRuleContainer will be automatically stored in the 'imageAccess' property of the parent ProjectSecurity element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new ImageAccessRuleContainer instance in the SDK and on the server. | ||
@@ -202,2 +222,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(ModuleRole.prototype, "containerAsModuleSecurity", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ModuleSecurity); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ModuleRole.prototype, "name", { | ||
@@ -215,3 +240,3 @@ get: function () { return this.__name.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new ModuleRole instance in the SDK and on the server. | ||
@@ -223,3 +248,3 @@ * The new ModuleRole will be automatically stored in the 'moduleRoles' property of the parent ModuleSecurity element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new ModuleRole instance in the SDK and on the server. | ||
@@ -262,2 +287,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(ModuleSecurity.prototype, "containerAsModule", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.Module); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ModuleSecurity.prototype, "moduleRoles", { | ||
@@ -271,3 +301,3 @@ get: function () { return this.__moduleRoles.get(); }, | ||
* Creates a new ModuleSecurity unit in the SDK and on the server. | ||
* Expects one argument, a projects.Module in which this unit is contained. | ||
* Expects one argument, the projects.IModule in which this unit is contained. | ||
*/ | ||
@@ -307,2 +337,7 @@ ModuleSecurity.createIn = function (container) { | ||
} | ||
Object.defineProperty(PasswordPolicySettings.prototype, "containerAsProjectSecurity", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ProjectSecurity); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(PasswordPolicySettings.prototype, "minimumLength", { | ||
@@ -332,3 +367,3 @@ get: function () { return this.__minimumLength.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new PasswordPolicySettings instance in the SDK and on the server. | ||
@@ -340,3 +375,3 @@ * The new PasswordPolicySettings will be automatically stored in the 'passwordPolicySettings' property of the parent ProjectSecurity element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new PasswordPolicySettings instance in the SDK and on the server. | ||
@@ -381,2 +416,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(ProjectSecurity.prototype, "containerAsProject", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.Project); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ProjectSecurity.prototype, "securityLevel", { | ||
@@ -479,3 +519,3 @@ get: function () { return this.__securityLevel.get(); }, | ||
* Creates a new ProjectSecurity unit in the SDK and on the server. | ||
* Expects one argument, a projects.Project in which this unit is contained. | ||
* Expects one argument, the projects.IProject in which this unit is contained. | ||
*/ | ||
@@ -544,2 +584,7 @@ ProjectSecurity.createIn = function (container) { | ||
} | ||
Object.defineProperty(UserRole.prototype, "containerAsProjectSecurity", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ProjectSecurity); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(UserRole.prototype, "guid", { | ||
@@ -603,3 +648,3 @@ get: function () { return this.__guid.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new UserRole instance in the SDK and on the server. | ||
@@ -611,3 +656,3 @@ * The new UserRole will be automatically stored in the 'userRoles' property of the parent ProjectSecurity element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new UserRole instance in the SDK and on the server. | ||
@@ -614,0 +659,0 @@ * Expects one argument: the IModel object the instance will "live on". |
@@ -46,3 +46,3 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: ICertificateSettings; | ||
containerAsCertificateSettings: ICertificateSettings; | ||
load(): Certificate; | ||
@@ -54,3 +54,3 @@ load(callback: (element: Certificate) => void): any; | ||
static typeName: string; | ||
container: CertificateSettings; | ||
containerAsCertificateSettings: CertificateSettings; | ||
private __type; | ||
@@ -62,3 +62,12 @@ type: CertificateType; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new Certificate instance in the SDK and on the server. | ||
* The new Certificate will be automatically stored in the 'certificates' property of the parent CertificateSettings element passed as argument. | ||
*/ | ||
static createIn(container: CertificateSettings): Certificate; | ||
/** | ||
* Creates and returns a new Certificate 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): Certificate; | ||
@@ -69,3 +78,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IProjectSettings; | ||
containerAsProjectSettings: IProjectSettings; | ||
load(): ProjectSettingsPart; | ||
@@ -82,3 +91,3 @@ load(callback: (element: ProjectSettingsPart) => void): any; | ||
static typeName: string; | ||
container: ProjectSettings; | ||
containerAsProjectSettings: ProjectSettings; | ||
static versionInfo: StructureVersionInfo; | ||
@@ -90,3 +99,3 @@ constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
model: IModel; | ||
container: IProjectSettings; | ||
containerAsProjectSettings: IProjectSettings; | ||
load(): CertificateSettings; | ||
@@ -98,3 +107,3 @@ load(callback: (element: CertificateSettings) => void): any; | ||
static typeName: string; | ||
container: ProjectSettings; | ||
containerAsProjectSettings: ProjectSettings; | ||
private __certificates; | ||
@@ -104,3 +113,12 @@ certificates: internal.IList<Certificate>; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new CertificateSettings instance in the SDK and on the server. | ||
* The new CertificateSettings will be automatically stored in the 'settingsParts' property of the parent ProjectSettings element passed as argument. | ||
*/ | ||
static createIn(container: ProjectSettings): CertificateSettings; | ||
/** | ||
* Creates and returns a new CertificateSettings 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): CertificateSettings; | ||
@@ -114,3 +132,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IConfigurationSettings; | ||
containerAsConfigurationSettings: IConfigurationSettings; | ||
load(): Configuration; | ||
@@ -125,3 +143,3 @@ load(callback: (element: Configuration) => void): any; | ||
static typeName: string; | ||
container: ConfigurationSettings; | ||
containerAsConfigurationSettings: ConfigurationSettings; | ||
private __name; | ||
@@ -163,3 +181,12 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new Configuration instance in the SDK and on the server. | ||
* The new Configuration will be automatically stored in the 'configurations' property of the parent ConfigurationSettings element passed as argument. | ||
*/ | ||
static createIn(container: ConfigurationSettings): Configuration; | ||
/** | ||
* Creates and returns a new Configuration 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): Configuration; | ||
@@ -170,3 +197,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IProjectSettings; | ||
containerAsProjectSettings: IProjectSettings; | ||
load(): ConfigurationSettings; | ||
@@ -178,3 +205,3 @@ load(callback: (element: ConfigurationSettings) => void): any; | ||
static typeName: string; | ||
container: ProjectSettings; | ||
containerAsProjectSettings: ProjectSettings; | ||
private __configurations; | ||
@@ -184,3 +211,12 @@ configurations: internal.IList<Configuration>; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new ConfigurationSettings instance in the SDK and on the server. | ||
* The new ConfigurationSettings will be automatically stored in the 'settingsParts' property of the parent ProjectSettings element passed as argument. | ||
*/ | ||
static createIn(container: ProjectSettings): ConfigurationSettings; | ||
/** | ||
* Creates and returns a new ConfigurationSettings 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): ConfigurationSettings; | ||
@@ -191,3 +227,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IConfiguration; | ||
containerAsConfiguration: IConfiguration; | ||
load(): ConstantValue; | ||
@@ -199,3 +235,3 @@ load(callback: (element: ConstantValue) => void): any; | ||
static typeName: string; | ||
container: Configuration; | ||
containerAsConfiguration: Configuration; | ||
private __constant; | ||
@@ -208,3 +244,12 @@ constant: constants.IConstant; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new ConstantValue instance in the SDK and on the server. | ||
* The new ConstantValue will be automatically stored in the 'constantValues' property of the parent Configuration element passed as argument. | ||
*/ | ||
static createIn(container: Configuration): ConstantValue; | ||
/** | ||
* Creates and returns a new ConstantValue 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): ConstantValue; | ||
@@ -215,3 +260,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IConfiguration; | ||
containerAsConfiguration: IConfiguration; | ||
load(): CustomSetting; | ||
@@ -223,3 +268,3 @@ load(callback: (element: CustomSetting) => void): any; | ||
static typeName: string; | ||
container: Configuration; | ||
containerAsConfiguration: Configuration; | ||
private __name; | ||
@@ -231,3 +276,12 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new CustomSetting instance in the SDK and on the server. | ||
* The new CustomSetting will be automatically stored in the 'customSettings' property of the parent Configuration element passed as argument. | ||
*/ | ||
static createIn(container: Configuration): CustomSetting; | ||
/** | ||
* Creates and returns a new CustomSetting 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): CustomSetting; | ||
@@ -238,3 +292,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IProjectSettings; | ||
containerAsProjectSettings: IProjectSettings; | ||
load(): IntegrationProjectSettingsPart; | ||
@@ -246,6 +300,15 @@ load(callback: (element: IntegrationProjectSettingsPart) => void): any; | ||
static typeName: string; | ||
container: ProjectSettings; | ||
containerAsProjectSettings: ProjectSettings; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new IntegrationProjectSettingsPart instance in the SDK and on the server. | ||
* The new IntegrationProjectSettingsPart will be automatically stored in the 'settingsParts' property of the parent ProjectSettings element passed as argument. | ||
*/ | ||
static createIn(container: ProjectSettings): IntegrationProjectSettingsPart; | ||
/** | ||
* Creates and returns a new IntegrationProjectSettingsPart 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): IntegrationProjectSettingsPart; | ||
@@ -256,3 +319,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: ILanguageSettings; | ||
containerAsLanguageSettings: ILanguageSettings; | ||
load(): Language; | ||
@@ -264,3 +327,3 @@ load(callback: (element: Language) => void): any; | ||
static typeName: string; | ||
container: LanguageSettings; | ||
containerAsLanguageSettings: LanguageSettings; | ||
private __code; | ||
@@ -278,3 +341,12 @@ code: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new Language instance in the SDK and on the server. | ||
* The new Language will be automatically stored in the 'languages' property of the parent LanguageSettings element passed as argument. | ||
*/ | ||
static createIn(container: LanguageSettings): Language; | ||
/** | ||
* Creates and returns a new Language 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): Language; | ||
@@ -285,3 +357,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IProjectSettings; | ||
containerAsProjectSettings: IProjectSettings; | ||
load(): LanguageSettings; | ||
@@ -293,3 +365,3 @@ load(callback: (element: LanguageSettings) => void): any; | ||
static typeName: string; | ||
container: ProjectSettings; | ||
containerAsProjectSettings: ProjectSettings; | ||
private __defaultLanguageCode; | ||
@@ -301,3 +373,12 @@ defaultLanguageCode: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new LanguageSettings instance in the SDK and on the server. | ||
* The new LanguageSettings will be automatically stored in the 'settingsParts' property of the parent ProjectSettings element passed as argument. | ||
*/ | ||
static createIn(container: ProjectSettings): LanguageSettings; | ||
/** | ||
* Creates and returns a new LanguageSettings 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): LanguageSettings; | ||
@@ -308,3 +389,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IProjectSettings; | ||
containerAsProjectSettings: IProjectSettings; | ||
load(): ModelerSettings; | ||
@@ -316,3 +397,3 @@ load(callback: (element: ModelerSettings) => void): any; | ||
static typeName: string; | ||
container: ProjectSettings; | ||
containerAsProjectSettings: ProjectSettings; | ||
private __lowerCaseMicroflowVariables; | ||
@@ -322,3 +403,12 @@ lowerCaseMicroflowVariables: boolean; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new ModelerSettings instance in the SDK and on the server. | ||
* The new ModelerSettings will be automatically stored in the 'settingsParts' property of the parent ProjectSettings element passed as argument. | ||
*/ | ||
static createIn(container: ProjectSettings): ModelerSettings; | ||
/** | ||
* Creates and returns a new ModelerSettings 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): ModelerSettings; | ||
@@ -332,3 +422,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: projects.IProject; | ||
containerAsProject: projects.IProject; | ||
load(): ProjectSettings; | ||
@@ -343,3 +433,3 @@ load(callback: (element: ProjectSettings) => void): any; | ||
static typeName: string; | ||
container: projects.Project; | ||
containerAsProject: projects.Project; | ||
private __settingsParts; | ||
@@ -351,3 +441,3 @@ settingsParts: internal.IList<ProjectSettingsPart>; | ||
* Creates a new ProjectSettings unit in the SDK and on the server. | ||
* Expects one argument, a projects.Project in which this unit is contained. | ||
* Expects one argument, the projects.IProject in which this unit is contained. | ||
*/ | ||
@@ -359,3 +449,3 @@ static createIn(container: projects.IProject): ProjectSettings; | ||
model: IModel; | ||
container: IProjectSettings; | ||
containerAsProjectSettings: IProjectSettings; | ||
load(): RuntimeSettings; | ||
@@ -367,3 +457,3 @@ load(callback: (element: RuntimeSettings) => void): any; | ||
static typeName: string; | ||
container: ProjectSettings; | ||
containerAsProjectSettings: ProjectSettings; | ||
private __afterStartupMicroflow; | ||
@@ -392,3 +482,12 @@ afterStartupMicroflow: microflows.IMicroflow; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new RuntimeSettings instance in the SDK and on the server. | ||
* The new RuntimeSettings will be automatically stored in the 'settingsParts' property of the parent ProjectSettings element passed as argument. | ||
*/ | ||
static createIn(container: ProjectSettings): RuntimeSettings; | ||
/** | ||
* Creates and returns a new RuntimeSettings 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): RuntimeSettings; | ||
@@ -399,3 +498,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IProjectSettings; | ||
containerAsProjectSettings: IProjectSettings; | ||
load(): WebUIProjectSettingsPart; | ||
@@ -407,6 +506,9 @@ load(callback: (element: WebUIProjectSettingsPart) => void): any; | ||
static typeName: string; | ||
container: ProjectSettings; | ||
containerAsProjectSettings: ProjectSettings; | ||
private __theme; | ||
theme: string; | ||
private __feedbackWidgetUpdated; | ||
/** | ||
* In version 6.2.0: deleted | ||
*/ | ||
feedbackWidgetUpdated: boolean; | ||
@@ -417,3 +519,12 @@ private __enableWidgetBundling; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new WebUIProjectSettingsPart instance in the SDK and on the server. | ||
* The new WebUIProjectSettingsPart will be automatically stored in the 'settingsParts' property of the parent ProjectSettings element passed as argument. | ||
*/ | ||
static createIn(container: ProjectSettings): WebUIProjectSettingsPart; | ||
/** | ||
* Creates and returns a new WebUIProjectSettingsPart 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): WebUIProjectSettingsPart; | ||
@@ -420,0 +531,0 @@ _initializeDefaultProperties(): void; |
@@ -86,2 +86,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
} | ||
Object.defineProperty(Certificate.prototype, "containerAsCertificateSettings", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, CertificateSettings); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Certificate.prototype, "type", { | ||
@@ -99,3 +104,3 @@ get: function () { return this.__type.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new Certificate instance in the SDK and on the server. | ||
@@ -107,3 +112,3 @@ * The new Certificate will be automatically stored in the 'certificates' property of the parent CertificateSettings element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new Certificate instance in the SDK and on the server. | ||
@@ -137,2 +142,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(ProjectSettingsPart.prototype, "containerAsProjectSettings", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ProjectSettings); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
ProjectSettingsPart.prototype._initializeDefaultProperties = function () { | ||
@@ -154,2 +164,7 @@ _super.prototype._initializeDefaultProperties.call(this); | ||
} | ||
Object.defineProperty(CertificateSettings.prototype, "containerAsProjectSettings", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ProjectSettings); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(CertificateSettings.prototype, "certificates", { | ||
@@ -161,3 +176,3 @@ get: function () { return this.__certificates.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new CertificateSettings instance in the SDK and on the server. | ||
@@ -169,3 +184,3 @@ * The new CertificateSettings will be automatically stored in the 'settingsParts' property of the parent ProjectSettings element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new CertificateSettings instance in the SDK and on the server. | ||
@@ -213,2 +228,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(Configuration.prototype, "containerAsConfigurationSettings", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ConfigurationSettings); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Configuration.prototype, "name", { | ||
@@ -316,3 +336,3 @@ get: function () { return this.__name.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new Configuration instance in the SDK and on the server. | ||
@@ -324,3 +344,3 @@ * The new Configuration will be automatically stored in the 'configurations' property of the parent ConfigurationSettings element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new Configuration instance in the SDK and on the server. | ||
@@ -357,2 +377,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(ConfigurationSettings.prototype, "containerAsProjectSettings", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ProjectSettings); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ConfigurationSettings.prototype, "configurations", { | ||
@@ -364,3 +389,3 @@ get: function () { return this.__configurations.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new ConfigurationSettings instance in the SDK and on the server. | ||
@@ -372,3 +397,3 @@ * The new ConfigurationSettings will be automatically stored in the 'settingsParts' property of the parent ProjectSettings element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new ConfigurationSettings instance in the SDK and on the server. | ||
@@ -402,2 +427,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(ConstantValue.prototype, "containerAsConfiguration", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, Configuration); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ConstantValue.prototype, "constant", { | ||
@@ -420,3 +450,3 @@ get: function () { return this.__constant.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new ConstantValue instance in the SDK and on the server. | ||
@@ -428,3 +458,3 @@ * The new ConstantValue will be automatically stored in the 'constantValues' property of the parent Configuration element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new ConstantValue instance in the SDK and on the server. | ||
@@ -462,2 +492,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(CustomSetting.prototype, "containerAsConfiguration", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, Configuration); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(CustomSetting.prototype, "name", { | ||
@@ -475,3 +510,3 @@ get: function () { return this.__name.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new CustomSetting instance in the SDK and on the server. | ||
@@ -483,3 +518,3 @@ * The new CustomSetting will be automatically stored in the 'customSettings' property of the parent Configuration element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new CustomSetting instance in the SDK and on the server. | ||
@@ -507,3 +542,8 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
/* | ||
Object.defineProperty(IntegrationProjectSettingsPart.prototype, "containerAsProjectSettings", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ProjectSettings); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
/** | ||
* Creates and returns a new IntegrationProjectSettingsPart instance in the SDK and on the server. | ||
@@ -515,3 +555,3 @@ * The new IntegrationProjectSettingsPart will be automatically stored in the 'settingsParts' property of the parent ProjectSettings element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new IntegrationProjectSettingsPart instance in the SDK and on the server. | ||
@@ -544,2 +584,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(Language.prototype, "containerAsLanguageSettings", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, LanguageSettings); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Language.prototype, "code", { | ||
@@ -575,3 +620,3 @@ get: function () { return this.__code.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new Language instance in the SDK and on the server. | ||
@@ -583,3 +628,3 @@ * The new Language will be automatically stored in the 'languages' property of the parent LanguageSettings element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new Language instance in the SDK and on the server. | ||
@@ -609,2 +654,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(LanguageSettings.prototype, "containerAsProjectSettings", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ProjectSettings); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(LanguageSettings.prototype, "defaultLanguageCode", { | ||
@@ -622,3 +672,3 @@ get: function () { return this.__defaultLanguageCode.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new LanguageSettings instance in the SDK and on the server. | ||
@@ -630,3 +680,3 @@ * The new LanguageSettings will be automatically stored in the 'settingsParts' property of the parent ProjectSettings element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new LanguageSettings instance in the SDK and on the server. | ||
@@ -660,2 +710,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(ModelerSettings.prototype, "containerAsProjectSettings", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ProjectSettings); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ModelerSettings.prototype, "lowerCaseMicroflowVariables", { | ||
@@ -667,3 +722,3 @@ get: function () { return this.__lowerCaseMicroflowVariables.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new ModelerSettings instance in the SDK and on the server. | ||
@@ -675,3 +730,3 @@ * The new ModelerSettings will be automatically stored in the 'settingsParts' property of the parent ProjectSettings element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new ModelerSettings instance in the SDK and on the server. | ||
@@ -702,2 +757,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(ProjectSettings.prototype, "containerAsProject", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.Project); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ProjectSettings.prototype, "settingsParts", { | ||
@@ -711,3 +771,3 @@ get: function () { return this.__settingsParts.get(); }, | ||
* Creates a new ProjectSettings unit in the SDK and on the server. | ||
* Expects one argument, a projects.Project in which this unit is contained. | ||
* Expects one argument, the projects.IProject in which this unit is contained. | ||
*/ | ||
@@ -741,2 +801,7 @@ ProjectSettings.createIn = function (container) { | ||
} | ||
Object.defineProperty(RuntimeSettings.prototype, "containerAsProjectSettings", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ProjectSettings); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(RuntimeSettings.prototype, "afterStartupMicroflow", { | ||
@@ -811,3 +876,3 @@ get: function () { return this.__afterStartupMicroflow.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new RuntimeSettings instance in the SDK and on the server. | ||
@@ -819,3 +884,3 @@ * The new RuntimeSettings will be automatically stored in the 'settingsParts' property of the parent ProjectSettings element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new RuntimeSettings instance in the SDK and on the server. | ||
@@ -850,2 +915,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(WebUIProjectSettingsPart.prototype, "containerAsProjectSettings", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, ProjectSettings); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(WebUIProjectSettingsPart.prototype, "theme", { | ||
@@ -858,2 +928,5 @@ get: function () { return this.__theme.get(); }, | ||
Object.defineProperty(WebUIProjectSettingsPart.prototype, "feedbackWidgetUpdated", { | ||
/** | ||
* In version 6.2.0: deleted | ||
*/ | ||
get: function () { return this.__feedbackWidgetUpdated.get(); }, | ||
@@ -870,3 +943,3 @@ set: function (newValue) { this.__feedbackWidgetUpdated.set(newValue); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new WebUIProjectSettingsPart instance in the SDK and on the server. | ||
@@ -878,3 +951,3 @@ * The new WebUIProjectSettingsPart will be automatically stored in the 'settingsParts' property of the parent ProjectSettings element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new WebUIProjectSettingsPart instance in the SDK and on the server. | ||
@@ -892,3 +965,10 @@ * Expects one argument: the IModel object the instance will "live on". | ||
WebUIProjectSettingsPart.typeName = "Settings$WebUIProjectSettingsPart"; | ||
WebUIProjectSettingsPart.versionInfo = new exports.StructureVersionInfo({}, internal.StructureType.Element); | ||
WebUIProjectSettingsPart.versionInfo = new exports.StructureVersionInfo({ | ||
"properties": { | ||
"feedbackWidgetUpdated": { | ||
"deleted": "6.2.0", | ||
"deletionMessage": null | ||
} | ||
} | ||
}, internal.StructureType.Element); | ||
return WebUIProjectSettingsPart; | ||
@@ -895,0 +975,0 @@ })(ProjectSettingsPart); |
@@ -10,3 +10,3 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
container: ISystemTextCollection; | ||
containerAsSystemTextCollection: ISystemTextCollection; | ||
load(): SystemText; | ||
@@ -18,3 +18,3 @@ load(callback: (element: SystemText) => void): any; | ||
static typeName: string; | ||
container: SystemTextCollection; | ||
containerAsSystemTextCollection: SystemTextCollection; | ||
private __text; | ||
@@ -26,3 +26,12 @@ text: Text; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new SystemText instance in the SDK and on the server. | ||
* The new SystemText will be automatically stored in the 'systemTexts' property of the parent SystemTextCollection element passed as argument. | ||
*/ | ||
static createIn(container: SystemTextCollection): SystemText; | ||
/** | ||
* Creates and returns a new SystemText 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): SystemText; | ||
@@ -36,3 +45,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: projects.IProject; | ||
containerAsProject: projects.IProject; | ||
load(): SystemTextCollection; | ||
@@ -47,3 +56,3 @@ load(callback: (element: SystemTextCollection) => void): any; | ||
static typeName: string; | ||
container: projects.Project; | ||
containerAsProject: projects.Project; | ||
private __systemTexts; | ||
@@ -55,3 +64,3 @@ systemTexts: internal.IList<SystemText>; | ||
* Creates a new SystemTextCollection unit in the SDK and on the server. | ||
* Expects one argument, a projects.Project in which this unit is contained. | ||
* Expects one argument, the projects.IProject in which this unit is contained. | ||
*/ | ||
@@ -66,2 +75,38 @@ static createIn(container: projects.IProject): SystemTextCollection; | ||
model: IModel; | ||
containerAsWidgetValue: customwidgets.IWidgetValue; | ||
containerAsDataGridColumn: documenttemplates.IDataGridColumn; | ||
containerAsStaticLabel: documenttemplates.IStaticLabel; | ||
containerAsTitle: documenttemplates.ITitle; | ||
containerAsAssociationDeleteBehavior: domainmodels.IAssociationDeleteBehavior; | ||
containerAsValidationRule: domainmodels.IValidationRule; | ||
containerAsEnumerationValue: enumerations.IEnumerationValue; | ||
containerAsMenuItem: menus.IMenuItem; | ||
containerAsMicroflow: microflows.IMicroflow; | ||
containerAsTextTemplate: microflows.ITextTemplate; | ||
containerAsAttributeWidget: pages.IAttributeWidget; | ||
containerAsAttributeWidgetWithPlaceholder: pages.IAttributeWidgetWithPlaceholder; | ||
containerAsButton: pages.IButton; | ||
containerAsClientTemplate: pages.IClientTemplate; | ||
containerAsConfirmationInfo: pages.IConfirmationInfo; | ||
containerAsControlBarButton: pages.IControlBarButton; | ||
containerAsDataView: pages.IDataView; | ||
containerAsDropDownButtonItem: pages.IDropDownButtonItem; | ||
containerAsGridColumn: pages.IGridColumn; | ||
containerAsInputWidget: pages.IInputWidget; | ||
containerAsLabel: pages.ILabel; | ||
containerAsMicroflowSettings: pages.IMicroflowSettings; | ||
containerAsPage: pages.IPage; | ||
containerAsPageSettings: pages.IPageSettings; | ||
containerAsReferenceSelector: pages.IReferenceSelector; | ||
containerAsSearchField: pages.ISearchField; | ||
containerAsTabPage: pages.ITabPage; | ||
containerAsTextArea: pages.ITextArea; | ||
containerAsBasicReportAggregate: reports.IBasicReportAggregate; | ||
containerAsBasicReportColumn: reports.IBasicReportColumn; | ||
containerAsReportButton: reports.IReportButton; | ||
containerAsReportChart: reports.IReportChart; | ||
containerAsReportChartSeries: reports.IReportChartSeries; | ||
containerAsReportDateRangeField: reports.IReportDateRangeField; | ||
containerAsReportDateRangeSelector: reports.IReportDateRangeSelector; | ||
containerAsSystemText: ISystemText; | ||
load(): Text; | ||
@@ -76,2 +121,38 @@ load(callback: (element: Text) => void): any; | ||
static typeName: string; | ||
containerAsWidgetValue: customwidgets.WidgetValue; | ||
containerAsDataGridColumn: documenttemplates.DataGridColumn; | ||
containerAsStaticLabel: documenttemplates.StaticLabel; | ||
containerAsTitle: documenttemplates.Title; | ||
containerAsAssociationDeleteBehavior: domainmodels.AssociationDeleteBehavior; | ||
containerAsValidationRule: domainmodels.ValidationRule; | ||
containerAsEnumerationValue: enumerations.EnumerationValue; | ||
containerAsMenuItem: menus.MenuItem; | ||
containerAsMicroflow: microflows.Microflow; | ||
containerAsTextTemplate: microflows.TextTemplate; | ||
containerAsAttributeWidget: pages.AttributeWidget; | ||
containerAsAttributeWidgetWithPlaceholder: pages.AttributeWidgetWithPlaceholder; | ||
containerAsButton: pages.Button; | ||
containerAsClientTemplate: pages.ClientTemplate; | ||
containerAsConfirmationInfo: pages.ConfirmationInfo; | ||
containerAsControlBarButton: pages.ControlBarButton; | ||
containerAsDataView: pages.DataView; | ||
containerAsDropDownButtonItem: pages.DropDownButtonItem; | ||
containerAsGridColumn: pages.GridColumn; | ||
containerAsInputWidget: pages.InputWidget; | ||
containerAsLabel: pages.Label; | ||
containerAsMicroflowSettings: pages.MicroflowSettings; | ||
containerAsPage: pages.Page; | ||
containerAsPageSettings: pages.PageSettings; | ||
containerAsReferenceSelector: pages.ReferenceSelector; | ||
containerAsSearchField: pages.SearchField; | ||
containerAsTabPage: pages.TabPage; | ||
containerAsTextArea: pages.TextArea; | ||
containerAsBasicReportAggregate: reports.BasicReportAggregate; | ||
containerAsBasicReportColumn: reports.BasicReportColumn; | ||
containerAsReportButton: reports.ReportButton; | ||
containerAsReportChart: reports.ReportChart; | ||
containerAsReportChartSeries: reports.ReportChartSeries; | ||
containerAsReportDateRangeField: reports.ReportDateRangeField; | ||
containerAsReportDateRangeSelector: reports.ReportDateRangeSelector; | ||
containerAsSystemText: SystemText; | ||
private __translations; | ||
@@ -81,2 +162,222 @@ translations: internal.IList<Translation>; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'translatableValue' property of the parent customwidgets.WidgetValue element passed as argument. | ||
*/ | ||
static createInWidgetValueUnderTranslatableValue(container: customwidgets.WidgetValue): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent documenttemplates.DataGridColumn element passed as argument. | ||
*/ | ||
static createInDataGridColumnUnderCaption(container: documenttemplates.DataGridColumn): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent documenttemplates.StaticLabel element passed as argument. | ||
*/ | ||
static createInStaticLabelUnderCaption(container: documenttemplates.StaticLabel): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent documenttemplates.Title element passed as argument. | ||
*/ | ||
static createInTitleUnderCaption(container: documenttemplates.Title): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'childErrorMessage' property of the parent domainmodels.AssociationDeleteBehavior element passed as argument. | ||
*/ | ||
static createInAssociationDeleteBehaviorUnderChildErrorMessage(container: domainmodels.AssociationDeleteBehavior): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'parentErrorMessage' property of the parent domainmodels.AssociationDeleteBehavior element passed as argument. | ||
*/ | ||
static createInAssociationDeleteBehaviorUnderParentErrorMessage(container: domainmodels.AssociationDeleteBehavior): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'errorMessage' property of the parent domainmodels.ValidationRule element passed as argument. | ||
*/ | ||
static createInValidationRuleUnderErrorMessage(container: domainmodels.ValidationRule): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent enumerations.EnumerationValue element passed as argument. | ||
*/ | ||
static createInEnumerationValueUnderCaption(container: enumerations.EnumerationValue): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent menus.MenuItem element passed as argument. | ||
*/ | ||
static createInMenuItemUnderCaption(container: menus.MenuItem): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'concurrencyErrorMessage' property of the parent microflows.Microflow element passed as argument. | ||
*/ | ||
static createInMicroflowUnderConcurrencyErrorMessage(container: microflows.Microflow): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'text' property of the parent microflows.TextTemplate element passed as argument. | ||
*/ | ||
static createInTextTemplateUnderText(container: microflows.TextTemplate): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'requiredMessage' property of the parent pages.AttributeWidget element passed as argument. | ||
*/ | ||
static createInAttributeWidgetUnderRequiredMessage(container: pages.AttributeWidget): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'placeholder' property of the parent pages.AttributeWidgetWithPlaceholder element passed as argument. | ||
*/ | ||
static createInAttributeWidgetWithPlaceholderUnderPlaceholder(container: pages.AttributeWidgetWithPlaceholder): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'tooltip' property of the parent pages.Button element passed as argument. | ||
*/ | ||
static createInButtonUnderTooltip(container: pages.Button): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'template' property of the parent pages.ClientTemplate element passed as argument. | ||
*/ | ||
static createInClientTemplateUnderTemplate(container: pages.ClientTemplate): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'cancelButtonCaption' property of the parent pages.ConfirmationInfo element passed as argument. | ||
*/ | ||
static createInConfirmationInfoUnderCancelButtonCaption(container: pages.ConfirmationInfo): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'proceedButtonCaption' property of the parent pages.ConfirmationInfo element passed as argument. | ||
*/ | ||
static createInConfirmationInfoUnderProceedButtonCaption(container: pages.ConfirmationInfo): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'question' property of the parent pages.ConfirmationInfo element passed as argument. | ||
*/ | ||
static createInConfirmationInfoUnderQuestion(container: pages.ConfirmationInfo): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'tooltip' property of the parent pages.ControlBarButton element passed as argument. | ||
*/ | ||
static createInControlBarButtonUnderTooltip(container: pages.ControlBarButton): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'noEntityMessage' property of the parent pages.DataView element passed as argument. | ||
*/ | ||
static createInDataViewUnderNoEntityMessage(container: pages.DataView): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent pages.DropDownButtonItem element passed as argument. | ||
*/ | ||
static createInDropDownButtonItemUnderCaption(container: pages.DropDownButtonItem): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'aggregateCaption' property of the parent pages.GridColumn element passed as argument. | ||
*/ | ||
static createInGridColumnUnderAggregateCaption(container: pages.GridColumn): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent pages.GridColumn element passed as argument. | ||
*/ | ||
static createInGridColumnUnderCaption(container: pages.GridColumn): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'label' property of the parent pages.InputWidget element passed as argument. | ||
*/ | ||
static createInInputWidgetUnderLabel(container: pages.InputWidget): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent pages.Label element passed as argument. | ||
*/ | ||
static createInLabelUnderCaption(container: pages.Label): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'progressMessage' property of the parent pages.MicroflowSettings element passed as argument. | ||
*/ | ||
static createInMicroflowSettingsUnderProgressMessage(container: pages.MicroflowSettings): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'title' property of the parent pages.Page element passed as argument. | ||
*/ | ||
static createInPageUnderTitle(container: pages.Page): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'formTitle' property of the parent pages.PageSettings element passed as argument. | ||
*/ | ||
static createInPageSettingsUnderFormTitle(container: pages.PageSettings): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'requiredMessage' property of the parent pages.ReferenceSelector element passed as argument. | ||
*/ | ||
static createInReferenceSelectorUnderRequiredMessage(container: pages.ReferenceSelector): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent pages.SearchField element passed as argument. | ||
*/ | ||
static createInSearchFieldUnderCaption(container: pages.SearchField): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent pages.TabPage element passed as argument. | ||
*/ | ||
static createInTabPageUnderCaption(container: pages.TabPage): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'counterMessage' property of the parent pages.TextArea element passed as argument. | ||
*/ | ||
static createInTextAreaUnderCounterMessage(container: pages.TextArea): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'textTooLongMessage' property of the parent pages.TextArea element passed as argument. | ||
*/ | ||
static createInTextAreaUnderTextTooLongMessage(container: pages.TextArea): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent reports.BasicReportAggregate element passed as argument. | ||
*/ | ||
static createInBasicReportAggregateUnderCaption(container: reports.BasicReportAggregate): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent reports.BasicReportColumn element passed as argument. | ||
*/ | ||
static createInBasicReportColumnUnderCaption(container: reports.BasicReportColumn): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent reports.ReportButton element passed as argument. | ||
*/ | ||
static createInReportButtonUnderCaption(container: reports.ReportButton): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'xAxisCaption' property of the parent reports.ReportChart element passed as argument. | ||
*/ | ||
static createInReportChartUnderXAxisCaption(container: reports.ReportChart): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'yAxisCaption' property of the parent reports.ReportChart element passed as argument. | ||
*/ | ||
static createInReportChartUnderYAxisCaption(container: reports.ReportChart): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent reports.ReportChartSeries element passed as argument. | ||
*/ | ||
static createInReportChartSeriesUnderCaption(container: reports.ReportChartSeries): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent reports.ReportDateRangeField element passed as argument. | ||
*/ | ||
static createInReportDateRangeFieldUnderCaption(container: reports.ReportDateRangeField): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'fromCaption' property of the parent reports.ReportDateRangeSelector element passed as argument. | ||
*/ | ||
static createInReportDateRangeSelectorUnderFromCaption(container: reports.ReportDateRangeSelector): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'toCaption' property of the parent reports.ReportDateRangeSelector element passed as argument. | ||
*/ | ||
static createInReportDateRangeSelectorUnderToCaption(container: reports.ReportDateRangeSelector): Text; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'text' property of the parent SystemText element passed as argument. | ||
*/ | ||
static createInSystemTextUnderText(container: SystemText): Text; | ||
/** | ||
* Creates and returns a new Text 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): Text; | ||
@@ -87,3 +388,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IText; | ||
containerAsText: IText; | ||
load(): Translation; | ||
@@ -95,3 +396,3 @@ load(callback: (element: Translation) => void): any; | ||
static typeName: string; | ||
container: Text; | ||
containerAsText: Text; | ||
private __languageCode; | ||
@@ -103,3 +404,12 @@ languageCode: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new Translation instance in the SDK and on the server. | ||
* The new Translation will be automatically stored in the 'translations' property of the parent Text element passed as argument. | ||
*/ | ||
static createIn(container: Text): Translation; | ||
/** | ||
* Creates and returns a new Translation 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): Translation; | ||
@@ -109,2 +419,10 @@ _initializeDefaultProperties(): void; | ||
} | ||
import { customwidgets } from './customwidgets'; | ||
import { documenttemplates } from './documenttemplates'; | ||
import { domainmodels } from './domainmodels'; | ||
import { enumerations } from './enumerations'; | ||
import { menus } from './menus'; | ||
import { microflows } from './microflows'; | ||
import { pages } from './pages'; | ||
import { reports } from './reports'; | ||
import { IModel } from './base-model'; |
@@ -20,2 +20,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
} | ||
Object.defineProperty(SystemText.prototype, "containerAsSystemTextCollection", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, SystemTextCollection); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(SystemText.prototype, "text", { | ||
@@ -33,3 +38,3 @@ get: function () { return this.__text.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new SystemText instance in the SDK and on the server. | ||
@@ -41,3 +46,3 @@ * The new SystemText will be automatically stored in the 'systemTexts' property of the parent SystemTextCollection element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new SystemText instance in the SDK and on the server. | ||
@@ -77,2 +82,7 @@ * Expects one argument: the IModel object the instance will "live on". | ||
} | ||
Object.defineProperty(SystemTextCollection.prototype, "containerAsProject", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.Project); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(SystemTextCollection.prototype, "systemTexts", { | ||
@@ -86,3 +96,3 @@ get: function () { return this.__systemTexts.get(); }, | ||
* Creates a new SystemTextCollection unit in the SDK and on the server. | ||
* Expects one argument, a projects.Project in which this unit is contained. | ||
* Expects one argument, the projects.IProject in which this unit is contained. | ||
*/ | ||
@@ -111,2 +121,182 @@ SystemTextCollection.createIn = function (container) { | ||
} | ||
Object.defineProperty(Text.prototype, "containerAsWidgetValue", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, customwidgets_1.customwidgets.WidgetValue); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsDataGridColumn", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, documenttemplates_1.documenttemplates.DataGridColumn); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsStaticLabel", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, documenttemplates_1.documenttemplates.StaticLabel); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsTitle", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, documenttemplates_1.documenttemplates.Title); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsAssociationDeleteBehavior", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, domainmodels_1.domainmodels.AssociationDeleteBehavior); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsValidationRule", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, domainmodels_1.domainmodels.ValidationRule); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsEnumerationValue", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, enumerations_1.enumerations.EnumerationValue); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsMenuItem", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, menus_1.menus.MenuItem); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsMicroflow", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, microflows_1.microflows.Microflow); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsTextTemplate", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, microflows_1.microflows.TextTemplate); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsAttributeWidget", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.AttributeWidget); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsAttributeWidgetWithPlaceholder", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.AttributeWidgetWithPlaceholder); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsButton", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.Button); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsClientTemplate", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.ClientTemplate); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsConfirmationInfo", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.ConfirmationInfo); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsControlBarButton", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.ControlBarButton); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsDataView", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.DataView); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsDropDownButtonItem", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.DropDownButtonItem); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsGridColumn", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.GridColumn); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsInputWidget", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.InputWidget); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsLabel", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.Label); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsMicroflowSettings", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.MicroflowSettings); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsPage", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.Page); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsPageSettings", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.PageSettings); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsReferenceSelector", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.ReferenceSelector); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsSearchField", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.SearchField); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsTabPage", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.TabPage); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsTextArea", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, pages_1.pages.TextArea); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsBasicReportAggregate", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, reports_1.reports.BasicReportAggregate); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsBasicReportColumn", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, reports_1.reports.BasicReportColumn); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsReportButton", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, reports_1.reports.ReportButton); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsReportChart", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, reports_1.reports.ReportChart); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsReportChartSeries", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, reports_1.reports.ReportChartSeries); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsReportDateRangeField", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, reports_1.reports.ReportDateRangeField); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsReportDateRangeSelector", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, reports_1.reports.ReportDateRangeSelector); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "containerAsSystemText", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, SystemText); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Text.prototype, "translations", { | ||
@@ -118,4 +308,305 @@ get: function () { return this.__translations.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'translatableValue' property of the parent customwidgets.WidgetValue element passed as argument. | ||
*/ | ||
Text.createInWidgetValueUnderTranslatableValue = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "translatableValue", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent documenttemplates.DataGridColumn element passed as argument. | ||
*/ | ||
Text.createInDataGridColumnUnderCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "caption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent documenttemplates.StaticLabel element passed as argument. | ||
*/ | ||
Text.createInStaticLabelUnderCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "caption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent documenttemplates.Title element passed as argument. | ||
*/ | ||
Text.createInTitleUnderCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "caption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'childErrorMessage' property of the parent domainmodels.AssociationDeleteBehavior element passed as argument. | ||
*/ | ||
Text.createInAssociationDeleteBehaviorUnderChildErrorMessage = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "childErrorMessage", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'parentErrorMessage' property of the parent domainmodels.AssociationDeleteBehavior element passed as argument. | ||
*/ | ||
Text.createInAssociationDeleteBehaviorUnderParentErrorMessage = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "parentErrorMessage", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'errorMessage' property of the parent domainmodels.ValidationRule element passed as argument. | ||
*/ | ||
Text.createInValidationRuleUnderErrorMessage = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "errorMessage", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent enumerations.EnumerationValue element passed as argument. | ||
*/ | ||
Text.createInEnumerationValueUnderCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "caption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent menus.MenuItem element passed as argument. | ||
*/ | ||
Text.createInMenuItemUnderCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "caption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'concurrencyErrorMessage' property of the parent microflows.Microflow element passed as argument. | ||
*/ | ||
Text.createInMicroflowUnderConcurrencyErrorMessage = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "concurrencyErrorMessage", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'text' property of the parent microflows.TextTemplate element passed as argument. | ||
*/ | ||
Text.createInTextTemplateUnderText = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "text", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'requiredMessage' property of the parent pages.AttributeWidget element passed as argument. | ||
*/ | ||
Text.createInAttributeWidgetUnderRequiredMessage = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "requiredMessage", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'placeholder' property of the parent pages.AttributeWidgetWithPlaceholder element passed as argument. | ||
*/ | ||
Text.createInAttributeWidgetWithPlaceholderUnderPlaceholder = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "placeholder", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'tooltip' property of the parent pages.Button element passed as argument. | ||
*/ | ||
Text.createInButtonUnderTooltip = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "tooltip", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'template' property of the parent pages.ClientTemplate element passed as argument. | ||
*/ | ||
Text.createInClientTemplateUnderTemplate = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "template", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'cancelButtonCaption' property of the parent pages.ConfirmationInfo element passed as argument. | ||
*/ | ||
Text.createInConfirmationInfoUnderCancelButtonCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "cancelButtonCaption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'proceedButtonCaption' property of the parent pages.ConfirmationInfo element passed as argument. | ||
*/ | ||
Text.createInConfirmationInfoUnderProceedButtonCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "proceedButtonCaption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'question' property of the parent pages.ConfirmationInfo element passed as argument. | ||
*/ | ||
Text.createInConfirmationInfoUnderQuestion = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "question", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'tooltip' property of the parent pages.ControlBarButton element passed as argument. | ||
*/ | ||
Text.createInControlBarButtonUnderTooltip = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "tooltip", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'noEntityMessage' property of the parent pages.DataView element passed as argument. | ||
*/ | ||
Text.createInDataViewUnderNoEntityMessage = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "noEntityMessage", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent pages.DropDownButtonItem element passed as argument. | ||
*/ | ||
Text.createInDropDownButtonItemUnderCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "caption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'aggregateCaption' property of the parent pages.GridColumn element passed as argument. | ||
*/ | ||
Text.createInGridColumnUnderAggregateCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "aggregateCaption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent pages.GridColumn element passed as argument. | ||
*/ | ||
Text.createInGridColumnUnderCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "caption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'label' property of the parent pages.InputWidget element passed as argument. | ||
*/ | ||
Text.createInInputWidgetUnderLabel = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "label", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent pages.Label element passed as argument. | ||
*/ | ||
Text.createInLabelUnderCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "caption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'progressMessage' property of the parent pages.MicroflowSettings element passed as argument. | ||
*/ | ||
Text.createInMicroflowSettingsUnderProgressMessage = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "progressMessage", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'title' property of the parent pages.Page element passed as argument. | ||
*/ | ||
Text.createInPageUnderTitle = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "title", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'formTitle' property of the parent pages.PageSettings element passed as argument. | ||
*/ | ||
Text.createInPageSettingsUnderFormTitle = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "formTitle", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'requiredMessage' property of the parent pages.ReferenceSelector element passed as argument. | ||
*/ | ||
Text.createInReferenceSelectorUnderRequiredMessage = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "requiredMessage", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent pages.SearchField element passed as argument. | ||
*/ | ||
Text.createInSearchFieldUnderCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "caption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent pages.TabPage element passed as argument. | ||
*/ | ||
Text.createInTabPageUnderCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "caption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'counterMessage' property of the parent pages.TextArea element passed as argument. | ||
*/ | ||
Text.createInTextAreaUnderCounterMessage = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "counterMessage", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'textTooLongMessage' property of the parent pages.TextArea element passed as argument. | ||
*/ | ||
Text.createInTextAreaUnderTextTooLongMessage = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "textTooLongMessage", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent reports.BasicReportAggregate element passed as argument. | ||
*/ | ||
Text.createInBasicReportAggregateUnderCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "caption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent reports.BasicReportColumn element passed as argument. | ||
*/ | ||
Text.createInBasicReportColumnUnderCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "caption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent reports.ReportButton element passed as argument. | ||
*/ | ||
Text.createInReportButtonUnderCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "caption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'xAxisCaption' property of the parent reports.ReportChart element passed as argument. | ||
*/ | ||
Text.createInReportChartUnderXAxisCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "xAxisCaption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'yAxisCaption' property of the parent reports.ReportChart element passed as argument. | ||
*/ | ||
Text.createInReportChartUnderYAxisCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "yAxisCaption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent reports.ReportChartSeries element passed as argument. | ||
*/ | ||
Text.createInReportChartSeriesUnderCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "caption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'caption' property of the parent reports.ReportDateRangeField element passed as argument. | ||
*/ | ||
Text.createInReportDateRangeFieldUnderCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "caption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'fromCaption' property of the parent reports.ReportDateRangeSelector element passed as argument. | ||
*/ | ||
Text.createInReportDateRangeSelectorUnderFromCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "fromCaption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'toCaption' property of the parent reports.ReportDateRangeSelector element passed as argument. | ||
*/ | ||
Text.createInReportDateRangeSelectorUnderToCaption = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "toCaption", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* The new Text will be automatically stored in the 'text' property of the parent SystemText element passed as argument. | ||
*/ | ||
Text.createInSystemTextUnderText = function (container) { | ||
return internal.instancehelpers.createElement(container, Text, "text", false); | ||
}; | ||
/** | ||
* Creates and returns a new Text instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
@@ -149,2 +640,7 @@ * After creation, assign or add this instance to a property that accepts this kind of objects. | ||
} | ||
Object.defineProperty(Translation.prototype, "containerAsText", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, Text); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(Translation.prototype, "languageCode", { | ||
@@ -162,3 +658,3 @@ get: function () { return this.__languageCode.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new Translation instance in the SDK and on the server. | ||
@@ -170,3 +666,3 @@ * The new Translation will be automatically stored in the 'translations' property of the parent Text element passed as argument. | ||
}; | ||
/* | ||
/** | ||
* Creates and returns a new Translation instance in the SDK and on the server. | ||
@@ -188,1 +684,9 @@ * Expects one argument: the IModel object the instance will "live on". | ||
})(texts = exports.texts || (exports.texts = {})); | ||
var customwidgets_1 = require('./customwidgets'); | ||
var documenttemplates_1 = require('./documenttemplates'); | ||
var domainmodels_1 = require('./domainmodels'); | ||
var enumerations_1 = require('./enumerations'); | ||
var menus_1 = require('./menus'); | ||
var microflows_1 = require('./microflows'); | ||
var pages_1 = require('./pages'); | ||
var reports_1 = require('./reports'); |
@@ -27,2 +27,5 @@ import * as internal from '../sdk/internal'; | ||
model: IModel; | ||
containerAsDataEntityBase: IDataEntityBase; | ||
containerAsPublishedParameter: IPublishedParameter; | ||
containerAsPublishedResource: IPublishedResource; | ||
load(): DataMember; | ||
@@ -39,2 +42,5 @@ load(callback: (element: DataMember) => void): any; | ||
static typeName: string; | ||
containerAsDataEntityBase: DataEntityBase; | ||
containerAsPublishedParameter: PublishedParameter; | ||
containerAsPublishedResource: PublishedResource; | ||
private __isLockedByContract; | ||
@@ -60,2 +66,5 @@ isLockedByContract: boolean; | ||
model: IModel; | ||
containerAsDataEntityBase: IDataEntityBase; | ||
containerAsPublishedParameter: IPublishedParameter; | ||
containerAsPublishedResource: IPublishedResource; | ||
load(): DataEntityBase; | ||
@@ -72,2 +81,5 @@ load(callback: (element: DataEntityBase) => void): any; | ||
static typeName: string; | ||
containerAsDataEntityBase: DataEntityBase; | ||
containerAsPublishedParameter: PublishedParameter; | ||
containerAsPublishedResource: PublishedResource; | ||
private __childMembers; | ||
@@ -86,3 +98,3 @@ childMembers: internal.IList<DataMember>; | ||
model: IModel; | ||
container: IDataEntityBase; | ||
containerAsDataEntityBase: IDataEntityBase; | ||
load(): DataAssociation; | ||
@@ -94,3 +106,3 @@ load(callback: (element: DataAssociation) => void): any; | ||
static typeName: string; | ||
container: DataEntityBase; | ||
containerAsDataEntityBase: DataEntityBase; | ||
private __associationByContract; | ||
@@ -103,3 +115,12 @@ associationByContract: appservices.MsdAssociation; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DataAssociation instance in the SDK and on the server. | ||
* The new DataAssociation will be automatically stored in the 'childMembers' property of the parent DataEntityBase element passed as argument. | ||
*/ | ||
static createIn(container: DataEntityBase): DataAssociation; | ||
/** | ||
* Creates and returns a new DataAssociation 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): DataAssociation; | ||
@@ -110,3 +131,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IDataEntityBase; | ||
containerAsDataEntityBase: IDataEntityBase; | ||
load(): DataAttribute; | ||
@@ -118,3 +139,3 @@ load(callback: (element: DataAttribute) => void): any; | ||
static typeName: string; | ||
container: DataEntityBase; | ||
containerAsDataEntityBase: DataEntityBase; | ||
private __attributeByContract; | ||
@@ -127,3 +148,12 @@ attributeByContract: appservices.MsdAttribute; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DataAttribute instance in the SDK and on the server. | ||
* The new DataAttribute will be automatically stored in the 'childMembers' property of the parent DataEntityBase element passed as argument. | ||
*/ | ||
static createIn(container: DataEntityBase): DataAttribute; | ||
/** | ||
* Creates and returns a new DataAttribute 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): DataAttribute; | ||
@@ -134,2 +164,5 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsDataEntityBase: IDataEntityBase; | ||
containerAsPublishedParameter: IPublishedParameter; | ||
containerAsPublishedResource: IPublishedResource; | ||
load(): DataEntity; | ||
@@ -141,4 +174,27 @@ load(callback: (element: DataEntity) => void): any; | ||
static typeName: string; | ||
containerAsDataEntityBase: DataEntityBase; | ||
containerAsPublishedParameter: PublishedParameter; | ||
containerAsPublishedResource: PublishedResource; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new DataEntity instance in the SDK and on the server. | ||
* The new DataEntity will be automatically stored in the 'childMembers' property of the parent DataEntityBase element passed as argument. | ||
*/ | ||
static createInDataEntityBaseUnderChildMembers(container: DataEntityBase): DataEntity; | ||
/** | ||
* Creates and returns a new DataEntity instance in the SDK and on the server. | ||
* The new DataEntity will be automatically stored in the 'dataEntity' property of the parent PublishedParameter element passed as argument. | ||
*/ | ||
static createInPublishedParameterUnderDataEntity(container: PublishedParameter): DataEntity; | ||
/** | ||
* Creates and returns a new DataEntity instance in the SDK and on the server. | ||
* The new DataEntity will be automatically stored in the 'dataEntity' property of the parent PublishedResource element passed as argument. | ||
*/ | ||
static createInPublishedResourceUnderDataEntity(container: PublishedResource): DataEntity; | ||
/** | ||
* Creates and returns a new DataEntity 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): DataEntity; | ||
@@ -152,3 +208,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): ImportedWebService; | ||
@@ -163,3 +219,3 @@ load(callback: (element: ImportedWebService) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __wsdlDescription; | ||
@@ -173,3 +229,3 @@ wsdlDescription: WsdlDescription; | ||
* Creates a new ImportedWebService unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -182,3 +238,3 @@ static createIn(container: projects.IFolderBase): ImportedWebService; | ||
model: IModel; | ||
container: IServiceInfo; | ||
containerAsServiceInfo: IServiceInfo; | ||
load(): OperationInfo; | ||
@@ -190,3 +246,3 @@ load(callback: (element: OperationInfo) => void): any; | ||
static typeName: string; | ||
container: ServiceInfo; | ||
containerAsServiceInfo: ServiceInfo; | ||
private __name; | ||
@@ -225,3 +281,12 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new OperationInfo instance in the SDK and on the server. | ||
* The new OperationInfo will be automatically stored in the 'operations' property of the parent ServiceInfo element passed as argument. | ||
*/ | ||
static createIn(container: ServiceInfo): OperationInfo; | ||
/** | ||
* Creates and returns a new OperationInfo 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): OperationInfo; | ||
@@ -232,3 +297,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IOperationInfo; | ||
containerAsOperationInfo: IOperationInfo; | ||
load(): PartEncoding; | ||
@@ -240,3 +305,3 @@ load(callback: (element: PartEncoding) => void): any; | ||
static typeName: string; | ||
container: OperationInfo; | ||
containerAsOperationInfo: OperationInfo; | ||
private __partName; | ||
@@ -248,3 +313,17 @@ partName: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
static createIn(container: OperationInfo): PartEncoding; | ||
/** | ||
* Creates and returns a new PartEncoding instance in the SDK and on the server. | ||
* The new PartEncoding will be automatically stored in the 'requestBodyPartEncodings' property of the parent OperationInfo element passed as argument. | ||
*/ | ||
static createInOperationInfoUnderRequestBodyPartEncodings(container: OperationInfo): PartEncoding; | ||
/** | ||
* Creates and returns a new PartEncoding instance in the SDK and on the server. | ||
* The new PartEncoding will be automatically stored in the 'requestHeaderPartEncoding' property of the parent OperationInfo element passed as argument. | ||
*/ | ||
static createInOperationInfoUnderRequestHeaderPartEncoding(container: OperationInfo): PartEncoding; | ||
/** | ||
* Creates and returns a new PartEncoding 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): PartEncoding; | ||
@@ -255,3 +334,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): PublishedServiceBase; | ||
@@ -268,3 +347,3 @@ load(callback: (element: PublishedServiceBase) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __versionedServices; | ||
@@ -281,3 +360,3 @@ versionedServices: internal.IList<VersionedService>; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): PublishedAppService; | ||
@@ -292,3 +371,3 @@ load(callback: (element: PublishedAppService) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
static versionInfo: StructureVersionInfo; | ||
@@ -298,3 +377,3 @@ constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, container: projects.IFolderBase); | ||
* Creates a new PublishedAppService unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -306,2 +385,4 @@ static createIn(container: projects.IFolderBase): PublishedAppService; | ||
model: IModel; | ||
containerAsPublishedRestServiceBase: rest.IPublishedRestServiceBase; | ||
containerAsVersionedService: IVersionedService; | ||
load(): PublishedResource; | ||
@@ -318,2 +399,4 @@ load(callback: (element: PublishedResource) => void): any; | ||
static typeName: string; | ||
containerAsPublishedRestServiceBase: rest.PublishedRestServiceBase; | ||
containerAsVersionedService: VersionedService; | ||
private __dataEntity; | ||
@@ -327,3 +410,3 @@ dataEntity: DataEntity; | ||
model: IModel; | ||
container: IVersionedService; | ||
containerAsVersionedService: IVersionedService; | ||
load(): PublishedOperation; | ||
@@ -335,3 +418,3 @@ load(callback: (element: PublishedOperation) => void): any; | ||
static typeName: string; | ||
container: VersionedService; | ||
containerAsVersionedService: VersionedService; | ||
private __isLockedByContract; | ||
@@ -363,3 +446,3 @@ isLockedByContract: boolean; | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -373,3 +456,12 @@ returnType: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new PublishedOperation instance in the SDK and on the server. | ||
* The new PublishedOperation will be automatically stored in the 'operations' property of the parent VersionedService element passed as argument. | ||
*/ | ||
static createIn(container: VersionedService): PublishedOperation; | ||
/** | ||
* Creates and returns a new PublishedOperation 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): PublishedOperation; | ||
@@ -380,3 +472,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IPublishedOperation; | ||
containerAsPublishedOperation: IPublishedOperation; | ||
load(): PublishedParameter; | ||
@@ -388,3 +480,3 @@ load(callback: (element: PublishedParameter) => void): any; | ||
static typeName: string; | ||
container: PublishedOperation; | ||
containerAsPublishedOperation: PublishedOperation; | ||
private __isLockedByContract; | ||
@@ -411,3 +503,3 @@ isLockedByContract: boolean; | ||
/** | ||
* The value of this property is conceptually of type Common$DataType. | ||
* The value of this property is conceptually of type common.DataType. | ||
*/ | ||
@@ -419,3 +511,12 @@ type: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new PublishedParameter instance in the SDK and on the server. | ||
* The new PublishedParameter will be automatically stored in the 'parameters' property of the parent PublishedOperation element passed as argument. | ||
*/ | ||
static createIn(container: PublishedOperation): PublishedParameter; | ||
/** | ||
* Creates and returns a new PublishedParameter 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): PublishedParameter; | ||
@@ -429,3 +530,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): PublishedWebService; | ||
@@ -440,3 +541,3 @@ load(callback: (element: PublishedWebService) => void): any; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
static versionInfo: StructureVersionInfo; | ||
@@ -446,3 +547,3 @@ constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, container: projects.IFolderBase); | ||
* Creates a new PublishedWebService unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -454,3 +555,3 @@ static createIn(container: projects.IFolderBase): PublishedWebService; | ||
model: IModel; | ||
container: IRpcOperationElement; | ||
containerAsRpcOperationElement: IRpcOperationElement; | ||
load(): RpcMessagePartElement; | ||
@@ -462,3 +563,3 @@ load(callback: (element: RpcMessagePartElement) => void): any; | ||
static typeName: string; | ||
container: RpcOperationElement; | ||
containerAsRpcOperationElement: RpcOperationElement; | ||
private __partName; | ||
@@ -472,3 +573,12 @@ partName: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new RpcMessagePartElement instance in the SDK and on the server. | ||
* The new RpcMessagePartElement will be automatically stored in the 'messagePartElements' property of the parent RpcOperationElement element passed as argument. | ||
*/ | ||
static createIn(container: RpcOperationElement): RpcMessagePartElement; | ||
/** | ||
* Creates and returns a new RpcMessagePartElement 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): RpcMessagePartElement; | ||
@@ -479,3 +589,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IOperationInfo; | ||
containerAsOperationInfo: IOperationInfo; | ||
load(): RpcOperationElement; | ||
@@ -487,3 +597,3 @@ load(callback: (element: RpcOperationElement) => void): any; | ||
static typeName: string; | ||
container: OperationInfo; | ||
containerAsOperationInfo: OperationInfo; | ||
private __name; | ||
@@ -495,3 +605,22 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
static createIn(container: OperationInfo): RpcOperationElement; | ||
/** | ||
* Creates and returns a new RpcOperationElement instance in the SDK and on the server. | ||
* The new RpcOperationElement will be automatically stored in the 'requestBodyRpcElement' property of the parent OperationInfo element passed as argument. | ||
*/ | ||
static createInOperationInfoUnderRequestBodyRpcElement(container: OperationInfo): RpcOperationElement; | ||
/** | ||
* Creates and returns a new RpcOperationElement instance in the SDK and on the server. | ||
* The new RpcOperationElement will be automatically stored in the 'requestHeaderRpcElement' property of the parent OperationInfo element passed as argument. | ||
*/ | ||
static createInOperationInfoUnderRequestHeaderRpcElement(container: OperationInfo): RpcOperationElement; | ||
/** | ||
* Creates and returns a new RpcOperationElement instance in the SDK and on the server. | ||
* The new RpcOperationElement will be automatically stored in the 'responseBodyRpcElement' property of the parent OperationInfo element passed as argument. | ||
*/ | ||
static createInOperationInfoUnderResponseBodyRpcElement(container: OperationInfo): RpcOperationElement; | ||
/** | ||
* Creates and returns a new RpcOperationElement 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): RpcOperationElement; | ||
@@ -502,3 +631,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IWsdlDescription; | ||
containerAsWsdlDescription: IWsdlDescription; | ||
load(): ServiceInfo; | ||
@@ -510,3 +639,3 @@ load(callback: (element: ServiceInfo) => void): any; | ||
static typeName: string; | ||
container: WsdlDescription; | ||
containerAsWsdlDescription: WsdlDescription; | ||
private __name; | ||
@@ -529,3 +658,12 @@ name: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new ServiceInfo instance in the SDK and on the server. | ||
* The new ServiceInfo will be automatically stored in the 'services' property of the parent WsdlDescription element passed as argument. | ||
*/ | ||
static createIn(container: WsdlDescription): ServiceInfo; | ||
/** | ||
* Creates and returns a new ServiceInfo 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): ServiceInfo; | ||
@@ -539,3 +677,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IPublishedServiceBase; | ||
containerAsPublishedServiceBase: IPublishedServiceBase; | ||
load(): VersionedService; | ||
@@ -550,3 +688,3 @@ load(callback: (element: VersionedService) => void): any; | ||
static typeName: string; | ||
container: PublishedServiceBase; | ||
containerAsPublishedServiceBase: PublishedServiceBase; | ||
private __documentation; | ||
@@ -585,3 +723,12 @@ documentation: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new VersionedService instance in the SDK and on the server. | ||
* The new VersionedService will be automatically stored in the 'versionedServices' property of the parent PublishedServiceBase element passed as argument. | ||
*/ | ||
static createIn(container: PublishedServiceBase): VersionedService; | ||
/** | ||
* Creates and returns a new VersionedService 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): VersionedService; | ||
@@ -592,2 +739,4 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
containerAsMsd: appservices.IMsd; | ||
containerAsImportedWebService: IImportedWebService; | ||
load(): WsdlDescription; | ||
@@ -599,2 +748,4 @@ load(callback: (element: WsdlDescription) => void): any; | ||
static typeName: string; | ||
containerAsMsd: appservices.Msd; | ||
containerAsImportedWebService: ImportedWebService; | ||
private __wsdlEntries; | ||
@@ -612,2 +763,17 @@ wsdlEntries: internal.IList<WsdlEntry>; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new WsdlDescription instance in the SDK and on the server. | ||
* The new WsdlDescription will be automatically stored in the 'wsdlDescription' property of the parent appservices.Msd element passed as argument. | ||
*/ | ||
static createInMsdUnderWsdlDescription(container: appservices.Msd): WsdlDescription; | ||
/** | ||
* Creates and returns a new WsdlDescription instance in the SDK and on the server. | ||
* The new WsdlDescription will be automatically stored in the 'wsdlDescription' property of the parent ImportedWebService element passed as argument. | ||
*/ | ||
static createInImportedWebServiceUnderWsdlDescription(container: ImportedWebService): WsdlDescription; | ||
/** | ||
* Creates and returns a new WsdlDescription 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): WsdlDescription; | ||
@@ -618,3 +784,3 @@ _initializeDefaultProperties(): void; | ||
model: IModel; | ||
container: IWsdlDescription; | ||
containerAsWsdlDescription: IWsdlDescription; | ||
load(): WsdlEntry; | ||
@@ -626,3 +792,3 @@ load(callback: (element: WsdlEntry) => void): any; | ||
static typeName: string; | ||
container: WsdlDescription; | ||
containerAsWsdlDescription: WsdlDescription; | ||
private __location; | ||
@@ -638,3 +804,12 @@ location: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new WsdlEntry instance in the SDK and on the server. | ||
* The new WsdlEntry will be automatically stored in the 'wsdlEntries' property of the parent WsdlDescription element passed as argument. | ||
*/ | ||
static createIn(container: WsdlDescription): WsdlEntry; | ||
/** | ||
* Creates and returns a new WsdlEntry 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): WsdlEntry; | ||
@@ -650,3 +825,4 @@ _initializeDefaultProperties(): void; | ||
import { microflows } from './microflows'; | ||
import { rest } from './rest'; | ||
import { xmlschemas } from './xmlschemas'; | ||
import { IModel } from './base-model'; |
@@ -15,2 +15,3 @@ import * as internal from '../sdk/internal'; | ||
static Integer: XmlPrimitiveType; | ||
static Long: XmlPrimitiveType; | ||
static Binary: XmlPrimitiveType; | ||
@@ -23,8 +24,27 @@ static String: XmlPrimitiveType; | ||
*/ | ||
interface IMxSchema extends projects.IDocument { | ||
model: IModel; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): MxSchema; | ||
load(callback: (element: MxSchema) => void): any; | ||
} | ||
/** | ||
* Warning: this class represents an abstract and non-instantiable concept in the meta model. | ||
* You should _not_ try to instantiate this class directly, but instantiate one of its concrete/non-abstract sub classes instead. | ||
* Instantiating this class is possible in pure JavaScript, but there's no guarantee the result will be at all useful. | ||
*/ | ||
abstract class MxSchema extends projects.Document implements IMxSchema { | ||
model: IModel; | ||
static typeName: string; | ||
containerAsFolderBase: projects.FolderBase; | ||
static versionInfo: StructureVersionInfo; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, container: projects.IFolderBase); | ||
_initializeDefaultProperties(): void; | ||
} | ||
/** | ||
* See: {@link https://world.mendix.com/display/refguide6/XML+Schemas relevant section in reference guide} | ||
*/ | ||
interface IXmlSchema extends projects.IDocument { | ||
interface IXmlSchema extends IMxSchema { | ||
model: IModel; | ||
container: projects.IFolderBase; | ||
containerAsFolderBase: projects.IFolderBase; | ||
load(): XmlSchema; | ||
@@ -36,6 +56,6 @@ load(callback: (element: XmlSchema) => void): any; | ||
*/ | ||
class XmlSchema extends projects.Document implements IXmlSchema { | ||
class XmlSchema extends MxSchema implements IXmlSchema { | ||
model: IModel; | ||
static typeName: string; | ||
container: projects.FolderBase; | ||
containerAsFolderBase: projects.FolderBase; | ||
private __entries; | ||
@@ -49,3 +69,3 @@ entries: internal.IList<XmlSchemaEntry>; | ||
* Creates a new XmlSchema unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -58,2 +78,4 @@ static createIn(container: projects.IFolderBase): XmlSchema; | ||
model: IModel; | ||
containerAsWsdlDescription: webservices.IWsdlDescription; | ||
containerAsXmlSchema: IXmlSchema; | ||
load(): XmlSchemaEntry; | ||
@@ -65,2 +87,4 @@ load(callback: (element: XmlSchemaEntry) => void): any; | ||
static typeName: string; | ||
containerAsWsdlDescription: webservices.WsdlDescription; | ||
containerAsXmlSchema: XmlSchema; | ||
private __targetNamespace; | ||
@@ -78,2 +102,17 @@ targetNamespace: string; | ||
constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new XmlSchemaEntry instance in the SDK and on the server. | ||
* The new XmlSchemaEntry will be automatically stored in the 'schemaEntries' property of the parent webservices.WsdlDescription element passed as argument. | ||
*/ | ||
static createInWsdlDescriptionUnderSchemaEntries(container: webservices.WsdlDescription): XmlSchemaEntry; | ||
/** | ||
* Creates and returns a new XmlSchemaEntry instance in the SDK and on the server. | ||
* The new XmlSchemaEntry will be automatically stored in the 'entries' property of the parent XmlSchema element passed as argument. | ||
*/ | ||
static createInXmlSchemaUnderEntries(container: XmlSchema): XmlSchemaEntry; | ||
/** | ||
* Creates and returns a new XmlSchemaEntry 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): XmlSchemaEntry; | ||
@@ -83,2 +122,3 @@ _initializeDefaultProperties(): void; | ||
} | ||
import { webservices } from './webservices'; | ||
import { IModel } from './base-model'; |
@@ -25,2 +25,5 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
XmlPrimitiveType.Integer = new XmlPrimitiveType("Integer", {}); | ||
XmlPrimitiveType.Long = new XmlPrimitiveType("Long", { | ||
"introduced": "6.2.0" | ||
}); | ||
XmlPrimitiveType.Binary = new XmlPrimitiveType("Binary", {}); | ||
@@ -33,2 +36,25 @@ XmlPrimitiveType.String = new XmlPrimitiveType("String", {}); | ||
/** | ||
* Warning: this class represents an abstract and non-instantiable concept in the meta model. | ||
* You should _not_ try to instantiate this class directly, but instantiate one of its concrete/non-abstract sub classes instead. | ||
* Instantiating this class is possible in pure JavaScript, but there's no guarantee the result will be at all useful. | ||
*/ | ||
var MxSchema = (function (_super) { | ||
__extends(MxSchema, _super); | ||
function MxSchema(model, typeName, id, isPartial, container) { | ||
_super.call(this, model, typeName, id, isPartial, container); | ||
} | ||
Object.defineProperty(MxSchema.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
MxSchema.prototype._initializeDefaultProperties = function () { | ||
_super.prototype._initializeDefaultProperties.call(this); | ||
}; | ||
MxSchema.typeName = "XmlSchemas$MxSchema"; | ||
MxSchema.versionInfo = new exports.StructureVersionInfo({}, internal.StructureType.ModelUnit); | ||
return MxSchema; | ||
})(projects_1.projects.Document); | ||
xmlschemas.MxSchema = MxSchema; | ||
/** | ||
* See: {@link https://world.mendix.com/display/refguide6/XML+Schemas relevant section in reference guide} | ||
@@ -44,2 +70,7 @@ */ | ||
} | ||
Object.defineProperty(XmlSchema.prototype, "containerAsFolderBase", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, projects_1.projects.FolderBase); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(XmlSchema.prototype, "entries", { | ||
@@ -59,3 +90,3 @@ get: function () { return this.__entries.get(); }, | ||
* Creates a new XmlSchema unit in the SDK and on the server. | ||
* Expects one argument, a projects.FolderBase in which this unit is contained. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
@@ -72,3 +103,3 @@ XmlSchema.createIn = function (container) { | ||
return XmlSchema; | ||
})(projects_1.projects.Document); | ||
})(MxSchema); | ||
xmlschemas.XmlSchema = XmlSchema; | ||
@@ -87,2 +118,12 @@ var XmlSchemaEntry = (function (_super) { | ||
} | ||
Object.defineProperty(XmlSchemaEntry.prototype, "containerAsWsdlDescription", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, webservices_1.webservices.WsdlDescription); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(XmlSchemaEntry.prototype, "containerAsXmlSchema", { | ||
get: function () { return _super.prototype.getContainerAs.call(this, XmlSchema); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(XmlSchemaEntry.prototype, "targetNamespace", { | ||
@@ -118,4 +159,18 @@ get: function () { return this.__targetNamespace.get(); }, | ||
}); | ||
/* | ||
/** | ||
* Creates and returns a new XmlSchemaEntry instance in the SDK and on the server. | ||
* The new XmlSchemaEntry will be automatically stored in the 'schemaEntries' property of the parent webservices.WsdlDescription element passed as argument. | ||
*/ | ||
XmlSchemaEntry.createInWsdlDescriptionUnderSchemaEntries = function (container) { | ||
return internal.instancehelpers.createElement(container, XmlSchemaEntry, "schemaEntries", true); | ||
}; | ||
/** | ||
* Creates and returns a new XmlSchemaEntry instance in the SDK and on the server. | ||
* The new XmlSchemaEntry will be automatically stored in the 'entries' property of the parent XmlSchema element passed as argument. | ||
*/ | ||
XmlSchemaEntry.createInXmlSchemaUnderEntries = function (container) { | ||
return internal.instancehelpers.createElement(container, XmlSchemaEntry, "entries", true); | ||
}; | ||
/** | ||
* Creates and returns a new XmlSchemaEntry instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
@@ -136,1 +191,2 @@ * After creation, assign or add this instance to a property that accepts this kind of objects. | ||
})(xmlschemas = exports.xmlschemas || (exports.xmlschemas = {})); | ||
var webservices_1 = require('./webservices'); |
@@ -32,2 +32,2 @@ /* | ||
export * from './sdk/config'; | ||
export { IStructure, IList, IAbstractUnit, IEnum, IElement, Element, IModelUnit, ModelUnit, ITransportation, aliases, IWorkingCopyMetaData, IWorkingCopy, IModelApiClient } from './sdk/internal'; | ||
export { IStructure, IList, IAbstractUnit, IEnum, IElement, Element, IModelUnit, ModelUnit, ITransportation, aliases, IWorkingCopyMetaData, IWorkingCopy, IModelApiClient, IDeploymentResult, IAbstractUnitJson, IDelta } from './sdk/internal'; |
@@ -5,2 +5,3 @@ import * as internal from './sdk/internal'; | ||
import { IModelApiClient } from './sdk/internal/model-api-client'; | ||
import { IDeploymentResult } from './sdk/internal/transport-interfaces'; | ||
/** | ||
@@ -45,2 +46,10 @@ * Client class of the Mendix Model SDK. | ||
exportMpk(workingCopyId: string, outFilePath: string, callback: common.IVoidCallback, errorCallback: common.IErrorCallback): void; | ||
/** | ||
* Deploy this working copy. | ||
*/ | ||
deploy(workingCopyId: string, callback: common.ICallback<IDeploymentResult>, errorCallback: common.IErrorCallback): void; | ||
/** | ||
* Retrieves status information about the working copy deployment. | ||
*/ | ||
getDeploymentStatus(workingCopyId: string, callback: common.ICallback<IDeploymentResult>, errorCallback: common.IErrorCallback): void; | ||
} |
@@ -80,4 +80,18 @@ var internal = require('./sdk/internal'); | ||
}; | ||
/** | ||
* Deploy this working copy. | ||
*/ | ||
ModelSdkClientImpl.prototype.deploy = function (workingCopyId, callback, errorCallback) { | ||
config_1.configuration.checkCallbacks(callback, errorCallback); | ||
this.client.deploy(workingCopyId, callback, errorCallback); | ||
}; | ||
/** | ||
* Retrieves status information about the working copy deployment. | ||
*/ | ||
ModelSdkClientImpl.prototype.getDeploymentStatus = function (workingCopyId, callback, errorCallback) { | ||
config_1.configuration.checkCallbacks(callback, errorCallback); | ||
this.client.getDeploymentStatus(workingCopyId, callback, errorCallback); | ||
}; | ||
return ModelSdkClientImpl; | ||
})(); | ||
exports.ModelSdkClientImpl = ModelSdkClientImpl; |
@@ -32,2 +32,6 @@ import * as internal from './internal'; | ||
name: string; | ||
/** | ||
* Mendix project id. Needed for deployment and team server commits | ||
*/ | ||
projectId?: string; | ||
description?: string; | ||
@@ -39,2 +43,8 @@ avatarUrl?: string; | ||
template: string; | ||
/** | ||
* Indicates whether the working copy should be long-lived. | ||
* This parameter can only be set to true when the Mendix project id is set and the Model SDK is used from a trusted backend | ||
* - this excludes regular SDK users for the moment. | ||
*/ | ||
longLived?: boolean; | ||
} | ||
@@ -41,0 +51,0 @@ function assertBackendAccess(config: ISdkConfig): void; |
@@ -5,3 +5,3 @@ export { IStructure, Structure, aliases } from './internal/structures'; | ||
export { IEnum, IList, instancehelpers } from './internal/instances'; | ||
export { IAbstractElementJson, IAbstractUnitJson, IWorkingCopy, IWorkingCopyMetaData, IDelta } from './internal/transport-interfaces'; | ||
export { IAbstractElementJson, IAbstractUnitJson, IWorkingCopy, IWorkingCopyMetaData, IDelta, IDeploymentResult } from './internal/transport-interfaces'; | ||
export * from './internal/properties'; | ||
@@ -8,0 +8,0 @@ export * from './internal/references'; |
import { common } from '../../common'; | ||
import { configuration } from '../config'; | ||
import { IAbstractUnit, StructuralUnit } from './units'; | ||
import { IWorkingCopy, IDelta, IAbstractUnitJson } from './transport-interfaces'; | ||
import { IWorkingCopy, IDelta, IAbstractUnitJson, IDeploymentResult } from './transport-interfaces'; | ||
import { ByNameReference } from './references'; | ||
@@ -44,2 +44,10 @@ import { DeltaQueue } from './deltas'; | ||
/** | ||
* Deploy the working copy. | ||
*/ | ||
deploy(callback: common.ICallback<IDeploymentResult>, errorCallback?: common.IErrorCallback): any; | ||
/** | ||
* Get the deployment status of the working copy. Can be STARTED, STARTING, UPDATING, STOPPED and APP_NOT_FOUND. Contains other deploy info as well. | ||
*/ | ||
getDeploymentStatus(callback: common.ICallback<IDeploymentResult>, errorCallback?: common.IErrorCallback): any; | ||
/** | ||
* Given an id, fetches a complete unit. The result might be returned from the cache. | ||
@@ -187,2 +195,4 @@ * Use this method if you have just a unit Id, otherwise, unit.fetch() is a simpler alternative. | ||
deleteFile(filePath: string, callback: common.IVoidCallback, errorCallback: common.IErrorCallback): void; | ||
deploy(callback: common.ICallback<IDeploymentResult>, errorCallback?: common.IErrorCallback): void; | ||
getDeploymentStatus(callback: common.ICallback<IDeploymentResult>, errorCallback?: common.IErrorCallback): void; | ||
/** | ||
@@ -189,0 +199,0 @@ * Given an object type name and a qualified name, finds the corresponding element (or null if the reference is broken). |
@@ -170,4 +170,4 @@ var mobservable_1 = require('mobservable'); | ||
unit._resolveReferences(); | ||
unit._markLoaded(); | ||
}); | ||
unit._markLoaded(); | ||
}, errorCallback || this._errorHandler); | ||
@@ -214,4 +214,4 @@ } | ||
Object.keys(_this._unitsCache).forEach(function (key) { return _this._unitsCache[key]._resolveReferences(); }); | ||
_this._areUnitInterfacesLoaded = true; | ||
}); | ||
this._areUnitInterfacesLoaded = true; | ||
}; | ||
@@ -224,3 +224,3 @@ AbstractModel.prototype._resolveContainer = function (unit, containerId) { | ||
throw new Error("Invalid container ID: " + containerId); | ||
if (container != unit) { | ||
if (container !== unit) { | ||
unit.container = container; | ||
@@ -306,2 +306,8 @@ // add unit to the structural parent in the project tree | ||
}; | ||
AbstractModel.prototype.deploy = function (callback, errorCallback) { | ||
this._client.deploy(this.id, callback, errorCallback || this._errorHandler); | ||
}; | ||
AbstractModel.prototype.getDeploymentStatus = function (callback, errorCallback) { | ||
this._client.getDeploymentStatus(this.id, callback, errorCallback || this._errorHandler); | ||
}; | ||
/** | ||
@@ -308,0 +314,0 @@ * Given an object type name and a qualified name, finds the corresponding element (or null if the reference is broken). |
@@ -14,3 +14,2 @@ import * as structures from './structures'; | ||
qualifiedName: string; | ||
container: structures.aliases.IContainer; | ||
_addBackReference(ref: references.AbstractReference<any>): any; | ||
@@ -17,0 +16,0 @@ _removeBackReference(ref: references.AbstractReference<any>): any; |
@@ -36,2 +36,4 @@ import { configuration } from '../config'; | ||
checkAccess(workingCopyId: string, memberOpenId: string, callback: common.ICallback<boolean>, errorCallback: common.IErrorCallback): any; | ||
deploy(workingCopyId: string, callback: common.ICallback<transport.IDeploymentResult>, errorCallback: common.IErrorCallback): any; | ||
getDeploymentStatus(workingCopyId: string, callback: common.ICallback<transport.IDeploymentResult>, errorCallback: common.IErrorCallback): any; | ||
exportMpk(workingCopyId: string, outFilePath: string, callback: common.IVoidCallback, errorCallback: common.IErrorCallback): any; | ||
@@ -75,2 +77,3 @@ /** | ||
exportMpk(workingCopyId: string, outFilePath: string, callback: common.IVoidCallback, errorCallback: common.IErrorCallback): void; | ||
deploy(workingCopyId: string, callback: common.ICallback<transport.IDeploymentResult>, errorCallback: common.IErrorCallback): void; | ||
loadUnitById<T extends units.AbstractUnit>(workingCopyId: string, unitId: string, callback: common.ICallback<transport.IAbstractUnitJson>, errorCallback: common.IErrorCallback): void; | ||
@@ -82,2 +85,3 @@ sendDeltas(workingCopyId: string, deltas: transport.IDelta[], callback: common.ICallback<Object>, errorCallback: common.IErrorCallback): void; | ||
deleteFile(workingCopyId: string, filePath: string, callback: common.IVoidCallback, errorCallback: common.IErrorCallback): void; | ||
getDeploymentStatus(workingCopyId: string, callback: common.ICallback<transport.IDeploymentResult>, errorCallback: common.IErrorCallback): void; | ||
private storeResponseAsFile(response, outFilePath, callback, errorCallback); | ||
@@ -84,0 +88,0 @@ private pendingRequests; |
@@ -18,3 +18,5 @@ var fs = require('fs'); | ||
description: workingCopyInfo.description || "", | ||
avatarUrl: workingCopyInfo.avatarUrl || "" | ||
avatarUrl: workingCopyInfo.avatarUrl || "", | ||
projectId: workingCopyInfo.projectId || "", | ||
longLived: workingCopyInfo.longLived || false | ||
}; | ||
@@ -51,2 +53,5 @@ this.transportation.requestMultipartBinaryFileUpload("post", "" + apiEndPoint, data, "template", workingCopyInfo.template, callback, errorCallback); | ||
}; | ||
ModelApiClientImpl.prototype.deploy = function (workingCopyId, callback, errorCallback) { | ||
this.transportation.request("post", "" + apiEndPoint + workingCopyId + "/deploy", null, callback, errorCallback, true); | ||
}; | ||
ModelApiClientImpl.prototype.loadUnitById = function (workingCopyId, unitId, callback, errorCallback) { | ||
@@ -75,2 +80,5 @@ this.loadUnitByIdBatched({ workingCopyId: workingCopyId, unitId: unitId, callback: callback, errorCallback: errorCallback }); | ||
}; | ||
ModelApiClientImpl.prototype.getDeploymentStatus = function (workingCopyId, callback, errorCallback) { | ||
this.transportation.request("get", "" + apiEndPoint + workingCopyId + "/deploystatus", null, callback, errorCallback, true); | ||
}; | ||
ModelApiClientImpl.prototype.storeResponseAsFile = function (response, outFilePath, callback, errorCallback) { | ||
@@ -77,0 +85,0 @@ var dirPath = path.dirname(outFilePath); |
@@ -7,3 +7,3 @@ import * as structures from './structures'; | ||
import * as versions from './version-checks'; | ||
import { IArrayChange, IArraySplice, IObservableValue, IObservableArray } from 'mobservable'; | ||
import { IArrayChange, IArraySplice, IObservable, IObservableValue, IObservableArray } from 'mobservable'; | ||
export { IArrayChange, IArraySplice, IObservableValue, IObservableArray } from 'mobservable'; | ||
@@ -15,8 +15,2 @@ /** | ||
/** | ||
* Standard interface for an observable object. | ||
*/ | ||
export interface IObservable { | ||
observe(listener: any, fire: any): () => void; | ||
} | ||
/** | ||
* Abstract base wrapper for property values/settings. | ||
@@ -56,3 +50,3 @@ * All values/settings of ModelElement-s are wrapped in the appropriate way. | ||
dispose(): void; | ||
_toPlainJson(): any; | ||
_toJSON(): any; | ||
} | ||
@@ -84,3 +78,3 @@ /** | ||
markCurrentValueAsDefault(): void; | ||
_toPlainJson(): any; | ||
_toJSON(): any; | ||
} | ||
@@ -97,3 +91,3 @@ /** | ||
toRawChangeValue(value: T): any; | ||
_toPlainJson(): any[]; | ||
_toJSON(): any[]; | ||
} | ||
@@ -110,3 +104,3 @@ /** | ||
onChange(newValue: any, oldValue: any): void; | ||
_toPlainJson(): string; | ||
_toJSON(): string; | ||
} | ||
@@ -122,3 +116,3 @@ /** | ||
toRawChangeValue(value: T): any; | ||
_toPlainJson(): string[]; | ||
_toJSON(): string[]; | ||
} | ||
@@ -140,3 +134,3 @@ /** | ||
dispose(): void; | ||
_toPlainJson(): Object; | ||
_toJSON(): Object; | ||
} | ||
@@ -160,3 +154,3 @@ /** | ||
dispose(): void; | ||
_toPlainJson(): Object[]; | ||
_toJSON(): Object[]; | ||
} | ||
@@ -179,3 +173,3 @@ /** | ||
dispose(): void; | ||
_toPlainJson(): string; | ||
_toJSON(): string; | ||
} | ||
@@ -212,3 +206,3 @@ /** | ||
targetType: string; | ||
_toPlainJson(): string[]; | ||
_toJSON(): string[]; | ||
} | ||
@@ -228,3 +222,3 @@ /** | ||
dispose(): void; | ||
_toPlainJson(): string; | ||
_toJSON(): string; | ||
} | ||
@@ -231,0 +225,0 @@ /** |
@@ -11,2 +11,6 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
/** | ||
* The `properties` sub module contains all interfaces and classes | ||
* required for handling and wrapping property values/settings. | ||
*/ | ||
/** | ||
* Abstract base wrapper for property values/settings. | ||
@@ -106,3 +110,3 @@ * All values/settings of ModelElement-s are wrapped in the appropriate way. | ||
}; | ||
AbstractProperty.prototype._toPlainJson = function () { | ||
AbstractProperty.prototype._toJSON = function () { | ||
throw new Error("Cannot JSON-serialize property: " + this + " (this function should be overridden in sub class)"); | ||
@@ -173,3 +177,3 @@ }; | ||
}; | ||
PrimitiveProperty.prototype._toPlainJson = function () { | ||
PrimitiveProperty.prototype._toJSON = function () { | ||
// skip values which are unlikely to have any human-readable meaning: | ||
@@ -235,3 +239,3 @@ if (this.primitiveType === PrimitiveTypeEnum.Guid || this.primitiveType === PrimitiveTypeEnum.Blob) | ||
}; | ||
PrimitiveListProperty.prototype._toPlainJson = function () { | ||
PrimitiveListProperty.prototype._toJSON = function () { | ||
return this.get(); | ||
@@ -263,3 +267,3 @@ }; | ||
}; | ||
EnumProperty.prototype._toPlainJson = function () { | ||
EnumProperty.prototype._toJSON = function () { | ||
return this.get().name; | ||
@@ -293,3 +297,3 @@ }; | ||
}; | ||
EnumListProperty.prototype._toPlainJson = function () { | ||
EnumListProperty.prototype._toJSON = function () { | ||
return this.get().map(function (item) { return item.name; }); | ||
@@ -338,2 +342,4 @@ }; | ||
this.assertWritable(); | ||
// Note, there is no need to process name changes of part properties; | ||
// by name references refer always to something contained in a partlist | ||
// if the oldvalue was not moved to another element, delete it: | ||
@@ -356,4 +362,5 @@ if (oldValue && oldValue.container === this.parent) { | ||
} | ||
else | ||
else { | ||
newValue._sendMoveDelta(this.parent, this.name); | ||
} | ||
} | ||
@@ -373,5 +380,5 @@ }; | ||
}; | ||
PartProperty.prototype._toPlainJson = function () { | ||
PartProperty.prototype._toJSON = function () { | ||
var value = this.get(); | ||
return value ? value.toPlainJson() : null; | ||
return value ? value.toJSON() : null; | ||
}; | ||
@@ -423,4 +430,5 @@ return PartProperty; | ||
splice.removed.forEach(function (element) { return _this.processChildRemoval(element); }); | ||
for (var i = splice.index; i < splice.index + splice.addedCount; i++) | ||
for (var i = splice.index; i < splice.index + splice.addedCount; i++) { | ||
this.processChildAddition(i); | ||
} | ||
return; | ||
@@ -465,2 +473,6 @@ } | ||
item._sendMoveDelta(this.parent, this.name, index); | ||
// This could be a by-name-referrable element that was previously removed. We need to update the references to it then. | ||
if (item && item._isByNameReferrable()) { | ||
item._processNameChange(); | ||
} | ||
}; | ||
@@ -484,4 +496,4 @@ PartListProperty.prototype.resolveReferences = function () { | ||
}; | ||
PartListProperty.prototype._toPlainJson = function () { | ||
return this.get().map(function (item) { return item.toPlainJson(); }); | ||
PartListProperty.prototype._toJSON = function () { | ||
return this.get().map(function (item) { return item.toJSON(); }); | ||
}; | ||
@@ -537,3 +549,3 @@ return PartListProperty; | ||
}; | ||
ByNameReferenceProperty.prototype._toPlainJson = function () { | ||
ByNameReferenceProperty.prototype._toJSON = function () { | ||
return (this.isRequired || this.get()) ? this.qualifiedName() : null; | ||
@@ -651,3 +663,3 @@ }; | ||
}); | ||
ByNameReferenceListProperty.prototype._toPlainJson = function () { | ||
ByNameReferenceListProperty.prototype._toJSON = function () { | ||
return this.qualifiedNames(); | ||
@@ -699,3 +711,3 @@ }; | ||
}; | ||
ByIdReferenceProperty.prototype._toPlainJson = function () { | ||
ByIdReferenceProperty.prototype._toJSON = function () { | ||
var value = this.get(); | ||
@@ -702,0 +714,0 @@ return value ? value.id : null; |
import * as mobservable from 'mobservable'; | ||
import * as elements from './elements'; | ||
import * as properties from './properties'; | ||
import { common } from '../../common'; | ||
@@ -13,3 +12,3 @@ /** | ||
*/ | ||
export declare class AbstractReference<T extends elements.IAbstractElement> implements properties.IObservable { | ||
export declare class AbstractReference<T extends elements.IAbstractElement> implements mobservable.IObservable { | ||
owner: elements.AbstractElement; | ||
@@ -16,0 +15,0 @@ protected isResolved: boolean; |
@@ -27,3 +27,3 @@ /** | ||
*/ | ||
toPlainJson(): Object; | ||
toJSON(): Object; | ||
/** | ||
@@ -112,5 +112,6 @@ * Traverses this structure by calling the provided visitor function | ||
delete(): void; | ||
toPlainJson(): Object; | ||
toJSON(): Object; | ||
traverse(visit: (structure: IStructure) => void): void; | ||
traversePublicParts(visit: (structure: IStructure) => void): void; | ||
protected getContainerAs(containerType: any): units.IStructuralUnit | elements.IAbstractElement; | ||
} | ||
@@ -117,0 +118,0 @@ import * as elements from './elements'; |
@@ -227,3 +227,3 @@ var Structure = (function () { | ||
}; | ||
Structure.prototype.toPlainJson = function () { | ||
Structure.prototype.toJSON = function () { | ||
var json = { | ||
@@ -234,3 +234,3 @@ $id: this.id, | ||
this._properties.forEach(function (property) { | ||
var propertyJson = property._toPlainJson(); | ||
var propertyJson = property._toJSON(); | ||
if (typeof propertyJson !== "undefined") { | ||
@@ -277,2 +277,8 @@ json[property['name']] = propertyJson; | ||
}; | ||
Structure.prototype.getContainerAs = function (containerType) { | ||
if (!(this.container instanceof containerType)) { | ||
throw new Error("instance of " + this.typeName + " is not contained by a " + (typeof containerType)); | ||
} | ||
return this.container; | ||
}; | ||
return Structure; | ||
@@ -279,0 +285,0 @@ })(); |
@@ -22,2 +22,3 @@ /** | ||
avatarUrl: string; | ||
projectId: string; | ||
} | ||
@@ -29,2 +30,6 @@ /** | ||
id: string; | ||
/** | ||
* ProjectID as used in the Mendix platform. Used for deployment, team server etc. | ||
*/ | ||
projectId: string; | ||
metaData: IWorkingCopyMetaData; | ||
@@ -264,1 +269,9 @@ /** | ||
} | ||
export interface IDeploymentResult { | ||
url: string; | ||
profile: string; | ||
state: string; | ||
endpoint: string; | ||
instances: number; | ||
memory: number; | ||
} |
@@ -14,3 +14,3 @@ import { common } from '../../common'; | ||
*/ | ||
request<T>(method: string, url: string, data: Object, success: common.ICallback<T>, failure: common.IErrorCallback): any; | ||
request<T>(method: string, url: string, data: Object, success: common.ICallback<T>, failure: common.IErrorCallback, longTimeout?: boolean): any; | ||
requestMultipartBinaryFileUpload<T>(method: string, url: string, data: Object, fileParameterName: string, filename: string, success: common.ICallback<T>, failure: common.IErrorCallback): any; | ||
@@ -30,5 +30,5 @@ requestFileDownload<T>(method: string, url: string, success: common.ICallback<T>, failure: common.IErrorCallback): any; | ||
private handleRequest<T>(request, url, data, success, failure); | ||
request<T>(method: string, url: string, data: Object, success: common.ICallback<T>, failure: common.IErrorCallback): void; | ||
request<T>(method: string, url: string, data: Object, success: common.ICallback<T>, failure: common.IErrorCallback, longTimeout?: boolean): void; | ||
requestMultipartBinaryFileUpload<T>(method: string, url: string, data: Object, fileParameterName: string, filename: string, success: common.ICallback<T>, failure: common.IErrorCallback): void; | ||
requestFileDownload<T>(method: string, url: string, success: common.ICallback<T>, failure: common.IErrorCallback): void; | ||
} |
@@ -16,8 +16,8 @@ var version_1 = require('../../version'); | ||
/** | ||
* globalAgent.maxSockets: from documentation: By default set to Infinity [in Node 0.12, red]. | ||
* Determines how many concurrent sockets the agent can have open per origin. | ||
* Origin is either a 'host:port' or 'host:port:localAddress' combination. | ||
* | ||
* This is set globally because Restler cannot set this per request, although it claims it can in the docs. | ||
*/ | ||
* globalAgent.maxSockets: from documentation: By default set to Infinity [in Node 0.12, red]. | ||
* Determines how many concurrent sockets the agent can have open per origin. | ||
* Origin is either a 'host:port' or 'host:port:localAddress' combination. | ||
* | ||
* This is set globally because Restler cannot set this per request, although it claims it can in the docs. | ||
*/ | ||
require("http").globalAgent.maxSockets = 20; | ||
@@ -119,3 +119,3 @@ require("https").globalAgent.maxSockets = 20; | ||
}; | ||
RestTransportation.prototype.request = function (method, url, data, success, failure) { | ||
RestTransportation.prototype.request = function (method, url, data, success, failure, longTimeout) { | ||
var method = this.sanitizedMethod(method); | ||
@@ -125,2 +125,5 @@ var url = this.url(url); | ||
options["headers"]["content-type"] = "application/json"; | ||
if (longTimeout) { | ||
options.timeout = LONG_TIMEOUT; | ||
} | ||
if (data) { | ||
@@ -127,0 +130,0 @@ options['data'] = JSON.stringify(data); |
@@ -123,1 +123,2 @@ import { IAbstractModel } from './abstract-model'; | ||
} | ||
export declare function createInVersionCheck(model: IAbstractModel, typeName: string, allowedVersions: string[]): void; |
@@ -234,1 +234,8 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
exports.PropertyVersionInfo = PropertyVersionInfo; | ||
function createInVersionCheck(model, typeName, allowedVersions) { | ||
var version = model.metaModelVersion.toString(); | ||
if (allowedVersions.indexOf(version) === -1) { | ||
throw new Error("In Mendix version " + version + " it is illegal on instances of " + typeName + " to call the \"createIn\" method, either because it's ambiguously contained or derived."); | ||
} | ||
} | ||
exports.createInVersionCheck = createInVersionCheck; |
@@ -1,2 +0,2 @@ | ||
/** Current SDK version: 1.1.1 */ | ||
/** Current SDK version: 1.2.0-0 */ | ||
export declare const SDK_VERSION: string; |
@@ -1,2 +0,2 @@ | ||
/** Current SDK version: 1.1.1 */ | ||
exports.SDK_VERSION = "1.1.1"; | ||
/** Current SDK version: 1.2.0-0 */ | ||
exports.SDK_VERSION = "1.2.0"; |
{ | ||
"name": "mendixmodelsdk", | ||
"version": "1.1.1", | ||
"version": "1.2.0-1", | ||
"description": "Mendix Model SDK", | ||
@@ -10,5 +10,4 @@ "main": "dist/index.js", | ||
"test": "grunt test", | ||
"clean": "./clean.sh", | ||
"bundle": "mv `npm pack | tail -1` package.tgz", | ||
"clean-build": "npm run clean && npm install && npm run build && npm run bundle", | ||
"clean": "rm -rf .tscache dist test/dist doc/generated-doc tmp .buildifchanged", | ||
"clean-build": "npm run clean && npm install && npm run build", | ||
"quickbuild": "build-if-changed" | ||
@@ -15,0 +14,0 @@ }, |
# Release notes Mendix Model SDK | ||
## 2.0.0 | ||
This release introduces a number of breaking changes in the SDK's API, so because of semantic versioning we need to up the major version. | ||
| story# | impact | description | | ||
|---|---|---| | ||
| 612773 | High | The mechanics of model elements being contained has been reworked: see below for more details. | | ||
| 634662 | Low | The `toPlainJson` method on elements and units has been renamed to `toJSON`, because e.g. the Chrome Developer Tools understand this to produce nice, human-readably representations of such objects. Rename all usages of `toPlainJson` to `toJSON` to fix your code. | | ||
| 637545 | None | Minor internal modifications for upcoming Mendix version 6.3.0. | | ||
| 633932 | None | Added support for long-lived working copies (that are not deleted after 24 hours) to SDK. Note that this is currently **not** available to non-trusted backends! | | ||
| 620108 | None | Removed exported interface `IObservable` from an internal namespace and replaced its use by the one from the `MObservable` library. | | ||
The following **breaking** changes are made per 612773 and as a result of new insights on interference between containment and versioning/history of the Mendix modelling language. | ||
This interference leads to elements having different kinds of containment throughout their history. | ||
In turn, this necessitated us to make some fundamental changes to avoid having to have breaking changes in the future. | ||
* The `container` property is not strictly typed anymore; e.g., `domainmodels.Attribute.container` is not of type `Entity` anymore but of a general `Container` type. | ||
* Instead, `containerAs<T>` properties of type `T` are introduced on all elements. | ||
This property returns the instance of `T` which contains the element or throws if it's not contained by an instance of `T`. | ||
To avoid those exceptions, use `container` together with `instanceof`-guards. | ||
* In case an element is contained by _multiple_ properties (i.e., more than 1), `createIn<T>Under<P>` methods are generated which creates a new element in a given instance of `T` under property `P`. | ||
Several previously-existing `createIn` methods have been replaced by a `createIn<T>Under<P>` method, where these `createIn` methods considered only 1 containing property. | ||
* Elements that are contained by one property in at least one version will have a `createIn` method that works as expected for those versions and throws for other versions. | ||
* Elements that are always (i.e., in all versions) contained by properties that are derived, will not have any `createIn...` methods. | ||
Dependent code can be easily fixed by using the `containerAs<T>` property instead of the `container` property, | ||
and (in a few specific cases) by using a `createIn<T>Under<P>` method instead of the `createIn` method. | ||
## 1.2.0 | ||
| story# | impact | description | | ||
|---|---|---| | ||
| 619692 | Low | Added/triggered TypeDoc for `create` and `createIn` methods. Also fixed incorrect behavior for `create` method of `DatabaseConstraint` from 6.1.0 onwards. | | ||
| 623947 | None | Added support for Mendix version 6.2.0. | | ||
| 612773 | None | Minor rework w.r.t. story #619692. | | ||
## 1.1.1 | ||
@@ -7,3 +45,3 @@ | ||
|---|---|---| | ||
| 615031, 610152 | Low | Fixed issue where the SDK would have very high CPU usage and throw timeouts for a reasonable amount of requests. | ||
| 615031, 610152 | Low | Fixed issue where the SDK would have very high CPU usage and throw timeouts for a reasonable amount of requests. | | ||
| 617263 | Low | The File API calls are accessible for working-copy members now. | | ||
@@ -10,0 +48,0 @@ | 610152 | Low | Improved parsing of model elements in the SDK for better performance. | |
@@ -8,9 +8,9 @@ /// <reference path="../test-typings.d.ts"/> | ||
export function createSdkClient():ModelSdkClient { | ||
export function createSdkClient(version?:string):ModelSdkClient { | ||
return Model.createSdkClient({ | ||
client: new CompanyExpensesStubClient({}) | ||
client: new CompanyExpensesStubClient({}, version || "6.1.0") | ||
}); | ||
} | ||
export function createBackendSdkClient():ModelSdkClient { | ||
export function createBackendSdkClient(version?:string):ModelSdkClient { | ||
const credentials = { | ||
@@ -23,5 +23,5 @@ credentials: { | ||
return Model.createSdkClient(lodash.extend({}, { | ||
client: new CompanyExpensesStubClient(credentials) | ||
client: new CompanyExpensesStubClient(credentials, version || "6.1.0") | ||
}, credentials)); | ||
} | ||
@@ -5,2 +5,3 @@ /// <reference path="../test-typings.d.ts"/> | ||
import {readJson} from './file-helper'; | ||
import {IDeploymentResult} from '../../src/sdk/internal/transport-interfaces'; | ||
@@ -109,2 +110,24 @@ /** | ||
deploy(workingCopyId:string, callback:common.ICallback<IDeploymentResult>, errorCallback:common.IErrorCallback) { | ||
return void callback({ | ||
url: "example.com/app", | ||
profile: "free", | ||
state: "STARTED", | ||
endpoint: "euwest", | ||
instances: 1, | ||
memory: 1024 | ||
}); | ||
} | ||
getDeploymentStatus(workingCopyId: string, callback: common.ICallback<IDeploymentResult>, errorCallback: common.IErrorCallback) { | ||
return void callback({ | ||
url: "example.com/app", | ||
profile: "free", | ||
state: "STARTED", | ||
endpoint: "euwest", | ||
instances: 1, | ||
memory: 1024 | ||
}); | ||
} | ||
} | ||
@@ -119,3 +142,3 @@ | ||
constructor(config:configuration.ISdkConfig) { | ||
constructor(config:configuration.ISdkConfig, version:string) { | ||
super(config, readJson('company-expenses-interfaces-expected.json'), { | ||
@@ -145,3 +168,3 @@ [CompanyExpensesStubClient.domainModelUnitId]: readJson('company-expenses-domain-model-expected.json'), | ||
}, | ||
}, "5.16.0"); | ||
}, version); | ||
} | ||
@@ -148,0 +171,0 @@ |
@@ -12,2 +12,11 @@ /// <reference path="../test-typings.d.ts"/> | ||
it('should create a snippet and module', done => { | ||
const client = createSdkClient(); | ||
client.openWorkingCopy("1", model => { | ||
const mod = projects.Module.createIn(model.root); | ||
const snippet = pages.Snippet.createIn(mod); | ||
done(); | ||
}, done); | ||
}); | ||
it('should create a domain model, folder and page', done => { | ||
@@ -14,0 +23,0 @@ const client = createSdkClient(); |
/// <reference path="../test-typings.d.ts"/> | ||
import {domainmodels, IModel} from "mendixmodelsdk"; | ||
import {domainmodels, IModel, projects} from "mendixmodelsdk"; | ||
import {assert} from 'chai'; | ||
@@ -156,3 +156,3 @@ import {CompanyExpensesStubClient} from '../helpers/stub-model-client'; | ||
const unitId = dm.id; | ||
const module = dm.container; | ||
const module = dm.containerAsModule; | ||
assert.equal(module.moduleSecurity.moduleRoles.length, 3); | ||
@@ -472,2 +472,75 @@ | ||
it('should pick broken by name references, even when name is applied (again)', function(done) { | ||
createSdkClient().openWorkingCopy("1", model => { | ||
model.loadUnitById(domainModelUnitId, (dm1:domainmodels.DomainModel) => { | ||
// verify we have an entity e1 in dm1 | ||
const entity1 = lodash.find(dm1.entities, ent => ent.name === "TempUser"); | ||
assert.ok(entity1); | ||
// create a new module | ||
const module2 = projects.Module.createIn(model.root); | ||
module2.name = "Module2"; | ||
// create a new domain model in that new module | ||
const dm2 = domainmodels.DomainModel.createIn(module2); | ||
// create an entity e2 there | ||
let entity2 = domainmodels.Entity.createIn(dm2); | ||
entity2.name = "Entity2"; | ||
// create a new cross assoc from e1 to e2 | ||
const crossAssoc1 = domainmodels.CrossAssociation.create(model); | ||
crossAssoc1.name = "entity1_entity2"; | ||
crossAssoc1.parent = entity1; | ||
crossAssoc1.child = entity2; | ||
dm1.crossAssociations.push(crossAssoc1); | ||
// delete e2 | ||
entity2.delete(); | ||
entity2 = null; | ||
// checks to see if all is as expected | ||
assert.equal(crossAssoc1.child, null); | ||
assert.equal(crossAssoc1.childQualifiedName, "Module2.Entity2"); | ||
// recreate e2 | ||
entity2 = domainmodels.Entity.create(model); | ||
// applying (same) name again: | ||
entity2.name = "Entity2"; | ||
// adding the entity to its container áfter having changed the name | ||
dm2.entities.push(entity2); | ||
// see if the cross assoc is updated | ||
assert.equal(crossAssoc1.child, entity2); | ||
assert.equal(crossAssoc1.childQualifiedName, "Module2.Entity2"); | ||
/* TODO: require story 641275 to be finished first | ||
// replace dm2 with something else | ||
const entity3 = domainmodels.Entity.create(model); | ||
dm2.entities[0] = entity3; // TODO: breaks reference | ||
assert.equal(crossAssoc1.child, null); | ||
assert.equal(crossAssoc1.childQualifiedName, "Module2.Entity2"); | ||
// and swap it out again.. | ||
dm2.entities[0] = entity2; // TODO: should not be allowed, was already deleted! | ||
assert.equal(crossAssoc1.childQualifiedName, "Module2.Entity2"); | ||
assert.equal(crossAssoc1.child, null); | ||
// replace in list with other entity with same name | ||
const entity4 = domainmodels.Entity.create(model); | ||
entity4.name = "Entity2"; | ||
dm2.entities[0] = entity4; | ||
assert.equal(crossAssoc1.child, entity4); | ||
assert.equal(crossAssoc1.childQualifiedName, "Module2.Entity2"); | ||
// TODO: check if the correct delta's are send | ||
*/ | ||
model.closeConnection(done); | ||
}); | ||
}, done); | ||
}); | ||
}); |
@@ -5,4 +5,5 @@ /// <reference path="../test-typings.d.ts"/> | ||
import {createSdkClient, createBackendSdkClient} from '../helpers/sdk-client-helper'; | ||
import {IDeploymentResult} from '../../src/sdk/internal/transport-interfaces'; | ||
import {assert} from 'chai'; | ||
const createWorkingCopyParams:configuration.ICreateWorkingCopyParameters = { | ||
@@ -122,2 +123,9 @@ name: 'testName', | ||
it('deploy a project', (done) => { | ||
createSdkClient().deploy("1", (res:IDeploymentResult) => { | ||
assert.ok(typeof res.url == 'string'); | ||
done(); | ||
}, done); | ||
}); | ||
}); |
@@ -248,3 +248,3 @@ /// <reference path="../../test-typings.d.ts"/> | ||
}); | ||
it('should detect introducedness on creation', (done) => { | ||
@@ -258,16 +258,21 @@ withEntityLoaded("6.0.4", done, (entity, domainModel, model) => { | ||
}); | ||
it('should detect non-introducedness on creation', (done) => { | ||
withEntityLoaded("6.0.4", done, (entity, domainModel, model) => { | ||
const message = "Property 'nonUsedElement' of type 'DomainModels_simple$Entity' is not yet available in Mendix version 6.0.4. It was introduced in Mendix version 6.0.5"; | ||
assert.throws(() => { | ||
entity.nonUsedElement = domainmodels_simple.VeryNewElement.create(model); | ||
}, message); | ||
}, "Property 'nonUsedElement' of type 'DomainModels_simple$Entity' is not yet available in Mendix version 6.0.4. It was introduced in Mendix version 6.0.5"); | ||
done(); | ||
}); | ||
}); | ||
it('should detect temporary containment ambiguity on creation', (done) => { | ||
withEntityLoaded("6.0.4", done, (entity, domainModel, model) => { | ||
assert.throws(() => { | ||
domainmodels_simple.VeryNewElement.createIn(entity); | ||
}, message); | ||
}, 'In Mendix version 6.0.4 it is illegal on instances of DomainModels_simple$VeryNewElement to call the "createIn" method, either because it\'s ambiguously contained or derived.'); | ||
done(); | ||
}); | ||
}); | ||
it('should detect deprecation on get', (done) => { | ||
@@ -285,3 +290,3 @@ withEntity("6.0.4", done, (entity, domainModel, model) => { | ||
}); | ||
it('should detect deprecation on creation', (done) => { | ||
@@ -288,0 +293,0 @@ withEntityLoaded("6.0.4", done, (entity, domainModel, model) => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4583334
85187
2
4
133
2
2
0