Vision Messages: Currency

| Home | Currency Class | Message XRef | Messages (General) |

Profile of Class Currency


Includes Classes: Currency, Entity



Object
  | 
Entity
  | 
  +--- Currency



Message Index

o XRef (Entity)
o XRef (Currency)
o accessExpression
o addAlias: string
o addAlias: string toXRefIn: dictionary
o aliases
o asCurrency
o asSelf (Entity)
o asSelf (Currency)
o classDescriptor (Entity)
o classDescriptor (Currency)
o cleanupClassStructures
o cleanupLocalNames
o clearDefault
o clusterStrings
o createInitializationListFrom: blockList
o createNewXRefManager
o createPrivateStructure
o createXRef: id withProperty: propertyId
o defaultInstance (Entity)
o defaultInstance (Currency)
o deleteAlias: aliasList
o displayGlobalOverride
o displayInfo
o displayLabel
o displayLabelKey
o displayXRefAuditReport
o evaluate: aBlock
o exchangeTo: targetCurr relativeTo: date
o getOrCreate: string
o getRecordForUser: userName
o helpMessage
o initializationList
o initialize (Entity)
o initialize (Currency)
o initializeDataBaseLinks
o initializeGlobalInstanceProperties
o initializeGlobalSubclassProperties
o initializeLocalAttributes
o isCanadian
o isCurrency
o isEntity
o isTrueCurrency
o isUS
o isUSA
o loadFromFile: file
o loadValuesFor: item as: type fromFile: file
o locateId: string
o locateIds: string
o masterListCodes
o name
o named (Entity)
o named (Currency)
o newAs: string
o numericCode
o print
o print: anInteger
o profile
o rebuildAliases
o setAsDefault
o setNameTo: string
o setNumericCodeTo: ordinal
o setShortNameTo: string
o setSortCodeTo: ordinal
o setUnderlyingCurrencyTo: curr withExchange: exch
o setXRefIn: dictionary to: string
o shortName
o sortCode
o specializeAs: string at: object
o underlyingCurrency
o underlyingExchange
o updateInitializationListWith: block
o usExchange
o validateInputString: input
o whatAmI (Entity)
o whatAmI (Currency)


Messages

o XRef

Synopsis:
Entity XRef

Type: Constant          Returns: XRef

Also Defined At:
| Currency |

o XRef

Synopsis:
Currency XRef

Type: Constant          Returns: Currency XRef

Also Defined At:
| Entity |

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 asCurrency

Synopsis:
Currency asCurrency

Description:

Converts recipient into a Currency.

Type: Method          Returns: Object

Also Defined At:
| String | Undefined |

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 asSelf

Synopsis:
Currency asSelf

Description:

Returns the original object, stripped of extensions.

Type: Primitive          Returns: Object

Also Defined At:
| Block | Boolean | Classification | Collection | Date | DateOffset | DateRange | Dictionary | Entity | 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 classDescriptor

Synopsis:
Currency classDescriptor

Description:

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

Type: Constant          Returns: Schema ClassDescriptor

Also Defined At:
| Block | Boolean | Classification | Collection | Date | DateOffset | DateRange | Dictionary | Entity | 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 clearDefault

Synopsis:
Currency clearDefault

Type: Method          Returns: 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 defaultInstance

Synopsis:
Currency defaultInstance

Description:

Returns the default instance for the recipient's class.

Type: Constant          Returns: Currency

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

o deleteAlias:

Synopsis:
Entity deleteAlias: aliasList

Type: Method          Returns: Object

o displayGlobalOverride

Synopsis:
Currency displayGlobalOverride

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 evaluate:

Synopsis:
Currency evaluate: aBlock

Description:

Evaluates all statements in the block for each date in the Date Range. Each Date in the Date Range becomes the default inside the block (changing the value of the 'magic word' ^date).

Type: Method          Returns: Object

Also Defined At:
| Date | DateOffset | DateRange |

o exchangeTo:relativeTo:

Synopsis:
Currency exchangeTo: targetCurr relativeTo: date

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 initialize

Synopsis:
Currency initialize

Description:

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

Type: Method          Returns: Object

Also Defined At:
| Dictionary | Entity |

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 isCanadian

Synopsis:
Currency isCanadian

Type: Method          Returns: Object

o isCurrency

Synopsis:
Currency isCurrency

Type: Constant          Returns: TRUE

Also Defined At:
| 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 isTrueCurrency

Synopsis:
Currency isTrueCurrency

Type: Method          Returns: Object

o isUS

Synopsis:
Currency isUS

Type: Method          Returns: Object

o isUSA

Synopsis:
Currency isUSA

Type: Method          Returns: 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 named

Synopsis:
Currency named

Description:

Returns the naming dictionary for the recipient's class.

Type: Constant          Returns: Named

Also Defined At:
| Classification | Entity |

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 setAsDefault

Synopsis:
Currency setAsDefault

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 setUnderlyingCurrencyTo:withExchange:

Synopsis:
Currency setUnderlyingCurrencyTo: curr withExchange: exch

Type: Method          Returns: Object

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 underlyingCurrency

Synopsis:
Currency underlyingCurrency

Type: FixedProperty          Returns: Object

o underlyingExchange

Synopsis:
Currency underlyingExchange

Type: FixedProperty          Returns: 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 usExchange

Synopsis:
Currency usExchange

Type: TimeSeriesProperty          Returns: Object

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 |

o whatAmI

Synopsis:
Currency whatAmI

Description:

Returns the name of the recipient's class.

Type: Constant          Returns: String

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