if(!isEmpty(nonPkFields) || !metaVo.isSimplePkProperty()) {
method = new JavaMethod(getDestinationClassname(metadata));
method.setConstructor(true);
method.setModifiers(new String[] { "public" });
method.setParameters(new JavaParameter[]{new JavaParameter(pkProperty.getType(), pkProperty.getName())});
retVal.addMethod(method);
}
if(!isEmpty(nonPkFields) && !metaVo.isSimplePkProperty()) {
method = new JavaMethod(getDestinationClassname(metadata));
method.setConstructor(true);
method.setModifiers(new String[] { "public" });