blob: 3a4b000a1948768960db384112c63de9ede7a0ed [file] [log] [blame]
<%@ jet package="org.eclipse.jst.j2ee.ejb.gmf.templates.entity" class="TypeStubGenerator" imports="java.util.* org.eclipse.jst.j2ee.ejb.annotation.internal.model.*"%>
<% IContainerManagedEntityBean cmp = (IContainerManagedEntityBean)argument;
boolean isCMP = true;
String primaryKeyType = cmp.getPrimaryKeyClass();
List attributes = cmp.getAttributes();
List keyAttributes = cmp.getKeyAttributes();
int pkCount=keyAttributes.size();
boolean isComposite = keyAttributes.size() > 1;
boolean createCompositeKey = false;
String primaryKeyField = ( (CMPAttributeDelegate)keyAttributes.get(0)).getName();
%>