Home > Class Reference > ENSLIB namespace > %FileMan.MappedFile

%FileMan.MappedFile

persistent class %FileMan.MappedFile extends %Library.Persistent

SQL Table Name: %FileMan.MappedFile

This class stored information about the mapping of a FileMan file to a class A FileMan file may be mapped to one or more packages at a time The user may have run FM2Class for a file in one package, then ran it again with another package name to make a copy of it in another package Sometimes these mappings may have been performed by different versions of FM2Class.

Property Inventory (Including Private)

Properties (Including Private)

property FileName as %Library.String (MAXLEN = 45) [ Required ];
The FileMan File name
Property methods: FileNameDisplayToLogical(), FileNameGet(), FileNameGetStored(), FileNameIsValid(), FileNameLogicalToDisplay(), FileNameLogicalToOdbc(), FileNameNormalize(), FileNameSet()
property FileNumber as %Library.String [ Required ];
The FileMan File number
Property methods: FileNumberDisplayToLogical(), FileNumberGet(), FileNumberGetStored(), FileNumberIsValid(), FileNumberLogicalToDisplay(), FileNumberLogicalToOdbc(), FileNumberNormalize(), FileNumberSet()
relationship MappedFilePackage as array of %FileMan.MappedFilePackage [ InitialExpression = $listbuild("%FileMan.MappedFilePackage","FileNumber",+$this,"children",1,1) , Transient , Inverse = FileNumber , Cardinality = children ];
Each file may be mapped to 1 or more packages
Property methods: MappedFilePackageGet(), MappedFilePackageGetObject(), MappedFilePackageGetObjectId(), MappedFilePackageGetSwizzled(), MappedFilePackageIsEmpty(), MappedFilePackageIsValid(), MappedFilePackageNewObject(), MappedFilePackageRClose(), MappedFilePackageRExec(), MappedFilePackageRFetch(), MappedFilePackageRelate(), MappedFilePackageSQLCompute(), MappedFilePackageSet(), MappedFilePackageUnRelate()

Indexes

index (IDKeyIndex on FileNumber) [IdKey, PrimaryKey, Type = key, Unique];
Index methods: IDKeyIndexCheck(), IDKeyIndexDelete(), IDKeyIndexExists(), IDKeyIndexOpen(), IDKeyIndexSQLCheckUnique(), IDKeyIndexSQLExists(), IDKeyIndexSQLFindPKeyByConstraint(), IDKeyIndexSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods (Including Private)