blob: 05ec07649da7f9246b2833ba3b6045d0761e3a5a [file] [log] [blame]
<%
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%>
<% } %>