com.nodelab.interest | ![]() |
com.nodelab.0.10189
Instance of Type
Inheriting from Calculator
This table will show the components of a YieldSwap.
Type data | Value |
org.uninode.Type.displayPattern | a {att:org.uninode.Node.type} |
org.uninode.Resource.resourceType | |
org.uninode.Resource.label | |
org.uninode.Resource.resourceOf | List{} |
org.uninode.Listable.resources | Reference[org.uninode.Listable.resources] of com.nodelab.interest.YieldSwapValues |
Attribute summary | Defined in | Uninode® Id | Properties | Default | |
Reference[org.uninode.Listable.resources] | resources | Listable | org.uninode.0.2001 | type | |
String | toString This is the display string. | Node | org.uninode.0.102 | ||
Type | type The type of an object determines the behaviour and attributes of the object. | Node | org.uninode.0.101 | ||
String | uri | Node | org.uninode.0.103 | ||
String | label | Resource | org.uninode.0.2041 | type | |
List[Type] | resourceOf | Resource | org.uninode.0.2042 | type | |
Signature | resourceType This defines the type of resource. It can be 'view', 'adapter' or 'action' | Resource | org.uninode.0.2043 | type |
Script summary |
com.nodelab.0.10390/* aBaliPluginTable tableAspect value = #yieldValues ifTrue: [ env := aBaliPluginTable display envDimensions. list := List new. curve := self dataEnvironment: env. curve isNil ifTrue: [^super setTableFor: aBaliPluginTable]. (curve isKindOf: BaliYieldCurve) ifFalse: [^super setTableFor: aBaliPluginTable]. components := curve components. components do: [:snap | secName := snap source printString. adj := self adjustments at: snap source symbol ifAbsent: nil. adj isNil ifFalse: [secName := secName , ' + ' , adj printString , ' pts']. list add: secName. list add: (snap timestamp printType: #data). list add: (snap maturity printType: #date). list add: snap coupon asDouble printString. list add: (snap aspects at: #bid) asDouble printString. list add: (snap aspects at: #ask) asDouble printString. ]. aBaliPluginTable tableList: (TwoDList on: list columns: 6). list := List with: curve timestamp printString. list addAll: #('timestamp' 'maturity' 'coupon' 'quoted bid' 'quoted ask'). aBaliPluginTable table columnLabelsArray: list. ^nil]. super setTableFor: aBaliPluginTable.! ! */ |