Difference between revisions of "Artefact:Model/net/leue/andreas/sandbox/model43/Execution43"

From OOModels
< Artefact:Model‎ | net‎ | leue‎ | andreas‎ | sandbox‎ | model43
Jump to navigationJump to search
(Created page with "{{Metabox | Meta_Type = Type:org/oomodels/WIML/1.0 | Meta_Domain = Domain:it/test | Meta_Category = Type:org/oomodels/wiki/Model | Meta_Download = true | Meta_AddTypeToCategory = true | Meta_AddCategoryToCategory = true }} == Code == <wiml> * Execution43 StrictlyOwnedCoreClass,ContainedClass ^^ com.sphenon.basics.monitoring.ProblemState,com.sphenon.basics.processing.ActivityState,com.sphenon.basics.processin...")
 
Line 15: Line 15:
   + XMCoreClasses
   + XMCoreClasses
     - InterfaceInterfaces = ["com.sphenon.basics.operations.Execution"]
     - InterfaceInterfaces = ["com.sphenon.basics.operations.Execution"]
  + XMLogicImplementation
    - ClassBody = JavaCode=«public Instruction getInstruction (CallContext context) { return null; } public ProblemCategory getProblemCategory (CallContext context) { return null; } public Problem getProblem (CallContext context) { return null; } public Record getRecord (CallContext context) { return null; } public Performance getPerformance (CallContext context) { return null; } public Object getResult (CallContext context) { return null; } public Execution wait (CallContext context) { return this; }»
** ProblemState ProblemState Attribute,NoFilter
** ProblemState ProblemState Attribute,NoFilter
   + XMLogicEvents
   + XMLogicEvents

Revision as of 16:07, 23 April 2024

Classification
Type Type:org/oomodels/WIML/1.0
Domain Domain:it/test
Category Type:org/oomodels/wiki/Model
More
Download Code
Namespace (more)

Private namespace of Andreas Leue.

create new pages

Code[edit]

Execution43
«StrictlyOwnedCoreClass, ContainedClass»
...
com.sphenon.basics.monitoring.ProblemState
com.sphenon.basics.processing.ActivityState
com.sphenon.basics.processing.Progression
com.sphenon.basics.processing.classes.Class_Progression
...
XMCoreClasses InterfaceInterfaces[
    "com.sphenon.basics.operations.Execution"
]
XMLogicImplementation ClassBodyJavaCode = «public Instruction getInstruction (CallContext context) { return null; } public ProblemCategory getProblemCategory (CallContext context) { return null; } public Problem getProblem (CallContext context) { return null; } public Record getRecord (CallContext context) { return null; } public Performance getPerformance (CallContext context) { return null; } public Object getResult (CallContext context) { return null; } public Execution wait (CallContext context) { return this; }»
ProblemStateProblemState«Attribute,NoFilter»
...
XMLogicEvents ObserveChangestrue
ActivityStateActivityState«Attribute,NoFilter»
...
XMLogicEvents ObserveChangestrue
ProgressionProgression«InstanceOnly,Transient,NoUI,Calculated»
...
XMLogic GetBodyJavaCodeTemplate = «Class_Progression result = new Class_Progression(context); result.setPercent(context, @(ProgressionPercent) == null ? 0 : (float) (int) @(ProgressionPercent), true);»
ProgressionPercentInteger«Attribute»
...
XMLogicEvents ObserveChangestrue