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
Line 16: Line 16:
     - InterfaceInterfaces = ["com.sphenon.basics.operations.Execution"]
     - InterfaceInterfaces = ["com.sphenon.basics.operations.Execution"]
   + XMLogicImplementation
   + 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; }»
     - Body = 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 17:01, 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»
...
java.lang.Integer
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 BodyJavaCode = «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»
...
XMLogicImplementation GetBodyJavaCodeTemplate = «Class_Progression result = new Class_Progression(context); result.setPercent(context, @(ProgressionPercent) == null ? 0 : (float) (int) @(ProgressionPercent), true);»
ProgressionPercentInteger«Attribute»
...
XMLogicEvents ObserveChangestrue