Vision Messages: Entity


Object
  | 
  +--- Entity
  |      |
  |      +--- Classification
  |      |      |
  |      |      +--- RangeClassification
  |      |
  |      +--- Currency
  |      |
  |      +--- DataSource
  |      |
  |      +--- Support
  |      |
  |      +--- SystemTable
  |      |      |
  |      |      +--- ClassType
  |      |      |
  |      |      +--- FunctionType
  |      |      |
  |      |      +--- MessageType
  |      |      |
  |      |      +--- UpdateType
  |      |      |
  |      |      +--- UsageLevel
  |      |
  |      +--- Table


The Entity subclasses are defined to describe real-world entities such as companies, industries, countries, and products. Instances of the entity subclasses are often named and can be referenced directly or used as part of a list. Tables are often created as subclasses of Entity.


Message Index

o XRef
o accessExpression
o addAlias: string
o addAlias: string toXRefIn: dictionary
o aliases
o asSelf
o classDescriptor
o cleanupClassStructures
o cleanupLocalNames
o clusterStrings
o createInitializationListFrom: blockList
o createNewXRefManager
o createPrivateStructure
o createXRef: id withProperty: propertyId
o defaultInstance
o deleteAlias: aliasList
o displayInfo
o displayLabel
o displayLabelKey
o displayXRefAuditReport
o getOrCreate: string
o getRecordForUser: userName
o helpMessage
o initializationList
o initialize
o initializeDataBaseLinks
o initializeGlobalInstanceProperties
o initializeGlobalSubclassProperties
o initializeLocalAttributes
o isEntity
o loadFromFile: file
o loadValuesFor: item as: type fromFile: file
o locateId: string
o locateIds: string
o masterListCodes
o name
o named
o newAs: string
o numericCode
o print
o print: anInteger
o profile
o rebuildAliases
o setNameTo: string
o setNumericCodeTo: ordinal
o setShortNameTo: string
o setSortCodeTo: ordinal
o setXRefIn: dictionary to: string
o shortName
o sortCode
o specializeAs: string at: object
o updateInitializationListWith: block
o validateInputString: input
o whatAmI


Messages

o XRef

Synopsis:
Entity XRef

Type: Constant          Returns: XRef

Also Defined At:
| Currency |

o accessExpression

Synopsis:
Entity accessExpression

Description:

Returns a string that could be used to request recipient

Type: Method          Returns: String

Also Defined At:
| Object |

o addAlias:

Synopsis:
Entity addAlias: string

Description:

Adds supplied string as alternate name in recipient's naming dictionary.

Type: Method          Returns: Entity

Parameters:

1 - String

o addAlias:toXRefIn:

Synopsis:
Entity addAlias: string toXRefIn: dictionary

Type: Method          Returns: Object

o aliases

Synopsis:
Entity aliases

Description:

Returns list of aliases named for entity.

Type: FixedProperty          Returns: List

o asSelf

Synopsis:
Entity asSelf

Description:

Returns the original object.

Type: Primitive          Returns: Entity

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | IndexedList | Interface | List | Number | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o classDescriptor

Synopsis:
Entity classDescriptor

Description:

Reference to the object which describes the class. Class level information is stored here.

Type: Constant          Returns: Object

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | IndexedList | Interface | List | Number | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o cleanupClassStructures

Synopsis:
Entity cleanupClassStructures

Description:

Runs 'cleanStoreAndDictionary' at Object, this method is redefined as needed by subclasses to perform general cleanup functions.

Type: Method          Returns: Object

Also Defined At:
| Dictionary | Object |

o cleanupLocalNames

Synopsis:
Entity cleanupLocalNames

Description:

This method is executed by the 'flagForDeletionWithReason:' message and is redefined as needed by subclasses.

Type: Method          Returns: Object

Also Defined At:
| Object |

o clusterStrings

Synopsis:
Entity clusterStrings

Type: Method          Returns: Object

o createInitializationListFrom:

Synopsis:
Entity createInitializationListFrom: blockList

Description:

