*/
public XSDTypeDefinition getTypeDefinition()
{
if (typeDefinition != null && typeDefinition.eIsProxy())
{
InternalEObject oldTypeDefinition = (InternalEObject)typeDefinition;
typeDefinition = (XSDTypeDefinition)eResolveProxy(oldTypeDefinition);
if (typeDefinition != oldTypeDefinition)
{
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, WSDLPackage.PART__TYPE_DEFINITION, oldTypeDefinition, typeDefinition));