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 24: Line 24:
     - ObserveChanges = true
     - ObserveChanges = true
** Progression Progression InstanceOnly,Transient,NoUI,Calculated
** Progression Progression InstanceOnly,Transient,NoUI,Calculated
   + XMLogic
   + XMLogicImplementation
     - GetBody = JavaCodeTemplate=«Class_Progression result = new Class_Progression(context); result.setPercent(context, @(ProgressionPercent) == null ? 0 : (float) (int) @(ProgressionPercent), true);»
     - GetBody = JavaCodeTemplate=«Class_Progression result = new Class_Progression(context); result.setPercent(context, @(ProgressionPercent) == null ? 0 : (float) (int) @(ProgressionPercent), true);»
** ProgressionPercent Integer Attribute
** ProgressionPercent Integer Attribute

Revision as of 16:53, 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»
...
XMLogicImplementation GetBodyJavaCodeTemplate = «Class_Progression result = new Class_Progression(context); result.setPercent(context, @(ProgressionPercent) == null ? 0 : (float) (int) @(ProgressionPercent), true);»
ProgressionPercentInteger«Attribute»
...
XMLogicEvents ObserveChangestrue