org.unizone.source

Type Division

org.unizone.0.4110
Instance of Type
Inheriting from SourceAdapterMultiple

Type dataValue
org.uninode.Type.displayPattern{att:org.unizone.source.Source.displayName}
org.unizone.source.Source.valueAttribute
org.uninode.Resource.resourceType
org.uninode.Resource.label
org.uninode.Resource.resourceOfList{}
org.uninode.Listable.resourcesReference[org.uninode.Listable.resources] of org.unizone.source.Division

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
StringdisplayName
The display name is the name that is shown in lists, displays and graphs.
Sourceorg.unizone.0.4001essential
AttributevalueAttribute
The value attribute is used for determining the default value that should be used for displaying this source in a graph.
Sourceorg.unizone.0.4011type
inheritValue
SignaturevalueType
The value type determines which axes should be used in graphs.
Sourceorg.unizone.0.4002inheritValue
List[Source]sourcesSourceAdapterMultipleorg.unizone.0.4031

Method summaryDefined inOverridesProperties
voidactivateListable
voidcheckRangeSourceAdapterMultipleSource
voiddesignEditor(WidgetWorkspace ws)Listable
voidgenerateScript(ScriptGenerationInfo info)SourceAdapterMultipleScriptGenerator
BooleanisResourceOf(Listable listable, Signature aspect)Mixabletype
ListablemixOn(Mixable mix)Mixable
ListablemixWith(Mixable mix)Mixable
StringresourceStringListableintrospection
voidcom.nodelab.java.source.ActivateSourceListable
Listablecom.nodelab.java.source.MixWithMiSourceMixable

Script summary
org.unizone.0.8549
/*
instance Source src1;
instance Source src2;

constructor() {
  Source:();
}
class Boolean isResourceOf(Listable node, Symbol aspect) {
  if (aspect == #adaptors) return true;
  false;
}
class String resourceLabel() {
  "division";
}
trace String resourceString() {
  "(" + instance src1.toString + " / " + instance src2.toString + ")";
}
trace Mixable mixWith(Mixable item) {
  instance src1 = Producer.mix(1);
  addNextSource(instance src1);
  instance src2 = Producer.mix(0);
  addNextSource(instance src2);
  this;
}
trace Real aspectReal(Symbol aspect) {
  instance src1.aspectReal(aspect) / instance src2.aspectReal(aspect);
}
trace Object aspectValue(Symbol aspect) {
  aspectReal(aspect);
}

*/