/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public EDataType getEAttributeType() { if (eAttributeType == null || !isFrozen() && eAttributeType.eIsProxy()) { EClassifier eType = getEType(); if (eType instanceof EDataType) { eAttributeType = (EDataType)eType; } } return eAttributeType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public EDataType getEAttributeType() { if (eAttributeType == null || !isFrozen() && eAttributeType.eIsProxy()) { EClassifier eType = getEType(); if (eType instanceof EDataType) { eAttributeType = (EDataType)eType; } } return eAttributeType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EDataType getEcoreDataType() { if (ecoreDataType != null && ecoreDataType.eIsProxy()) { InternalEObject oldEcoreDataType = (InternalEObject)ecoreDataType; ecoreDataType = (EDataType)eResolveProxy(oldEcoreDataType); if (ecoreDataType != oldEcoreDataType) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, GenModelPackage.GEN_DATA_TYPE__ECORE_DATA_TYPE, oldEcoreDataType, ecoreDataType)); } } return ecoreDataType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EDataType getEcoreDataType() { if (ecoreDataType != null && ecoreDataType.eIsProxy()) { InternalEObject oldEcoreDataType = (InternalEObject)ecoreDataType; ecoreDataType = (EDataType)eResolveProxy(oldEcoreDataType); if (ecoreDataType != oldEcoreDataType) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, GenModelPackage.GEN_DATA_TYPE__ECORE_DATA_TYPE, oldEcoreDataType, ecoreDataType)); } } return ecoreDataType; }
public boolean reconcile() { try { EDataType eDataType = getEcoreDataType(); if (eDataType == null || eDataType.eIsProxy() || eDataType.eResource() == null) { return false; } else { for (Iterator<GenTypeParameter> i = getGenTypeParameters().iterator(); i.hasNext(); ) { GenTypeParameter genTypeParameter = i.next(); if (!genTypeParameter.reconcile()) { i.remove(); } } return true; } } catch (RuntimeException exception) { return false; } }
public boolean reconcile() { try { EDataType eDataType = getEcoreDataType(); if (eDataType == null || eDataType.eIsProxy() || eDataType.eResource() == null) { return false; } else { for (Iterator<GenTypeParameter> i = getGenTypeParameters().iterator(); i.hasNext(); ) { GenTypeParameter genTypeParameter = i.next(); if (!genTypeParameter.reconcile()) { i.remove(); } } return true; } } catch (RuntimeException exception) { return false; } }