File

projects/m2-core/src/lib/model/value/AttributeValue.ts

Extends

PropertyValue

Index

Properties
Methods

Constructor

constructor(id: number, propertyId: number, valueType: AttributeType)
Parameters :
Name Type Optional
id number No
propertyId number No
valueType AttributeType No

Properties

Public Optional customGetFileBodyUrlFn
Type : function
Public data
Type : AttributeValueData
Static TYPE
Type : string
Default value : 'AttributeValueTransfer'
Public valueType
Type : AttributeType
Public Optional customAttrId
Type : string
Public Optional isHistorical
Type : boolean
Public Optional originalValueId
Type : number
Public propertyId
Type : number
Public Optional valueStr
Type : string
Public id
Type : number
Public isBlocked
Type : boolean
Public Optional valueIdentifier
Type : number

Methods

Static createEmptyAttributeValue
createEmptyAttributeValue(propertyId: number, type: AttributeType)
Parameters :
Name Type Optional
propertyId number No
type AttributeType No
Returns : AttributeValue
Static getPayloadValue
getPayloadValue(value: AttributeValue)
Parameters :
Name Type Optional
value AttributeValue No
Returns : string | number | boolean
Static getValueIdentity
getValueIdentity(itemId: number, propertyId: number)
Parameters :
Name Type Optional
itemId number No
propertyId number No
Returns : string
Static isAggregation
isAggregation(value: PropertyValue)
Parameters :
Name Type Optional
value PropertyValue No
Returns : boolean
Static isAttributeValue
isAttributeValue(value: PropertyValue)
Parameters :
Name Type Optional
value PropertyValue No
Returns : boolean

results matching ""

    No results matching ""