Creates a new class constant for the recipient's class named 'initializationList' and copies the blocks in blockList to this list. The initializationList is used during the instance creation process to initialize default values in the new instance.

Type: Method          Returns: Entity

Parameters:

1 - List

o createNewXRefManager

Synopsis:
Entity createNewXRefManager

Type: Method          Returns: Object

o createPrivateStructure

Synopsis:
Entity createPrivateStructure

Type: Method          Returns: Object

o createXRef:withProperty:

Synopsis:
Entity createXRef: id withProperty: propertyId

Type: Method          Returns: Object

o defaultInstance

Synopsis:
Entity defaultInstance

Description:

Returns the default instance of the recipient object's class

Type: Constant          Returns: Entity

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | IndexedList | Interface | List | Number | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o deleteAlias:

Synopsis:
Entity deleteAlias: aliasList

Type: Method          Returns: Object

o displayInfo

Synopsis:
Entity displayInfo

Description:

Displays the code and name for the recipient followed by a new line. This message is often redefined by the subclasses to display one line of simple formatted information about an entity.

Type: Method          Returns: Object

Also Defined At:
| Object |

o displayLabel

Synopsis:
Entity displayLabel

Description:

Returns the recipient's name

Type: Method          Returns: Object

Also Defined At:
| Object |

o displayLabelKey

Synopsis:
Entity displayLabelKey

Description:

Returns the recipient's code

Type: Method          Returns: Object

Also Defined At:
| Object |

o displayXRefAuditReport

Synopsis:
Entity displayXRefAuditReport

Type: Method          Returns: Object

o getOrCreate:

Synopsis:
Entity getOrCreate: string

Description:

Returns object named by string in recipient class' naming dictionary. If not found, a new instance is created and returned.

Type: Method          Returns: Entity

Parameters:

1 - String

o getRecordForUser:

Synopsis:
Entity getRecordForUser: userName

Type: Method          Returns: Object

o helpMessage

Synopsis:
Entity helpMessage

Description:

Returns a message describing the recipient.

Type: Method          Returns: String

Also Defined At:
| Object |

o initializationList

Synopsis:
Entity initializationList

Description:

Returns the list of blocks used to initialize default values in new instances of the recipient's class.

Type: Constant          Returns: List

o initialize

Synopsis:
Entity initialize

Description:

Initializes a new instance. Run as part of the instance creation process.

Type: Method          Returns: Entity

Also Defined At:
| Currency | Dictionary |

o initializeDataBaseLinks

Synopsis:
Entity initializeDataBaseLinks

Description:

Initializes a new instance. Run as part of the instance creation process.

Type: Method          Returns: Entity

o initializeGlobalInstanceProperties

Synopsis:
Entity initializeGlobalInstanceProperties

Description:

Initializes a new instance. Run as part of the instance creation process.

Type: Method          Returns: Entity

Also Defined At:
| Classification | Object |

o initializeGlobalSubclassProperties

Synopsis:
Entity initializeGlobalSubclassProperties

Description:

This method is run as part of the 'specialized' method and is used to initialize properties in the default row of the new class.

Type: Method          Returns: Object

Also Defined At:
| Dictionary | Object |

o initializeLocalAttributes

Synopsis:
Entity initializeLocalAttributes

Description:

Initializes a new instance. Run as part of the instance creation process.

Type: Method          Returns: Entity

Also Defined At:
| Dictionary | Object |

o isEntity

Synopsis:
Entity isEntity

Description:

Returns the value TRUE when sent to any Entity.

Type: Constant          Returns: TRUE

Also Defined At:
| Object |

o loadFromFile:

Synopsis:
Entity loadFromFile: file

Type: Method          Returns: Object

o loadValuesFor:as:fromFile:

Synopsis:
Entity loadValuesFor: item as: type fromFile: file

Type: Method          Returns: Object

o locateId:

Synopsis:
Entity locateId: string

Description:

Returns entity associated with id supplied, searching naming dictionaries associated with entity class. By default only 'named' is searched; this message can be redefined for subclasses that can use multiple dictionaries.

