Vision Messages: LinkRecord
Profile of Class LinkRecord
Includes Classes: CompositeAccount Component, Holding, LinkRecord
Object | +--- LinkRecord | | | +--- CompositeAccount Component | | | +--- Holding
This abstract class is used to define subclasses that symmetrically related two or more entities to other data.
Message Index
_accountingPrice (Holding)
_shares (Holding)
_totalCost (Holding)
_totalMarketValue (Holding)
account (Holding)
account (CompositeAccount Component)
accountingPrice (Holding)
addKeyOfType: type (LinkRecord)
adjustmentFactor (Holding)
asSelf (LinkRecord)
asSelf (Holding)
asSelf (CompositeAccount Component)
classDescriptor (LinkRecord)
classDescriptor (Holding)
classDescriptor (CompositeAccount Component)
cleanupClassStructures (Holding)
compositeAccount (CompositeAccount Component)
createInSecurity: sec andAccount: port (Holding)
createNewStoreAsOf: date (Holding)
createNewStoreAsOf: date at: ospace (Holding)
currencyFactor (Holding)
date (Holding)
date (CompositeAccount Component)
defaultInstance (LinkRecord)
defaultInstance (Holding)
defaultInstance (CompositeAccount Component)
displayInfo (LinkRecord)
getKeyValues (LinkRecord)
id (Holding)
initializeCashFrom: list (Holding)
initializeFrom: list (Holding)
initializeGlobalSubclassProperties (LinkRecord)
initializeKeys: keys (LinkRecord)
initializeKeys: keys (Holding)
isComponent (CompositeAccount Component)
isHolding (Holding)
isLinkRecord (LinkRecord)
keyList (LinkRecord)
keyList (Holding)
keyList (CompositeAccount Component)
percentOfEquity (Holding)
percentOfPort (Holding)
print (LinkRecord)
profile (LinkRecord)
security (Holding)
shares (Holding)
storeXRef (Holding)
totalCost (Holding)
totalMarketValue (Holding)
updateBlocks (LinkRecord)
updateBlocks (Holding)
updateBlocks (CompositeAccount Component)
weight (CompositeAccount Component)
whatAmI (LinkRecord)
whatAmI (Holding)
whatAmI (CompositeAccount Component)
Messages
Synopsis:_sharesHolding _accountingPriceDescription:
Actual price supplied to compute market value.Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
Synopsis:_totalCostHolding _sharesDescription:
Actual shares held by account in security on date.Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
Synopsis:_totalMarketValueHolding _totalCostDescription:
Cost of shares held by account in security on date (in baseCurrency of account).Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
Synopsis:accountHolding _totalMarketValueDescription:
Market value of shares held by account in security on date (in baseCurrency of account).Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
Synopsis:accountHolding accountDescription:
Account represented by holding.Type: FixedProperty          Function: Data          Level: Basic
Returns: Account
Synopsis:accountingPriceCompositeAccount Component accountDescription:
Account object represented by componentType: FixedProperty          Function: Data          Level: Basic
Returns: Account
Synopsis:addKeyOfType:Holding accountingPriceDescription:
Price supplied to compute market value (adjusted for splits and currency override).Type: Method          Function: Data          Level: Basic
Returns: Number
Synopsis:adjustmentFactorLinkRecord addKeyOfType: typeDescription:
Adds supplied object to 'keyList' and defines a fixed property for recipient's class using this object's whatAmI (initial letter is lowercase) if it does not already exist. If defined, the property will return the supplied object by default.Type: Method          Function: Schema          Level: DBA
Returns: LinkRecord
Parameters:
1 - Object
Synopsis:asSelfHolding adjustmentFactorDescription:
Split adjustment factor since date.Type: Method          Function: Data          Level: Basic
Returns: Number
Synopsis:asSelfLinkRecord asSelfDescription:
Recipient stripped of any extensions.Type: Primitive          Function: Conversion          Level: Basic
Returns: LinkRecord
Synopsis:asSelfHolding asSelfDescription:
Recipient stripped of any extensions.Type: Primitive          Function: Conversion          Level: Basic
Returns: Holding
Synopsis:classDescriptorCompositeAccount Component asSelfDescription:
Recipient stripped of any extensions.Type: Primitive          Function: Conversion          Level: Basic
Returns: CompositeAccount Component
Synopsis:classDescriptorLinkRecord classDescriptorDescription:
Class descriptor for recipient's class.Type: Constant          Function: Schema          Level: Basic
Returns: Schema ClassDescriptor
Synopsis:classDescriptorHolding classDescriptorDescription:
Class descriptor for recipient's class.Type: Constant          Function: Schema          Level: Basic
Returns: Schema ClassDescriptor
Synopsis:cleanupClassStructuresCompositeAccount Component classDescriptorDescription:
Class descriptor for recipient's class.Type: Constant          Function: Schema          Level: Basic
Returns: Schema ClassDescriptor
Synopsis:compositeAccountHolding cleanupClassStructuresDescription:
Aligns complex structures. This method is invoked as part of a production cleanup process.Type: Method          Function: DBAdmin          Level: DBA
Returns: NoValue
Synopsis:createInSecurity:andAccount:CompositeAccount Component compositeAccountDescription:
CompositeAccount object represented by componentType: FixedProperty          Function: Data          Level: Basic
Returns: CompositeAccount
Synopsis:createNewStoreAsOf:Holding createInSecurity: sec andAccount: portDescription:
Creates a new Holding and initializes 'security' and 'account' properties with supplied values.Type: Method          Function: Update          Level: DBA
Returns: Holding
Parameters:
1 - Security
2 - Account
Synopsis:createNewStoreAsOf:at:Holding createNewStoreAsOf: dateDescription:
Creates new physical store for Holding instances and updates the 'storeXRef' time series as of supplied date with the new store.Type: Method          Function: DBAdmin          Level: DBA
Returns: Holding
Parameters:
1 - Date
Synopsis:currencyFactorHolding createNewStoreAsOf: date at: ospaceDescription:
Creates new physical store for Holding instances and updates the 'storeXRef' time series as of supplied date with the new store. The message 'Holding' is deifned at the supplied object to return the new store as well.Type: Method          Function: DBAdmin          Level: DBA
Returns: Holding
Parameters:
1 - Date
2 - Object
Synopsis:dateHolding currencyFactorDescription:
Factor to convert monetary values in recpient to the current 'currency'Type: Method          Function: Data          Level: Basic
Returns: Number
Synopsis:dateHolding dateDescription:
Date represented by holding.Type: FixedProperty          Function: Data          Level: Basic
Returns: Date
Synopsis:defaultInstanceCompositeAccount Component dateDescription:
Date represented by component. This date corresponds to the date in the underlying CompositeAccount's componentList on which this component is a member.Type: FixedProperty          Function: Data          Level: Basic
Returns: Date
Synopsis:defaultInstanceLinkRecord defaultInstanceDescription:
Returns the default LinkRecord instance.Type: Constant          Function: Schema          Level: Basic
Returns: LinkRecord
Synopsis:defaultInstanceHolding defaultInstanceDescription:
Returns the default Holding instance.Type: Constant          Function: Schema          Level: Basic
Returns: Holding
Synopsis:displayInfoCompositeAccount Component defaultInstanceDescription:
Returns the default CompositeAccount Component instance.Type: Constant          Function: Schema          Level: Basic
Returns: CompositeAccount Component
Synopsis:getKeyValuesLinkRecord displayInfoDescription:
Displays a single line summary of the object terminated with a new line.Type: Method          Function: Display          Level: Basic
Returns: NoValue
Synopsis:idLinkRecord getKeyValuesDescription:
Returns list of values for the recipient's 'key' properties.Type: Method          Function: Data          Level: Basic
Returns: List of Object
Synopsis:initializeCashFrom:Holding idDescription:
Formatted string containing securityId---accountId.Type: Method          Function: Format          Level: Basic
Returns: String
Synopsis:initializeFrom:Holding initializeCashFrom: listDescription:
Updates the '_totalMarketValue', '_shares', and '_totalCost' properties in recipients using the total 'totalMarketValue' of the supplied list if non-NA, otherwise using the total 'shares' of the supplied list if non-NA, otherwise using the total 'totalCost' of the supplied list. The recipient is assumed to be a holding in a cash security and the supplied is list is assumed to respond to the 'totalMarketValue', 'shares', and 'totalCost' messages.Type: Method          Function: Update          Level: DBA
Returns: Holding
Parameters:
1 - List
Synopsis:initializeGlobalSubclassPropertiesHolding initializeFrom: listDescription:
Updates the '_shares' property in recipient using the total 'shares' in supplied list, updates the '_totalMarketValue' property in recipient using the total 'totalMarketValue' in supplied list, and updates the '_totalCost' property in recipient using the total 'totalCost' in supplied list.Type: Method          Function: Update          Level: DBA
Returns: Holding
Parameters:
1 - List
Synopsis:initializeKeys:LinkRecord initializeGlobalSubclassPropertiesDescription:
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          Function: Creation          Level: Basic
Returns: LinkRecord
Synopsis:initializeKeys:LinkRecord initializeKeys: keysDescription:
This method is run as part of the 'createInstance:' process.Type: Method          Function: Creation          Level: Basic
Returns: LinkRecord
Parameters:
1 - List
Synopsis:isComponentHolding initializeKeys: keysDescription:
Initializes the recpient with values supplied in parameter. Parameter should be a list containing a Security object as its first element and an Account object as its second element. These values are used to update the 'security' and 'account' properties in recipient. The recipient's 'baseCurrency' is set to the account's base currency value and the 'date' is set to the current ^date.Type: Method          Function: Creation          Level: DBA
Returns: Holding
Parameters:
1 - List
Synopsis:isHoldingCompositeAccount Component isComponentDescription:
Returns the value TRUE.Type: Constant          Function: Inquiry          Level: Basic
Returns: TRUE
Synopsis:isLinkRecordHolding isHoldingDescription:
Returns the value TRUE.Type: Constant          Function: Inquiry          Level: Basic
Returns: TRUE
Synopsis:keyListLinkRecord isLinkRecordDescription:
Returns the value TRUE.Type: Constant          Function: Inquiry          Level: Basic
Returns: TRUE
Synopsis:keyListLinkRecord keyListDescription:
List of 'key' types defined for recipient's class.Type: Constant          Function: Schema          Level: DBA
Returns: List of Object
Synopsis:keyListHolding keyListDescription:
Returns the list: Security, Account, Date - the keys for the Holding class.Type: Constant          Function: Schema          Level: DBA
Returns: List of Object
Synopsis:percentOfEquityCompositeAccount Component keyListDescription:
Returns the list: CompositeAccount, Account, Date - the keys for the recipient's class.Type: Constant          Function: Schema          Level: DBA
Returns: List of Object
Synopsis:percentOfPortHolding percentOfEquityDescription:
Percent of equity portion of account represented by recipient on recipient's 'date'.Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
Synopsis:printHolding percentOfPortDescription:
Percent of account's market value represented by recipient on recipient's 'date'.Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
Synopsis:profileLinkRecord printDescription:
Prints the recipient's keys.Type: Method          Function: Display          Level: Basic
Returns: LinkRecord
Synopsis:securityLinkRecord profileDescription:
Displays a multi-line description of the recipient.Type: Method          Function: Display          Level: Basic
Returns: NoValue
Synopsis:sharesHolding securityDescription:
Security represented by holding.Type: FixedProperty          Function: Data          Level: Basic
Returns: Security
Synopsis:storeXRefHolding sharesDescription:
Shares (or unit amount) of recipient's 'security' held by recipient's 'account' on recipient's date, adjusted for splits.Type: Method          Function: Data          Level: Basic
Returns: Number
Synopsis:totalCostHolding storeXRefDescription:
TimeSeries of physical storage structures created for recipient's class.Type: Constant          Function: DBAdmin          Level: DBA
Returns: TimeSeries of Holding
Synopsis:totalMarketValueHolding totalCostDescription:
Cost of shares held (adjusted for currency override).Type: Method          Function: Data          Level: Basic
Returns: Number
Synopsis:updateBlocksHolding totalMarketValueDescription:
Market value of shares held (adjusted for currency override).Type: Method          Function: Data          Level: Basic
Returns: Number
Synopsis:updateBlocksLinkRecord updateBlocksDescription:
List of blocks that can be sent to recipient to retrieve value of each key.Type: Constant          Function: Schema          Level: DBA
Returns: List of Block
Synopsis:updateBlocksHolding updateBlocksDescription:
List of blocks that can be sent to recipient to retrieve value of each key (Security, Account and Date).Type: Constant          Function: Schema          Level: DBA
Returns: List of Block
Synopsis:weightCompositeAccount Component updateBlocksDescription:
List of blocks that can be sent to recipient to retrieve value of each key (CompositeAccount, Account and Date).Type: Constant          Function: Schema          Level: DBA
Returns: List of Block
Synopsis:whatAmICompositeAccount Component weightDescription:
Weight to use when accessing holdings for account object represented by componentType: FixedProperty          Function: Data          Level: Basic
Returns: Number
Synopsis:whatAmILinkRecord whatAmIDescription:
Returns the string "LinkRecord".Type: Constant          Function: Schema          Level: Basic
Returns: String
Synopsis:whatAmIHolding whatAmIDescription:
Returns the string "Holding".Type: Constant          Function: Schema          Level: Basic
Returns: String
Synopsis:CompositeAccount Component whatAmIDescription:
Returns the string "CompositeAccount Component".Type: Constant          Function: Schema          Level: Basic
Returns: String