File

projects/m2-core/src/lib/model/auxiliary/tree/PropertyNode.ts

Implements

TreeNodeData

Index

Properties
Methods

Constructor

constructor(propertyId: number, displayName: string, attributeType: AttributeType, declarationIds: number[], fullPathIds: number[], fullPathName: string, fullPathSourceIdsStr: string, fullPathCodeForm?: string, getChildren?: () => void, columnId?: string)
Parameters :
Name Type Optional
propertyId number No
displayName string No
attributeType AttributeType No
declarationIds number[] No
fullPathIds number[] No
fullPathName string No
fullPathSourceIdsStr string No
fullPathCodeForm string Yes
getChildren function Yes
columnId string Yes

Properties

Public Optional $$origin
Type : string
Public attributeType
Type : AttributeType
Public Optional checked
Type : boolean
Public children
Type : TreeNodeData[]
Public Optional columnId
Type : string
Public declarationIds
Type : number[]
Public displayName
Type : string
Public fullPathCodeForm
Type : string
Public fullPathIds
Type : number[]
Public fullPathIdsStr
Type : string
Public Optional fullPathName
Type : string
Public fullPathSourceIdsStr
Type : string
Public Optional getChildren
Type : function
Public hasChildren
Type : boolean
Public id
Type : number
Public Optional isComposer
Type : boolean
Public Optional isComposite
Type : boolean
Public isExpanded
Type : boolean
Public isHidden
Type : boolean
Public Optional isInverse
Type : boolean
Public Optional isMultiple
Type : boolean
Public Optional isSelectionDisabled
Type : boolean
Public Optional natureId
Type : number
Public path
Type : string
Public Optional pathFormatterFn
Type : function
Public queryParams
Type : Params
Public queryParamsHandling
Type : QueryParamsHandling
Public routerLink
Type : string
Public showPath
Type : boolean
Public Optional warning
Type : string

Methods

Static buildNodeFromDeclaration
buildNodeFromDeclaration(declaration: PropertyDeclaration, declarationIds: number[], fullPathIds: number[], fullPathName: string, fullPathSourceIdsStr: string)
Parameters :
Name Type Optional
declaration PropertyDeclaration No
declarationIds number[] No
fullPathIds number[] No
fullPathName string No
fullPathSourceIdsStr string No
Returns : PropertyNode
Static buildNodeFromDeclarationLight
buildNodeFromDeclarationLight(declLight: PropertyDeclarationLight, declarationIds: number[], fullPathIds: number[], fullPathName: string, fullPathSourceIdsStr: string)
Parameters :
Name Type Optional
declLight PropertyDeclarationLight No
declarationIds number[] No
fullPathIds number[] No
fullPathName string No
fullPathSourceIdsStr string No
Returns : PropertyNode
Static buildNodeFromProperty
buildNodeFromProperty(property: Property, declarationIds: number[], fullPathIds: number[], fullPathName: string, fullPathSourceIdsStr: string)
Parameters :
Name Type Optional
property Property No
declarationIds number[] No
fullPathIds number[] No
fullPathName string No
fullPathSourceIdsStr string No
Returns : PropertyNode
Public getFormattedPath
getFormattedPath(isComposerInPath)
Parameters :
Name Optional Default value
isComposerInPath No false
Returns : string
Static isAllowedInPattern
isAllowedInPattern(propertyNode: PropertyNode)
Parameters :
Name Type Optional
propertyNode PropertyNode No
Returns : boolean
Public toProperty
toProperty()
Returns : Property

results matching ""

    No results matching ""