Vision Messages: DataRecord
Profile of Class DataRecord
Includes Classes: DataRecord, DivRecord, PriceRecord
Object | +--- DataRecord | | | +--- DivRecord | | | +--- PriceRecord
This abstract class is used to define subclasses that manage subsets of data about a specific entity so that data can be organized into manageable units.
Message Index
_ask (PriceRecord)
_bid (PriceRecord)
_div (DivRecord)
_high (PriceRecord)
_low (PriceRecord)
_open (PriceRecord)
_price (PriceRecord)
_volume (PriceRecord)
addDiv: div asOf: date inCurrency: curr for: security (DivRecord)
adjustmentDate (DataRecord)
adjustmentFactor (DataRecord)
asSelf (DataRecord)
asSelf (DivRecord)
asSelf (PriceRecord)
ask (PriceRecord)
bid (PriceRecord)
classDescriptor (DataRecord)
classDescriptor (DivRecord)
classDescriptor (PriceRecord)
cleanupClassStructures (DataRecord)
currency (DataRecord)
currencyFactor (DataRecord)
currentStore (DataRecord)
currentStore (DivRecord)
currentStore (PriceRecord)
date (DataRecord)
defaultInstance (DataRecord)
defaultInstance (DivRecord)
defaultInstance (PriceRecord)
displayInfo (DataRecord)
div (DivRecord)
entity (DataRecord)
getAllInstances (DataRecord)
getCurrentInstances (DataRecord)
getNewPrototype (DataRecord)
high (PriceRecord)
initializeGlobalSubclassProperties (DataRecord)
initializeKeys: keys (DataRecord)
initializeLocalAttributes (DataRecord)
isDataRecord (DataRecord)
isDivRecord (DivRecord)
isPriceRecord (PriceRecord)
low (PriceRecord)
open (PriceRecord)
paymentDate (DivRecord)
price (PriceRecord)
print (DataRecord)
print (DivRecord)
print (PriceRecord)
print: format (DataRecord)
print: format (DivRecord)
print: format (PriceRecord)
purgeRecordAndLink (DataRecord)
recordDate (DataRecord)
recordValue (DataRecord)
security (DivRecord)
security (PriceRecord)
setAdjustmentDateTo: date (DataRecord)
setAskTo: value (PriceRecord)
setBidTo: value (PriceRecord)
setDividendTo: div (DivRecord)
setHighTo: value (PriceRecord)
setLowTo: value (PriceRecord)
setOpenTo: value (PriceRecord)
setPaymentDateTo: date (DivRecord)
setPriceTo: price (PriceRecord)
setUpdateBlockTo: aBlock (DataRecord)
setVolumeTo: vol (PriceRecord)
storeXRef (DataRecord)
storeXRef (DivRecord)
storeXRef (PriceRecord)
updateBlock (DataRecord)
volume (PriceRecord)
whatAmI (DataRecord)
whatAmI (DivRecord)
whatAmI (PriceRecord)
Messages
Synopsis:PriceRecord _askDescription:
Asking price of 'security' on 'date' in 'baseCurrency' of recipient unadjusted for splits since 'adjustmentDate'.Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
_bid
Synopsis:PriceRecord _bidDescription:
Bid price of 'security' on 'date' in 'baseCurrency' of recipient unadjusted for splits since 'adjustmentDate'.Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
_div
Synopsis:DivRecord _divDescription:
Same as 'recordValue'. Total cash dividend paid by 'security' on 'date' in record's 'baseCurrency' unadjusted for splits since 'adjustmentDate'.Type: Method          Function: Data          Level: Basic
Returns: Number
_high
Synopsis:PriceRecord _highDescription:
High price of 'security' on 'date' in 'baseCurrency' of recipient unadjusted for splits since 'adjustmentDate'.Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
_low
Synopsis:PriceRecord _lowDescription:
Low price of 'security' on 'date' in 'baseCurrency' of recipient unadjusted for splits since 'adjustmentDate'.Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
_open
Synopsis:PriceRecord _openDescription:
Opening price of 'security' on 'date' in 'baseCurrency' of recipient unadjusted for splits since 'adjustmentDate'.Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
_price
Synopsis:PriceRecord _priceDescription:
Same as 'recordValue'. Closing price of 'security' on 'date' in 'baseCurrency' of recipient unadjusted for splits since 'adjustmentDate'.Type: Method          Function: Data          Level: Basic
Returns: Number
_volume
Synopsis:PriceRecord _volumeDescription:
Trading volume of 'security' on 'date' unadjusted for splits since 'adjustmentDate'.Type: FixedProperty          Function: Data          Level: Basic
Returns: Number
addDiv:asOf:inCurrency:for:
Synopsis:DivRecord addDiv: div asOf: date inCurrency: curr for: securityDescription:
Adds a new DivRecord for supplied security on supplied date if needed, then refreshes its 'recordValue' and 'baseCurrency' with supplied dividend and currency.Type: Method          Function: Update          Level: DBA
Returns: DivRecord
Parameters:
1 - Number
2 - Date
3 - Currency
4 - Security
adjustmentDate
Synopsis:DataRecord adjustmentDateDescription:
Date through which data in recipient is adjusted. By default, this is the same as the 'recordDate'.Type: FixedProperty          Function: Data          Level: Basic
Returns: Date
adjustmentFactor
Synopsis:DataRecord adjustmentFactorDescription:
Factor to adjust data in recipient for splits that have occurred since 'adjustmentDate'. By default, this value is 1.0.Type: Method          Function: Data          Level: Basic
Returns: Number
asSelf
Synopsis:DataRecord asSelfDescription:
Recipient stripped of any extensions.Type: Primitive          Function: Conversion          Level: Basic
Returns: DataRecord
asSelf
Synopsis:DivRecord asSelfDescription:
recipient object, stripped of any extensions.Type: Primitive          Function: Conversion          Level: Basic
Returns: DivRecord
asSelf
Synopsis:PriceRecord asSelfDescription:
recipient object, stripped of any extensions.Type: Primitive          Function: Conversion          Level: Basic
Returns: PriceRecord
ask
Synopsis:PriceRecord askDescription:
Asking price, adjusted for splits in current currency associated with security.Type: Method          Function: Data          Level: Basic
Returns: Number
bid
Synopsis:PriceRecord bidDescription:
Bid price, adjusted for splits in current currency associated with security.Type: Method          Function: Data          Level: Basic
Returns: Number
classDescriptor
Synopsis:DataRecord classDescriptorDescription:
Class descriptor for recipient's class.Type: Constant          Function: Schema          Level: Basic
Returns: Schema ClassDescriptor
classDescriptor
Synopsis:DivRecord classDescriptorDescription:
Class descriptor for recipient's class.Type: Constant          Function: Schema          Level: Basic
Returns: Schema ClassDescriptor
classDescriptor
Synopsis:PriceRecord classDescriptorDescription:
Class descriptor for recipient's class.Type: Constant          Function: Schema          Level: Basic
Returns: Schema ClassDescriptor
cleanupClassStructures
Synopsis:DataRecord cleanupClassStructuresDescription:
Runs 'cleanStoreAndDictionary' at Object, this method is redefined as needed by subclasses to perform general cleanup functions.Type: Method          Function: DBAdmin          Level: DBA
Returns: NoValue
currency
Synopsis:DataRecord currencyDescription:
Currency of related entity. This is the 'baseCurrency' of the entity by default, unless a currency override is in effect.Type: Method          Function: Data          Level: Basic
Returns: Currency
currencyFactor
Synopsis:DataRecord currencyFactorDescription:
Factor to convert monetary values in recpient to the current 'currency'Type: Method          Function: Data          Level: Basic
Returns: Number
currentStore
Synopsis:DataRecord currentStoreDescription:
Current physical store used to instatiate new instances.Type: Constant          Function: Update          Level: DBA
Returns: DataRecord
currentStore
Synopsis:DivRecord currentStoreDescription:
Current physical store used to instatiate new instances.Type: Constant          Function: Update          Level: DBA
Returns: DivRecord
currentStore
Synopsis:PriceRecord currentStoreDescription:
Current physical store used to instatiate new instances.Type: Constant          Function: Update          Level: DBA
Returns: PriceRecord
date
Synopsis:DataRecord dateDescription:
Date for which data in recipient applies (same as 'recordDate')Type: Method          Function: Data          Level: Basic
Returns: Date
defaultInstance
Synopsis:DataRecord defaultInstanceDescription:
Default DataRecord instance.Type: Constant          Function: Schema          Level: Basic
Returns: DataRecord
defaultInstance
Synopsis:DivRecord defaultInstanceDescription:
Default DivRecord instance.Type: Constant          Function: Schema          Level: Basic
Returns: DivRecord
defaultInstance
Synopsis:PriceRecord defaultInstanceDescription:
Default PriceRecord instance.Type: Constant          Function: Schema          Level: Basic
Returns: PriceRecord
displayInfo
Synopsis:DataRecord displayInfoDescription:
Displays a single line summary of recipient terminated with a new line.Type: Method          Function: Display          Level: Basic
Returns: NoValue
div
Synopsis:DivRecord divDescription:
Total dividends paid for security on date adjusted for splits in current currency associated with security.Type: Method          Function: Data          Level: Basic
Returns: Number
entity
Synopsis:DataRecord entityDescription:
Entity with which the recpient is associated.Type: FixedProperty          Function: Data          Level: Basic
Returns: Entity
getAllInstances
Synopsis:DataRecord getAllInstancesDescription:
List of all instances in all stores of recipient's class.Type: Method          Function: Access          Level: Advanced
Returns: List of DataRecord
getCurrentInstances
Synopsis:DataRecord getCurrentInstancesDescription:
List of all instances in recipient's 'currentStore'.Type: Method          Function: Access          Level: Advanced
Returns: List of DataRecord
getNewPrototype
Synopsis:DataRecord getNewPrototypeDescription:
Creates new physical store for recipient's class.Type: Method          Function: Schema          Level: DBA
Returns: DataRecord
high
Synopsis:PriceRecord highDescription:
High price, adjusted for splits in current currency associated with security.Type: Method          Function: Data          Level: Basic
Returns: Number
initializeGlobalSubclassProperties
Synopsis:DataRecord 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: DBA
Returns: DataRecord
initializeKeys:
Synopsis:DataRecord initializeKeys: keysDescription:
Initializes new instance with supplied key values. Up to four values should be supplied as a list: entity, date, value, and currency. These values will be used to update the 'entity', 'recordDate', 'recordValue', and 'baseCurrency' properties in the recipient.Type: Method          Function: Creation          Level: DBA
Returns: DataRecord
Parameters:
1 - List
initializeLocalAttributes
Synopsis:DataRecord initializeLocalAttributesDescription:
Iniitializes new instances. This method runs the general initializations defined for all objects followed by initializations defined for the recipient's class.Type: Method          Function: Creation          Level: DBA
Returns: DataRecord
isDataRecord
Synopsis:DataRecord isDataRecordDescription:
Returns the value TRUE.Type: Constant          Function: Inquiry          Level: Basic
Returns: TRUE
isDivRecord
Synopsis:DivRecord isDivRecordDescription:
Returns the value TRUE.Type: Constant          Function: Inquiry          Level: Basic
Returns: TRUE
isPriceRecord
Synopsis:PriceRecord isPriceRecordDescription:
Returns the value TRUE.Type: Constant          Function: Inquiry          Level: Basic
Returns: TRUE
low
Synopsis:PriceRecord lowDescription:
Low price, adjusted for splits in current currency associated with security.Type: Method          Function: Data          Level: Basic
Returns: Number
open
Synopsis:PriceRecord openDescription:
Opening price, adjusted for splits in current currency associated with security.Type: Method          Function: Data          Level: Basic
Returns: Number
paymentDate
Synopsis:DivRecord paymentDateDescription:
Payment date for dividendType: FixedProperty          Function: Data          Level: Basic
Returns: Date
price
Synopsis:PriceRecord priceDescription:
Closing price, adjusted for splits in current currency associated with security.Type: Method          Function: Data          Level: Basic
Returns: Number
print
Synopsis:DataRecord printDescription:
Prints the recipient's 'recordValue' if non-NA; otherwise, the recipient's class name is printed.Type: Method          Function: Display          Level: Basic
Returns: DataRecord
print
Synopsis:DivRecord printDescription:
Prints the total dividend, by default.Type: Method          Function: Display          Level: Basic
Returns: DivRecord
print
Synopsis:PriceRecord printDescription:
Prints the closing price, by default.Type: Method          Function: Display          Level: Basic
Returns: PriceRecord
print:
Synopsis:DataRecord print: formatDescription:
Prints recipient using supplied format.Type: Method          Function: Display          Level: Basic
Returns: DataRecord
Parameters:
1 - Number
print:
Synopsis:DivRecord print: formatDescription:
Prints the dividend using supplied format.Type: Method          Function: Display          Level: Basic
Returns: DivRecord
Parameters:
1 - Number
print:
Synopsis:PriceRecord print: formatDescription:
Prints closing price using supplied format.Type: Method          Function: Display          Level: Basic
Returns: PriceRecord
Parameters:
1 - Number
purgeRecordAndLink
Synopsis:DataRecord purgeRecordAndLinkDescription:
Deletes the recipient after severing its relationship with its underlying entity.Type: Method          Function: Update          Level: DBA
Returns: NoValue
recordDate
Synopsis:DataRecord recordDateDescription:
Date for which data in recipient applies.Type: FixedProperty          Function: Data          Level: Basic
Returns: Date
recordValue
Synopsis:DataRecord recordValueDescription:
Property used to record 'primary' data value in record, if appropriate. This is the value that will print by default.Type: FixedProperty          Function: Data          Level: Basic
Returns: Object
security
Synopsis:DivRecord securityDescription:
Same as 'entity'. Security associated with recipient.Type: Method          Function: Data          Level: Basic
Returns: Security
security
Synopsis:PriceRecord securityDescription:
Same as 'entity'. Security associated with recipient.Type: Method          Function: Data          Level: Basic
Returns: Security
setAdjustmentDateTo:
Synopsis:DataRecord setAdjustmentDateTo: dateDescription:
Updates the 'adjustmentDate' to indicate that data in the recpient has been adjusted through a date that is different from the record date.Type: Method          Function: Update          Level: DBA
Returns: DataRecord
Parameters:
1 - Date
setAskTo:
Synopsis:PriceRecord setAskTo: valueDescription:
Set/reset ask value in recipient.Type: Method          Function: Update          Level: DBA
Returns: PriceRecord
Parameters:
1 - Number
setBidTo:
Synopsis:PriceRecord setBidTo: valueDescription:
Set/reset bid value in recipient.Type: Method          Function: Update          Level: DBA
Returns: PriceRecord
Parameters:
1 - Number
setDividendTo:
Synopsis:DivRecord setDividendTo: divDescription:
Set/reset value of dividend in recipient.Type: Method          Function: Update          Level: DBA
Returns: DivRecord
Parameters:
1 - Number
setHighTo:
Synopsis:PriceRecord setHighTo: valueDescription:
Set/reset high value in recipient.Type: Method          Function: Update          Level: DBA
Returns: PriceRecord
Parameters:
1 - Number
setLowTo:
Synopsis:PriceRecord setLowTo: valueDescription:
Set/reset low value in recipient.Type: Method          Function: Update          Level: DBA
Returns: PriceRecord
Parameters:
1 - Number
setOpenTo:
Synopsis:PriceRecord setOpenTo: valueDescription:
Set/reset open value in recipient.Type: Method          Function: Update          Level: DBA
Returns: PriceRecord
Parameters:
1 - Number
setPaymentDateTo:
Synopsis:DivRecord setPaymentDateTo: dateDescription:
Set/reset value of payment date in recipient.Type: Method          Function: Update          Level: DBA
Returns: DivRecord
Parameters:
1 - Date
setPriceTo:
Synopsis:PriceRecord setPriceTo: priceDescription:
Set/reset closing price in recipient.Type: Method          Function: Update          Level: DBA
Returns: PriceRecord
Parameters:
1 - Number
setUpdateBlockTo:
Synopsis:DataRecord setUpdateBlockTo: aBlockDescription:
Defines the block to use to access the property at the underlying entity's class for update.Type: Method          Function: Schema          Level: DBA
Returns: DataRecord
Parameters:
1 - Block
setVolumeTo:
Synopsis:PriceRecord setVolumeTo: volDescription:
Set/reset volume in recipient.Type: Method          Function: Update          Level: DBA
Returns: PriceRecord
Parameters:
1 - Number
storeXRef
Synopsis:DataRecord storeXRefDescription:
List of physical storage structures created for recipient's class.Type: Constant          Function: DBAdmin          Level: DBA
Returns: List of DataRecord
storeXRef
Synopsis:DivRecord storeXRefDescription:
List of physical storage structures created for recipient's class.Type: Constant          Function: Schema          Level: DBA
Returns: List of DivRecord
storeXRef
Synopsis:PriceRecord storeXRefDescription:
List of physical storage structures created for recipient's class.Type: Constant          Function: Schema          Level: DBA
Returns: List of PriceRecord
updateBlock
Synopsis:DataRecord updateBlockDescription:
Block used to access the property at the underlying entity's class for update.Type: Constant          Function: DBAdmin          Level: DBA
Returns: Block
volume
Synopsis:PriceRecord volumeDescription:
Volume, adjusted for splits.Type: Method          Function: Data          Level: Basic
Returns: Number
whatAmI
Synopsis:DataRecord whatAmIDescription:
Returns name of recipient's class.Type: Constant          Function: Schema          Level: Basic
Returns: String
whatAmI
Synopsis:DivRecord whatAmIDescription:
Returns name of recipient's class.Type: Constant          Function: Schema          Level: Basic
Returns: String
whatAmI
Synopsis:PriceRecord whatAmIDescription:
Returns name of recipient's class.Type: Constant          Function: Schema          Level: Basic
Returns: String