- Timestamp:
- 10/07/13 10:41:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modelicaml/kepler/org.openmodelica.modelicaml.validation/src/org/openmodelica/modelicaml/validation/rules/classes/C04_ClassPropertyStereotypeConstraint.java
r1796 r1828 95 95 * Check if type is defined 96 96 */ 97 if(propertyType == null){ 97 // if(propertyType == null){ 98 // return ctx.createFailureStatus(new Object[] { Constants.validationKeyWord_MISSING + ": Type for '" +((NamedElement)eObj).getName()+"'." }); 99 // } 100 if(propertyType != null && propertyType.getName() != null){ 101 // ok 102 } 103 else { 98 104 return ctx.createFailureStatus(new Object[] { Constants.validationKeyWord_MISSING + ": Type for '" +((NamedElement)eObj).getName()+"'." }); 99 105 } 106 100 107 101 108 /*
Note: See TracChangeset
for help on using the changeset viewer.