ts-transforms / operations/lib/base / default
Class: default
Defined in: operations/lib/base.ts:6
Extended by
Constructors
new default()
new default(
config
):default
Defined in: operations/lib/base.ts:15
Parameters
Parameter | Type |
---|---|
config | OperationConfig |
Returns
Properties
Property | Modifier | Type | Default value | Defined in |
---|---|---|---|---|
config | readonly | OperationConfig | undefined | operations/lib/base.ts:9 |
destination | protected | string | string [] | undefined | operations/lib/base.ts:10 |
hasTarget | protected | boolean | undefined | operations/lib/base.ts:11 |
source | protected | string | string [] | undefined | operations/lib/base.ts:7 |
target | protected | string | string [] | undefined | operations/lib/base.ts:8 |
cardinality | static | InputOutputCardinality | 'one-to-one' | operations/lib/base.ts:13 |
Methods
removeField()
removeField(
doc
,field
):void
Defined in: operations/lib/base.ts:50
Parameters
Parameter | Type |
---|---|
doc | DataEntity |
field | string |
Returns
void
removeSource()
removeSource(
doc
):void
Defined in: operations/lib/base.ts:46
Parameters
Parameter | Type |
---|---|
doc | DataEntity |
Returns
void
set()
set(
doc
,data
):void
Defined in: operations/lib/base.ts:38
Parameters
Parameter | Type |
---|---|
doc | DataEntity |
data | any |
Returns
void
setField()
setField(
doc
,field
,data
):void
Defined in: operations/lib/base.ts:42
Parameters
Parameter | Type |
---|---|
doc | DataEntity |
field | string |
data | any |
Returns
void
validateConfig()
protected
validateConfig(config
):void
Defined in: operations/lib/base.ts:22
Parameters
Parameter | Type |
---|---|
config | OperationConfig |
Returns
void