@nfdi4plants/swate-components
Version:
Customizable React components for ontology annotation, based on Swate and the ARC.
47 lines • 3.86 kB
TypeScript
import { DataFile_$union } from './DataFile.fs.js';
import { Comment$ } from './Comment.fs.js';
import { OntologyAnnotation } from './OntologyAnnotation.fs.js';
import { int32 } from '@fable-org/fable-library-js/Int32.js';
import { Option } from '@fable-org/fable-library-js/Option.js';
import { Value_$union } from './Value.fs.js';
import { Data } from './Data.fs.js';
import { IISAPrintable } from './Helper/Printer.fs.js';
import { IPropertyValue } from './IPropertyValue.fs.js';
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
export declare class DataContext extends Data implements IISAPrintable, IPropertyValue {
_explication: Option<OntologyAnnotation>;
_unit: Option<OntologyAnnotation>;
_objectType: Option<OntologyAnnotation>;
_label: Option<string>;
_description: Option<string>;
_generatedBy: Option<string>;
constructor(id?: string, name?: string, dataType?: DataFile_$union, format?: string, selectorFormat?: string, explication?: OntologyAnnotation, unit?: OntologyAnnotation, objectType?: OntologyAnnotation, label?: string, description?: string, generatedBy?: string, comments?: Comment$[]);
GetHashCode(): int32;
Equals(obj: any): boolean;
AlternateName(): Option<string>;
MeasurementMethod(): Option<string>;
GetCategory(): Option<OntologyAnnotation>;
GetValue(): Option<Value_$union>;
GetUnit(): Option<OntologyAnnotation>;
GetAdditionalType(): string;
Description(): Option<string>;
}
export declare function DataContext_$reflection(): TypeInfo;
export declare function DataContext_$ctor_Z780A8A2A(id?: string, name?: string, dataType?: DataFile_$union, format?: string, selectorFormat?: string, explication?: OntologyAnnotation, unit?: OntologyAnnotation, objectType?: OntologyAnnotation, label?: string, description?: string, generatedBy?: string, comments?: Comment$[]): DataContext;
export declare function DataContext__get_Explication(this$: DataContext): Option<OntologyAnnotation>;
export declare function DataContext__set_Explication_279AAFF2(this$: DataContext, explication: Option<OntologyAnnotation>): void;
export declare function DataContext__get_Unit(this$: DataContext): Option<OntologyAnnotation>;
export declare function DataContext__set_Unit_279AAFF2(this$: DataContext, unit: Option<OntologyAnnotation>): void;
export declare function DataContext__get_ObjectType(this$: DataContext): Option<OntologyAnnotation>;
export declare function DataContext__set_ObjectType_279AAFF2(this$: DataContext, objectType: Option<OntologyAnnotation>): void;
export declare function DataContext__get_Label(this$: DataContext): Option<string>;
export declare function DataContext__set_Label_6DFDD678(this$: DataContext, label: Option<string>): void;
export declare function DataContext__get_Description(this$: DataContext): Option<string>;
export declare function DataContext__set_Description_6DFDD678(this$: DataContext, description: Option<string>): void;
export declare function DataContext__get_GeneratedBy(this$: DataContext): Option<string>;
export declare function DataContext__set_GeneratedBy_6DFDD678(this$: DataContext, generatedBy: Option<string>): void;
export declare function DataContext__AsData(this$: DataContext): Data;
export declare function DataContext_fromData_Z7B4D7BF5(data: Data, explication?: OntologyAnnotation, unit?: OntologyAnnotation, objectType?: OntologyAnnotation, label?: string, description?: string, generatedBy?: string): DataContext;
export declare function DataContext_createAsPV(alternateName: Option<string>, measurementMethod: Option<string>, description: Option<string>, category: Option<OntologyAnnotation>, value: Option<Value_$union>, unit: Option<OntologyAnnotation>): DataContext;
export declare function DataContext__Copy(this$: DataContext): DataContext;
//# sourceMappingURL=DataContext.fs.d.ts.map