Type: Method          Returns: Entity

Parameters:

1 - String

o locateIds:

Synopsis:
Entity locateIds: string

Type: Method          Returns: Object

o masterListCodes

Synopsis:
Entity masterListCodes

Description:

Displays all codes and names for all non-default instances in recipient's class.

Type: Method          Returns: Object

o name

Synopsis:
Entity name

Description:

Returns descriptive name for recipient.

Type: FixedProperty          Returns: String

o named

Synopsis:
Entity named

Description:

Returns the naming dictionary for the recipient's class.

Type: Constant          Returns: Dictionary

Also Defined At:
| Classification | Currency |

o newAs:

Synopsis:
Entity newAs: string

Description:

Special version of 'newAs:' message designed to address the additional requirements of entity instance creation.

Type: Method          Returns: Entity

Also Defined At:
| Dictionary | Object |

o numericCode

Synopsis:
Entity numericCode

Description:

Returns descriptive numeric code for recipient.

Type: FixedProperty          Returns: String

o print

Synopsis:
Entity print

Description:

Redefines the standard print message so that the value of the recipient code is printed.

Type: Method          Returns: Entity

Also Defined At:
| Block | Date | DateOffset | DateRange | IndexedList | List | Object | String | TimeSeries | Undefined |

o print:

Synopsis:
Entity print: anInteger

Description:

Prints the recipient code using the supplied format.

Type: Method          Returns: Entity

Parameters:

1 - Integer

Also Defined At:
| Boolean | Date | Number | Object | String | Undefined |

o profile

Synopsis:
Entity profile

Description:

Displays a multi-line description of the recipient object.

Type: Method          Returns: Object

Also Defined At:
| Interface | Object |

o rebuildAliases

Synopsis:
Entity rebuildAliases

Type: Method          Returns: Object

o setNameTo:

Synopsis:
Entity setNameTo: string

Description:

Updates the value of the recipient's 'name' property with string

Type: Method          Returns: Entity

Parameters:

1 - String

o setNumericCodeTo:

Synopsis:
Entity setNumericCodeTo: ordinal

Description:

Updates the value of the recipient's 'numericCode' property with string or number. Used as an alternative identification scheme.

Type: Method          Returns: Entity

Parameters:

1 - Ordinal

o setShortNameTo:

Synopsis:
Entity setShortNameTo: string

Description:

Updates the value of the recipient's 'shortName' property with string.

Type: Method          Returns: Entity

Parameters:

1 - String

o setSortCodeTo:

Synopsis:
Entity setSortCodeTo: ordinal

Description:

Updates the value of the recipient's 'sortCode' property with string or number. Used as an alternative identification scheme.

Type: Method          Returns: Entity

Parameters:

1 - Ordinal

o setXRefIn:to:

Synopsis:
Entity setXRefIn: dictionary to: string

Type: Method          Returns: Object

o shortName

Synopsis:
Entity shortName

Description:

Returns descriptive shortName for recipient.

Type: FixedProperty          Returns: String

o sortCode

Synopsis:
Entity sortCode

Description:

Returns descriptive sortCode for recipient.

Type: FixedProperty          Returns: String

o specializeAs:at:

Synopsis:
Entity specializeAs: string at: object

Description:

Creates a subclass of recipient named by supplied string. The name is defined at the supplied object. Note that this class is NOT installed in the Schema database by default

Type: Method          Returns: Object

Also Defined At:
| Object |

o updateInitializationListWith:

Synopsis:
Entity updateInitializationListWith: block

Description:

Adds the supplied block to the recipient class' initializationList.

Type: Method          Returns: Entity

Parameters:

1 - Block

o validateInputString:

Synopsis:
Entity validateInputString: input

Description:

Returns the object in the recipient's classs associated with the supplied string, using the recipient's class naming dictionary.

Type: Method          Returns: Object

Also Defined At:
| Object |

o whatAmI

Synopsis:
Entity whatAmI

Description:

Return the string "Entity".

Type: Constant          Returns: String

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | IndexedList | Interface | List | Number | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

Related Topics