C:/GoDev/src/TCSTK-Angular/projects/tibco-tcstk/tc-spotfire-lib/src/lib/models/tc-spotfire-config.ts
Deserializable
Properties |
Methods |
activePageForDetails |
Type : string
|
activePageForHome |
Type : string
|
allowedPages |
Type : string[]
|
analysisPath |
Type : string
|
columnNames |
Type : string[]
|
id |
Type : string
|
markingName |
Type : string
|
maxMarkings |
Type : number
|
spotfireServer |
Type : string
|
tableName |
Type : string
|
uiAppId |
Type : string
|
deserialize | ||||||
deserialize(input: any)
|
||||||
Parameters :
Returns :
this
|
import { Deserializable, GeneralConfig } from '@tibco-tcstk/tc-core-lib';
export class SpotfireConfig implements Deserializable {
id: string;
uiAppId: string;
spotfireServer: string;
analysisPath: string;
tableName: string;
activePageForHome: string;
activePageForDetails: string;
markingName: string;
maxMarkings: number;
allowedPages: string[];
columnNames: string[];
/*sfMarkingCreateCaseConfig: SpotfireMarkingCreateCaseConfig;*/
deserialize(input: any) {
Object.assign(this, input);
return this;
}
}
export class AttributeMapping {
sourceAttr: string;
targetAttr: string;
}
// TODO: club with Spotfire Config and remove id and uiAppId
export class SpotfireMarkingCreateCaseConfig implements Deserializable {
id: string;
uiAppId: string;
markingName: string;
tableName: string;
objectPath: string;
attributes: Array<AttributeMapping>;
initialValue: any;
deserialize(input: any) {
Object.assign(this, input);
return this;
}
}