Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IModule

Hierarchy

Implemented by

Index

Properties

appStoreGuid

appStoreGuid: string

appStoreVersion

appStoreVersion: string

appStoreVersionGuid

appStoreVersionGuid: string

container

container: IStructuralUnit

The parent unit of this unit.

containerAsFolderBase

containerAsFolderBase: IFolderBase

containerAsProject

containerAsProject: IProject

documents

documents: IList<IDocument>

domainModel

domainModel: IDomainModel

This property is required and cannot be set to null.

folders

folders: IList<IFolder>

fromAppStore

fromAppStore: boolean

id

id: string

isLoaded

isLoaded: boolean

Whether this unit has been completely loaded and does not consist of the unit's interface (which corresponds to the unit being partial).

model

model: IModel

moduleSecurity

moduleSecurity: IModuleSecurity

This property is required and cannot be set to null.

name

name: string

sortIndex

sortIndex: number

The index of where this Module appears in the project. This property is required, and of type double. Also, its value needs to be unique among its siblings (meaning, in code: containerAsProject.modules) in the project. In other words: containerAsProject.modules.map(m => m.sortedIndex) (TS syntax) needs to be a list with unique values.

typeName

typeName: string

unit

Unit that owns/contains this thing.

versionInfo

Methods

allProperties

toJSON

  • toJSON(): Object
  • Renders the structure as plain JSON (without observables magic). This is intended for debugging and development convenience. Note that the resulting object is not of the interface type corresponding to this structure.

    Returns Object

traverse

  • traverse(visit: function): void
  • Traverses this structure by calling the provided visitor function on itself and all the structures contained (as part) by it, in depth-first order, and it returns synchronously after that. Traverse will visit all descendants of the structure, so make sure it is loaded first.

    Parameters

    Returns void

traversePublicParts

  • traversePublicParts(visit: function): void
  • Traverses this structure by calling the provided visitor function on itself and all the structures contained (as part) by it, in depth-first order, and it returns synchronously after that. This visitor will only access the parts of the structure that are publicly visible, in other words, which are part of the interface of the structure.

    Parameters

    Returns void

Generated using TypeDoc