File

C:/GoDev/src/TCSTK-Angular/projects/tibco-tcstk/tc-spotfire-lib/src/lib/models/tc-spotfire-config.ts

Index

Properties

Properties

sourceAttr
Type : string
targetAttr
Type : string
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;
  }
}

result-matching ""

    No results matching ""