SubModelOf_MockModel

Inheritance

The SubModelOf_MockModel object is derived from the MockModel object.

Usage locations

The SubModelOf_MockModel object can be accessed from the following locations:

Property List

AbsoluteFilePath
The full path of the project file (directory path and file name including the file extension). (Read only string)
AbsolutePath
The full directory path of the project file (directory path excluding the file name and extension). (Read only string)
BoundingBox
A box indicating the bounding box of this entity. (Read only Box). (Read only Box)
Label
The object label. (Read/Write string)
Type
The object type string. (Read only string)

Property List (internal only)

Encrypted
(Read only boolean)
EntityWithReferences
(Read only MockDomainEntityWithReferences)
FileName
(Read only string)
MockEntity
(Read only MockSimpleDomainEntity)
Path
(Read only string)
Processes
(Read only MockDomainEntityWithProcesses)
Tolerance
(Read only number)
UserAccessible
(Read only boolean)

Collection List (internal only)

DeferredEntities
(MockEntityWithDeferredValueCollection of MockEntityWithDeferredValue.)
EntitiesWithElements
(MockEntityWithElementsCollection of MockEntityWithElements.)
MockDomainEntities
(MockCollection of MockEntity.)
MockDomainEntityOrderedCollection
(MockOrderedCollection of MockEntity.)
MockDomainEntityWithReferencesCollection
(MockDomainEntityWithReferencesCollection of MockDomainEntityWithReferences.)
SubModels
(ModelCollectionOf_SubModelOf_MockModel of SubModelOf_MockModel.)

Method List

Delete ()
Deletes the entity.
DeleteEntities (entities List of Object)
Deletes the given list of entities. The entities may be in different collections.
Duplicate ()
Duplicates the entity. (Returns a Object object.)
GetProperties ()
Returns a table of properties representing the state of the object. The properties table can be used with the SetProperties method to change multiple properties of the object in one step. (Returns a table object.)
SetProperties (properties Object)
Modifies the state of the object using the provided table of properties. This method is used to modify multiple properties of the object in a single step.

Method List (internal only)

ConvertToSubModel ()
FailingProcess ()
FailingProcessWithArguments ( string, number)
ImportSubModel ( string)
LoadModel ( string)
SaveModel ( string)
StreamFromFile ( string)
StreamToFile ( string)
StreamToXmlFile ( string)

Static Function List

GetDefaultProperties ()
Creates a table containing the default settings to create an object. (Returns a table object.)

Property Details

AbsoluteFilePath
The full path of the project file (directory path and file name including the file extension).
Type
string
Access
Read only
AbsolutePath
The full directory path of the project file (directory path excluding the file name and extension).
Type
string
Access
Read only
BoundingBox
A box indicating the bounding box of this entity. (Read only Box).
Type
Box
Access
Read only
Label
The object label.
Type
string
Access
Read/Write
Type
The object type string.
Type
string
Access
Read only

Property Details (internal only)

Encrypted
Type
boolean
Access
Read only
EntityWithReferences
Type
MockDomainEntityWithReferences
Access
Read only
FileName
Type
string
Access
Read only
MockEntity
Type
MockSimpleDomainEntity
Access
Read only
Path
Type
string
Access
Read only
Processes
Type
MockDomainEntityWithProcesses
Access
Read only
Tolerance
Type
number
Access
Read only
UserAccessible
Type
boolean
Access
Read only

Collection Details (internal only)

DeferredEntities
Type
MockEntityWithDeferredValueCollection
EntitiesWithElements
Type
MockEntityWithElementsCollection
MockDomainEntities
Type
MockCollection
MockDomainEntityOrderedCollection
Type
MockOrderedCollection
MockDomainEntityWithReferencesCollection
Type
MockDomainEntityWithReferencesCollection
SubModels
Type
ModelCollectionOf_SubModelOf_MockModel

Method Details

Delete ()
Deletes the entity.
DeleteEntities (entities List of Object)
Deletes the given list of entities. The entities may be in different collections.
Input Parameters
entities(List of Object)
The list of entities to delete.
Duplicate ()
Duplicates the entity.
Return
Object
The new (duplicated) entity.
GetProperties ()
Returns a table of properties representing the state of the object. The properties table can be used with the SetProperties method to change multiple properties of the object in one step.
Return
table
A table defining the properties.
SetProperties (properties Object)
Modifies the state of the object using the provided table of properties. This method is used to modify multiple properties of the object in a single step.
Input Parameters
properties(Object)
A table of properties defining the new state of the object.

Method Details (internal only)

ConvertToSubModel ()
FailingProcess ()
FailingProcessWithArguments ( string, number)
Input Parameters
(string)
(number)
ImportSubModel ( string)
Input Parameters
(string)
LoadModel ( string)
Input Parameters
(string)
SaveModel ( string)
Input Parameters
(string)
StreamFromFile ( string)
Input Parameters
(string)
StreamToFile ( string)
Input Parameters
(string)
StreamToXmlFile ( string)
Input Parameters
(string)

Static Function Details

GetDefaultProperties ()
Creates a table containing the default settings to create an object.
Return
table
A table containing the default properties.