Skip to content

Commit

Permalink
Reordered fields and methods
Browse files Browse the repository at this point in the history
  • Loading branch information
vruusmann committed Jul 29, 2018
1 parent ef9039e commit 04f64e0
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions pmml-evaluator/src/main/java/org/jpmml/evaluator/JavaModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@ public class JavaModel extends Model {

private MiningSchema miningSchema = null;

private LocalTransformations localTransformations = null;

private Targets targets = null;

private Output output = null;

private ModelStats modelStats = null;

private ModelExplanation modelExplanation = null;

private Targets targets = null;

private LocalTransformations localTransformations = null;

private ModelVerification modelVerification = null;


Expand All @@ -81,11 +81,11 @@ public JavaModel(Model model){
setScorable(model.isScorable());
setMathContext(model.getMathContext());
setMiningSchema(model.getMiningSchema());
setLocalTransformations(model.getLocalTransformations());
setTargets(model.getTargets());
setOutput(model.getOutput());
setModelStats(model.getModelStats());
setModelExplanation(model.getModelExplanation());
setTargets(model.getTargets());
setLocalTransformations(model.getLocalTransformations());
setModelVerification(model.getModelVerification());
}

Expand Down Expand Up @@ -175,61 +175,61 @@ public JavaModel setMiningSchema(@Property("miningSchema") MiningSchema miningSc
}

@Override
public LocalTransformations getLocalTransformations(){
return this.localTransformations;
public Output getOutput(){
return this.output;
}

@Override
public JavaModel setLocalTransformations(@Property("localTransformations") LocalTransformations localTransformations){
this.localTransformations = localTransformations;
public JavaModel setOutput(@Property("output") Output output){
this.output = output;

return this;
}

@Override
public Targets getTargets(){
return this.targets;
public ModelStats getModelStats(){
return this.modelStats;
}

@Override
public JavaModel setTargets(@Property("targets") Targets targets){
this.targets = targets;
public JavaModel setModelStats(@Property("modelStats") ModelStats modelStats){
this.modelStats = modelStats;

return this;
}

@Override
public Output getOutput(){
return this.output;
public ModelExplanation getModelExplanation(){
return this.modelExplanation;
}

@Override
public JavaModel setOutput(@Property("output") Output output){
this.output = output;
public JavaModel setModelExplanation(@Property("modelExplanation") ModelExplanation modelExplanation){
this.modelExplanation = modelExplanation;

return this;
}

@Override
public ModelStats getModelStats(){
return this.modelStats;
public Targets getTargets(){
return this.targets;
}

@Override
public JavaModel setModelStats(@Property("modelStats") ModelStats modelStats){
this.modelStats = modelStats;
public JavaModel setTargets(@Property("targets") Targets targets){
this.targets = targets;

return this;
}

@Override
public ModelExplanation getModelExplanation(){
return this.modelExplanation;
public LocalTransformations getLocalTransformations(){
return this.localTransformations;
}

@Override
public JavaModel setModelExplanation(@Property("modelExplanation") ModelExplanation modelExplanation){
this.modelExplanation = modelExplanation;
public JavaModel setLocalTransformations(@Property("localTransformations") LocalTransformations localTransformations){
this.localTransformations = localTransformations;

return this;
}
Expand All @@ -253,7 +253,7 @@ public VisitorAction accept(Visitor visitor){
if(status == VisitorAction.CONTINUE){
visitor.pushParent(this);

status = PMMLObject.traverse(visitor, getMiningSchema(), getLocalTransformations(), getTargets(), getOutput(), getModelStats(), getModelExplanation(), getModelVerification());
status = PMMLObject.traverse(visitor, getMiningSchema(), getOutput(), getModelStats(), getModelExplanation(), getTargets(), getLocalTransformations(), getModelVerification());

visitor.popParent();
} // End if
Expand Down

0 comments on commit 04f64e0

Please sign in to comment.