com.nodelab.interest

Type YieldSwapValues

com.nodelab.0.10189
Instance of Type
Inheriting from Calculator

This table will show the components of a YieldSwap.

Type dataValue
org.uninode.Type.displayPatterna {att:org.uninode.Node.type}
org.uninode.Resource.resourceType
org.uninode.Resource.label
org.uninode.Resource.resourceOfList{}
org.uninode.Listable.resourcesReference[org.uninode.Listable.resources] of com.nodelab.interest.YieldSwapValues

Attribute summaryDefined inUninode® IdPropertiesDefault
Reference[org.uninode.Listable.resources]resourcesListableorg.uninode.0.2001type
StringtoString
This is the display string.
Nodeorg.uninode.0.102
Typetype
The type of an object determines the behaviour and attributes of the object.
Nodeorg.uninode.0.101
StringuriNodeorg.uninode.0.103
StringlabelResourceorg.uninode.0.2041type
List[Type]resourceOfResourceorg.uninode.0.2042type
SignatureresourceType
This defines the type of resource. It can be 'view', 'adapter' or 'action'
Resourceorg.uninode.0.2043type

Method summaryDefined inOverridesProperties
voidactivateListable
voiddesignEditor(WidgetWorkspace ws)Listable
voidgenerateScript(ScriptGenerationInfo info)
Prepare and generate initialization code
ScriptGenerator
voidinstanceScript(ScriptGenerationInfo info)
return either variable name (like 'ave1', found in info), or a constructor call (new ...)
ScriptGenerator
BooleanisResourceOf(Listable listable, Signature aspect)Mixabletype
ListablemixOn(Mixable mix)Mixable
ListablemixWith(Mixable mix)Mixable
StringresourceStringListableintrospection
voidcom.nodelab.java.view.ActivateViewListable
Intcom.nodelab.java.view.ActorCountView
Actorcom.nodelab.java.view.ActorForSoView
Actorcom.nodelab.java.view.AddSourceSoView
voidcom.nodelab.java.view.ConstructorView
voidcom.nodelab.java.view.DesignViewWWView
Dimensioncom.nodelab.java.view.DimensionAtInView
Intcom.nodelab.java.view.DimensionCountView
Dimensioncom.nodelab.java.view.DimensionTypeTyView
voidcom.nodelab.java.view.DragMouseReReReReView
voidcom.nodelab.java.view.GenerateScriptSIViewScriptGenerator
Actorcom.nodelab.java.view.GetActorInView
voidcom.nodelab.java.view.InstallView
voidcom.nodelab.java.view.InstanceScriptSIViewScriptGenerator
Booleancom.nodelab.java.view.IsPerpetualView
voidcom.nodelab.java.view.PrepareView
Collection[Type]com.nodelab.java.view.RequiredDimensionsView
Scenecom.nodelab.java.view.SceneView
WidgetWorkspacecom.nodelab.java.view.WorkspaceView

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.! !

*/