File

projects/m2-core/src/lib/model/ObjectFactory.ts

Index

Methods

Methods

Static aggregationPartToItem
aggregationPartToItem(aggregation: Aggregation)
Parameters :
Name Type Optional
aggregation Aggregation No
Returns : Item
Static applicationAttributeToPropertyValue
applicationAttributeToPropertyValue(attribute: ApplicationAttribute)
Parameters :
Name Type Optional
attribute ApplicationAttribute No
Returns : PropertyValue
Static constraintColumnToDeclaration
constraintColumnToDeclaration(column: ConstraintTableColumn)
Parameters :
Name Type Optional
column ConstraintTableColumn No
Static createEmptyPropertyValue
createEmptyPropertyValue(declaration: PropertyDeclaration)
Parameters :
Name Type Optional
declaration PropertyDeclaration No
Returns : PropertyValue
Static itemToAggregation
itemToAggregation(part: Item, propertyId: number, isComposite: boolean, id)
Parameters :
Name Type Optional Default value
part Item No
propertyId number No
isComposite boolean No
id No CONSTANTS.TEMP_PROPERTY_VALUE_ID
Returns : Aggregation
Static itemToConstraintTableCell
itemToConstraintTableCell(item: Item, propertyId)
Parameters :
Name Type Optional
item Item No
propertyId No
Static propertyNodeToProperty
propertyNodeToProperty(p: PropertyNode)
Parameters :
Name Type Optional
p PropertyNode No
Returns : Property
Static propertyToFakeConstraintTableColumn
propertyToFakeConstraintTableColumn(property: Property)
Parameters :
Name Type Optional
property Property No
Static propertyToFakeDeclaration
propertyToFakeDeclaration(property: Property, declarationId?: number)
Parameters :
Name Type Optional
property Property No
declarationId number Yes
Static propertyValueToFakeDeclaration
propertyValueToFakeDeclaration(propertyValue: PropertyValue)
Parameters :
Name Type Optional
propertyValue PropertyValue No
Static taxonomyColumnToDeclaration
taxonomyColumnToDeclaration(column: TaxonomyColumn)
Parameters :
Name Type Optional
column TaxonomyColumn No

results matching ""

    No results matching ""