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:Holding _accountingPriceDescription:
Actual price supplied to compute market value.Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
_shares
Synopsis:Holding _sharesDescription:
Actual shares held by account in security on date.Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
_totalCost
Synopsis:Holding _totalCostDescription:
Cost of shares held by account in security on date (in baseCurrency of account).Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
_totalMarketValue
Synopsis:Holding _totalMarketValueDescription:
Market value of shares held by account in security on date (in baseCurrency of account).Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
account
Synopsis:Holding accountDescription:
Account represented by holding.Type: FixedProperty          Function: Data          Level: Basic
Returns: Account
account
Synopsis:CompositeAccount Component accountDescription:
Account object represented by componentType: FixedProperty          Function: Data          Level: Basic
Returns: Account
accountingPrice
Synopsis:Holding accountingPriceDescription:
Price supplied to compute market value (adjusted for splits and currency override).Type: Method          Function: Data          Level: Basic
Returns: Number
addKeyOfType:
Synopsis:LinkRecord 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
adjustmentFactor
Synopsis:Holding adjustmentFactorDescription:
Split adjustment factor since date.Type: Method          Function: Data          Level: Basic
Returns: Number
asSelf
Synopsis:LinkRecord asSelfDescription:
Recipient stripped of any extensions.Type: Primitive          Function: Conversion          Level: Basic
Returns: LinkRecord
asSelf
Synopsis:Holding asSelfDescription:
Recipient stripped of any extensions.Type: Primitive          Function: Conversion          Level: Basic
Returns: Holding
asSelf
Synopsis:CompositeAccount Component asSelfDescription:
Recipient stripped of any extensions.Type: Primitive          Function: Conversion          Level: Basic
Returns: CompositeAccount Component
classDescriptor
Synopsis:LinkRecord classDescriptorDescription:
Class descriptor for recipient's class.Type: Constant          Function: Schema          Level: Basic
Returns: Schema ClassDescriptor
classDescriptor
Synopsis:Holding classDescriptorDescription:
Class descriptor for recipient's class.Type: Constant          Function: Schema          Level: Basic
Returns: Schema ClassDescriptor
classDescriptor
Synopsis:CompositeAccount Component classDescriptorDescription:
Class descriptor for recipient's class.Type: Constant          Function: Schema          Level: Basic
Returns: Schema ClassDescriptor
cleanupClassStructures
Synopsis:Holding cleanupClassStructuresDescription:
Aligns complex structures. This method is invoked as part of a production cleanup process.Type: Method          Function: DBAdmin          Level: DBA
Returns: NoValue
compositeAccount
Synopsis:CompositeAccount Component compositeAccountDescription:
CompositeAccount object represented by componentType: FixedProperty          Function: Data          Level: Basic
Returns: CompositeAccount
createInSecurity:andAccount:
Synopsis: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
createNewStoreAsOf:
Synopsis: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
createNewStoreAsOf:at:
Synopsis:Holding 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
currencyFactor
Synopsis:Holding currencyFactorDescription:
Factor to convert monetary values in recpient to the current 'currency'Type: Method          Function: Data          Level: Basic
Returns: Number
date
Synopsis:Holding dateDescription:
Date represented by holding.Type: FixedProperty          Function: Data          Level: Basic
Returns: Date
date
Synopsis:CompositeAccount 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
defaultInstance
Synopsis:LinkRecord defaultInstanceDescription:
Returns the default LinkRecord instance.Type: Constant          Function: Schema          Level: Basic
Returns: LinkRecord
defaultInstance
Synopsis:Holding defaultInstanceDescription:
Returns the default Holding instance.Type: Constant          Function: Schema          Level: Basic
Returns: Holding
defaultInstance
Synopsis:CompositeAccount Component defaultInstanceDescription:
Returns the default CompositeAccount Component instance.Type: Constant          Function: Schema          Level: Basic
Returns: CompositeAccount Component
displayInfo
Synopsis:LinkRecord displayInfoDescription:
Displays a single line summary of the object terminated with a new line.Type: Method          Function: Display          Level: Basic
Returns: NoValue
getKeyValues
Synopsis:LinkRecord getKeyValuesDescription:
Returns list of values for the recipient's 'key' properties.Type: Method          Function: Data          Level: Basic
Returns: List of Object
id
Synopsis:Holding idDescription:
Formatted string containing securityId---accountId.Type: Method          Function: Format          Level: Basic
Returns: String
initializeCashFrom:
Synopsis: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
initializeFrom:
Synopsis:Holding 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
initializeGlobalSubclassProperties
Synopsis: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
initializeKeys:
Synopsis:LinkRecord initializeKeys: keysDescription:
This method is run as part of the 'createInstance:' process.Type: Method          Function: Creation          Level: Basic
Returns: LinkRecord
Parameters:
1 - List
initializeKeys:
Synopsis:Holding 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
isComponent
Synopsis:CompositeAccount Component isComponentDescription:
Returns the value TRUE.Type: Constant          Function: Inquiry          Level: Basic
Returns: TRUE
isHolding
Synopsis:Holding isHoldingDescription:
Returns the value TRUE.Type: Constant          Function: Inquiry          Level: Basic
Returns: TRUE
isLinkRecord
Synopsis:LinkRecord isLinkRecordDescription:
Returns the value TRUE.Type: Constant          Function: Inquiry          Level: Basic
Returns: TRUE
keyList
Synopsis:LinkRecord keyListDescription:
List of 'key' types defined for recipient's class.Type: Constant          Function: Schema          Level: DBA
Returns: List of Object
keyList
Synopsis:Holding keyListDescription:
Returns the list: Security, Account, Date - the keys for the Holding class.Type: Constant          Function: Schema          Level: DBA
Returns: List of Object
keyList
Synopsis:CompositeAccount 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
percentOfEquity
Synopsis:Holding percentOfEquityDescription:
Percent of equity portion of account represented by recipient on recipient's 'date'.Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
percentOfPort
Synopsis:Holding percentOfPortDescription:
Percent of account's market value represented by recipient on recipient's 'date'.Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
print
Synopsis:LinkRecord printDescription:
Prints the recipient's keys.Type: Method          Function: Display          Level: Basic
Returns: LinkRecord
profile
Synopsis:LinkRecord profileDescription:
Displays a multi-line description of the recipient.Type: Method          Function: Display          Level: Basic
Returns: NoValue
security
Synopsis:Holding securityDescription:
Security represented by holding.Type: FixedProperty          Function: Data          Level: Basic
Returns: Security
shares
Synopsis:Holding 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
storeXRef
Synopsis:Holding storeXRefDescription:
TimeSeries of physical storage structures created for recipient's class.Type: Constant          Function: DBAdmin          Level: DBA
Returns: TimeSeries of Holding
totalCost
Synopsis:Holding totalCostDescription:
Cost of shares held (adjusted for currency override).Type: Method          Function: Data          Level: Basic
Returns: Number
totalMarketValue
Synopsis:Holding totalMarketValueDescription:
Market value of shares held (adjusted for currency override).Type: Method          Function: Data          Level: Basic
Returns: Number
updateBlocks
Synopsis:LinkRecord 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
updateBlocks
Synopsis:Holding 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
updateBlocks
Synopsis:CompositeAccount 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
weight
Synopsis:CompositeAccount Component weightDescription:
Weight to use when accessing holdings for account object represented by componentType: FixedProperty          Function: Data          Level: Basic
Returns: Number
whatAmI
Synopsis:LinkRecord whatAmIDescription:
Returns the string "LinkRecord".Type: Constant          Function: Schema          Level: Basic
Returns: String
whatAmI
Synopsis:Holding whatAmIDescription:
Returns the string "Holding".Type: Constant          Function: Schema          Level: Basic
Returns: String
whatAmI
Synopsis:CompositeAccount Component whatAmIDescription:
Returns the string "CompositeAccount Component".Type: Constant          Function: Schema          Level: Basic
Returns: String