<% | |
String derive = null; | |
EStructuralFeature eFeature = genFeature.getEcoreFeature(); | |
EAnnotation ocl = eFeature.getEAnnotation(ANNOTATION_URI_DERIVE); | |
if (ocl != null) { | |
derive = (String) ocl.getDetails().get("derive"); | |
} | |
if (derive == null) { %> | |
// TODO: implement this method | |
// Ensure that you remove @generated or mark it @generated NOT | |
throw new UnsupportedOperationException(); | |
<% } else {%> | |
/** | |
* <!-- Generated by OCL Compiler --> | |
*/ | |
<%=derive%> | |
<% } %> |