| Line 10... |
Line 10... |
| 10 |
import in.shop2020.metamodel.definitions.Catalog;
|
10 |
import in.shop2020.metamodel.definitions.Catalog;
|
| 11 |
import in.shop2020.metamodel.definitions.CompositeDefinition;
|
11 |
import in.shop2020.metamodel.definitions.CompositeDefinition;
|
| 12 |
import in.shop2020.metamodel.definitions.DatatypeDefinition;
|
12 |
import in.shop2020.metamodel.definitions.DatatypeDefinition;
|
| 13 |
import in.shop2020.metamodel.definitions.DefinitionsContainer;
|
13 |
import in.shop2020.metamodel.definitions.DefinitionsContainer;
|
| 14 |
import in.shop2020.metamodel.definitions.EnumDefinition;
|
14 |
import in.shop2020.metamodel.definitions.EnumDefinition;
|
| - |
|
15 |
import in.shop2020.metamodel.definitions.ExpandedCompositeDefinition;
|
| 15 |
import in.shop2020.metamodel.definitions.Unit;
|
16 |
import in.shop2020.metamodel.definitions.Unit;
|
| 16 |
|
17 |
|
| 17 |
/**
|
18 |
/**
|
| 18 |
* Utility class that supports BulletDefinition class. All related objects are fetched
|
19 |
* Utility class that supports BulletDefinition class. All related objects are fetched
|
| 19 |
* from database and aggregated here.
|
20 |
* from database and aggregated here.
|
| Line 84... |
Line 85... |
| 84 |
//Utils.info("datatypeDefinition.getClass().getName=" +
|
85 |
//Utils.info("datatypeDefinition.getClass().getName=" +
|
| 85 |
// this.datatypeDefinition.getClass().getName());
|
86 |
// this.datatypeDefinition.getClass().getName());
|
| 86 |
|
87 |
|
| 87 |
if(this.datatypeDefinition instanceof CompositeDefinition) {
|
88 |
if(this.datatypeDefinition instanceof CompositeDefinition) {
|
| 88 |
this.isComposite = true;
|
89 |
this.isComposite = true;
|
| - |
|
90 |
this.datatypeDefinition = new ExpandedCompositeDefinition(
|
| - |
|
91 |
(CompositeDefinition)this.datatypeDefinition);
|
| 89 |
}
|
92 |
}
|
| 90 |
else if(this.datatypeDefinition instanceof EnumDefinition) {
|
93 |
else if(this.datatypeDefinition instanceof EnumDefinition) {
|
| 91 |
this.isEnumerated = true;
|
94 |
this.isEnumerated = true;
|
| 92 |
}
|
95 |
}
|
| 93 |
else {
|
96 |
else {
|