Open SriousTaken opened 6 years ago
This problem could come from the following function in the package of org.framed.iorm.editpolicymodel a function named createTrueConstraintRule
public TrueConstraintRule createTrueConstraintRule() {
TrueConstraintRuleImpl trueConstraintRule = new TrueConstraintRuleImpl();
return trueConstraintRule;
}
The above-mentioned function creates a new instance in each iteration. Each instance has setID() parameter that should be updated. Therefore, a singleton pattern for trueConstraintRule object might be enough.
Example: attribute names of natural types
Currently the standard names of these attributes are generated like attribute:type
, attribute:type2
, attribute:type3
,...
Instead it should be generated like attribute:type
, attribute2:type
, attribute3:type
,...
E.g. standard names for attributes are created the following: "attribute:type", "attribute:type1", "attribute:type2", ... The number should not be added to the type, but to the "attribute" part of the standard name! The same problem exists for operations.