return container;
}
public String getFullName() {
String name = new String();
IContainerService ct = getContainerService();
if(!(ct instanceof IModelService)) {
String containerFullName = ct.getFullName();
if(
(
!containerFullName.equals(
IModelService.primitiveTypesPackageName
)
)
&&(
!containerFullName.equals(
IModelService.classpathTypesPackageName
)
)
&&(containerFullName.length()>0)
) {
if(!(ct instanceof IClassifierService<?, ?>)) {
IModelService m = getModelService();
if(
!(
(m!=null)
&&(ct instanceof IModelService)
&&(
!containerFullName.equals(
IModelService
.defaultPackageFileName
)
)
)
) {
name += containerFullName + '.';
}
}
else {
name += containerFullName + '#';
}
}
}
String simpleName = getSimpleName();
/*
* Removing anything before any point in the simple name for
* the hierarchy transition case (if we are not in the primitive types
* or the class path)
*/
int ind = -1;
IContainerService contH = getContainerService();
if(
((ind = simpleName.indexOf('.'))!=-1)
&&(ind<simpleName.length())
&&(contH!=null)
&&(contH.getFullName()!=null)
&&(contH.getFullName().length()>0)
) {
simpleName = simpleName.substring(ind +1);
}
name += simpleName;
return name;