}
return DataObject.class.getName();
}
private String getClassName(Type type) {
EClassifier eClassifier = (EClassifier)type;
String name = eClassifier.getInstanceClassName();
if (name != null) {
return name;
}
if (genModel == null) {
if (dynamic) {
return DataObject.class.getName();
}
return type.getName();
}
if (eClassifier instanceof EClass) {
// complex type
GenClass genEClass = (GenClass)genClasses.get(eClassifier);
if (genEClass != null) {
name = genEClass.getGenPackage().getInterfacePackageName()
+ '.' + genEClass.getInterfaceName();
}
} else {
// simple type
name = eClassifier.getInstanceClass().getName();
}
return name;
}