Ignore:
Timestamp:
10/07/13 10:41:23 (11 years ago)
Author:
wschamai
Message:

BUG FIX: type references validation and display

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  
    9595                     * Check if type is defined
    9696                     */
    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 {
    98104                        return ctx.createFailureStatus(new Object[] { Constants.validationKeyWord_MISSING + ": Type for '" +((NamedElement)eObj).getName()+"'." });
    99105                    }
     106
    100107                   
    101108                    /*
Note: See TracChangeset for help on using the changeset viewer.