Node org.unizone.finance.equity.Volume

org.unizone.0.8533
Instance of TypeScriptInfo

Node dataValue
org.edgescript.TypeScriptInfo.prerequisiteParcelsList{}
org.edgescript.TypeScriptInfo.prerequisiteMethodsList{}
org.edgescript.TypeScriptInfo.scriptimport org.unizone.finance.equity.Equity; constructor() { SourceAdapterSingle:(); } constructor(Equity src) { SourceAdapterSingle:(); setSource(src); } type Boolean isResourceOf(Listable node, Signature aspect) { if (aspect == 'adapter') return true; false; } String displayName() { "volume of " + source.toString; } Signature valueType() { 'volume'; } Real evaluate() { Equity{source}.volume.evaluate; } void prepareRange() { Equity{source}.volume.prepareRange; } /* constructor() { Source:(); } class Boolean isResourceOf(Listable node, Symbol aspect) { if (aspect == #adaptors) return true; false; } class String resourceLabel() "Name of resource" { "volume"; } String resourceString() "Name of resource" { "volume of " + nextSource().toString(); } Mixable mixWith(Mixable item) { if (item.class.subclassOf(Source)) { setNextSource(Source{item}); return this; } return Source:mixWith(item); } Real aspectReal(Symbol aspect) { if (aspect == #min) return 0; if (aspect == #max) return nextSource().aspectReal(#volume); if (aspect == #value) return nextSource().aspectReal(#volume); null; } Object aspectValue(Symbol aspect) { if (aspect == #min) return 0; if (aspect == #max) return nextSource().aspectValue(#volume); if (aspect == #value) return nextSource().aspectValue(#volume); null; } Symbol generalizeAspect(Symbol aspect) { if (aspect == #volume) return #value; return null; } introspect Class diagramPainter() { return DiagramPainterBar; } String instanceScript(InstanceScriptInfo info) { nextSource().instanceScript(info); info.objectId(this, AdaptorVolume, "vol"); } String initScript(InstanceScriptInfo info) { " " + info.methodPrefix(this) + "setNextSource(" + nextSource().instanceScript(info) + "); "; } */
org.edgescript.TypeScriptInfo.defineTypeorg.unizone.finance.equity.Volume
org.edgescript.TypeScriptInfo.prerequisiteScriptsList{}