/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ObjectPropertyType createObjectPropertyType() { ObjectPropertyTypeImpl objectPropertyType = new ObjectPropertyTypeImpl(); return objectPropertyType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setType(Type newType) { Type oldType = type; type = newType; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, DatatypePackage.OBJECT_PROPERTY_TYPE__TYPE, oldType, type)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Type getType() { if (type != null && type.eIsProxy()) { InternalEObject oldType = (InternalEObject)type; type = (Type)eResolveProxy(oldType); if (type != oldType) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, DatatypePackage.OBJECT_PROPERTY_TYPE__TYPE, oldType, type)); } } return type; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case DatatypePackage.OBJECT_PROPERTY_TYPE__TYPE: if (resolve) return getType(); return basicGetType(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case DatatypePackage.OBJECT_PROPERTY_TYPE__TYPE: setType((Type)newValue); return; } super.eSet(featureID, newValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Type getType() { if (type != null && type.eIsProxy()) { InternalEObject oldType = (InternalEObject)type; type = (Type)eResolveProxy(oldType); if (type != oldType) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, DatatypePackage.OBJECT_PROPERTY_TYPE__TYPE, oldType, type)); } } return type; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case DatatypePackage.OBJECT_PROPERTY_TYPE__TYPE: if (resolve) return getType(); return basicGetType(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case DatatypePackage.OBJECT_PROPERTY_TYPE__TYPE: setType((Type)null); return; } super.eUnset(featureID); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setType(Type newType) { Type oldType = type; type = newType; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, DatatypePackage.OBJECT_PROPERTY_TYPE__TYPE, oldType, type)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case DatatypePackage.OBJECT_PROPERTY_TYPE__TYPE: setType((Type)null); return; } super.eUnset(featureID); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ObjectPropertyType createObjectPropertyType() { ObjectPropertyTypeImpl objectPropertyType = new ObjectPropertyTypeImpl(); return objectPropertyType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case DatatypePackage.OBJECT_PROPERTY_TYPE__TYPE: setType((Type)newValue); return; } super.eSet(featureID, newValue); }