当前位置: 首页>>代码示例>>Java>>正文


Java InternalEObject类代码示例

本文整理汇总了Java中org.eclipse.emf.ecore.InternalEObject的典型用法代码示例。如果您正苦于以下问题:Java InternalEObject类的具体用法?Java InternalEObject怎么用?Java InternalEObject使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


InternalEObject类属于org.eclipse.emf.ecore包,在下文中一共展示了InternalEObject类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: eInverseRemove

import org.eclipse.emf.ecore.InternalEObject; //导入依赖的package包/类
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
  switch (featureID)
  {
    case DocumentumModulePackage.DOCUMENTUM_CONFIGURATION__BASE:
      return basicSetBase(null, msgs);
    case DocumentumModulePackage.DOCUMENTUM_CONFIGURATION__USERNAME:
      return basicSetUsername(null, msgs);
    case DocumentumModulePackage.DOCUMENTUM_CONFIGURATION__PASSWORD:
      return basicSetPassword(null, msgs);
    case DocumentumModulePackage.DOCUMENTUM_CONFIGURATION__FOLDER:
      return basicSetFolder(null, msgs);
    case DocumentumModulePackage.DOCUMENTUM_CONFIGURATION__DOCUMENT:
      return basicSetDocument(null, msgs);
    case DocumentumModulePackage.DOCUMENTUM_CONFIGURATION__FILE:
      return basicSetFile(null, msgs);
  }
  return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:25,代码来源:DocumentumConfigurationImpl.java

示例2: eInverseAdd

import org.eclipse.emf.ecore.InternalEObject; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
	switch (featureID) {
		case InfGMLSupportPackage.GML_STROKE__GML_COLOUR:
			if (gmlColour != null)
				msgs = ((InternalEObject)gmlColour).eInverseRemove(this, InfGMLSupportPackage.GML_COLOUR__GML_STROKES, GmlColour.class, msgs);
			return basicSetGmlColour((GmlColour)otherEnd, msgs);
		case InfGMLSupportPackage.GML_STROKE__GML_SVG_PARAMETERS:
			return ((InternalEList<InternalEObject>)(InternalEList<?>)getGmlSvgParameters()).basicAdd(otherEnd, msgs);
		case InfGMLSupportPackage.GML_STROKE__GML_POLYGON_SYMBOLS:
			return ((InternalEList<InternalEObject>)(InternalEList<?>)getGmlPolygonSymbols()).basicAdd(otherEnd, msgs);
		case InfGMLSupportPackage.GML_STROKE__GML_LINE_SYMBOLS:
			return ((InternalEList<InternalEObject>)(InternalEList<?>)getGmlLineSymbols()).basicAdd(otherEnd, msgs);
		case InfGMLSupportPackage.GML_STROKE__GML_MARKS:
			return ((InternalEList<InternalEObject>)(InternalEList<?>)getGmlMarks()).basicAdd(otherEnd, msgs);
	}
	return super.eInverseAdd(otherEnd, featureID, msgs);
}
 
开发者ID:SvenPeldszus,项目名称:rgse.ttc17.emoflon.tgg,代码行数:25,代码来源:GmlStrokeImpl.java

示例3: eInverseAdd

import org.eclipse.emf.ecore.InternalEObject; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
	switch (featureID) {
		case MarketOperationsPackage.SECURITY_CONSTRAINT_SUM__CONTINGENCY_CONSTRAINT_LIMITS:
			return ((InternalEList<InternalEObject>)(InternalEList<?>)getContingencyConstraintLimits()).basicAdd(otherEnd, msgs);
		case MarketOperationsPackage.SECURITY_CONSTRAINT_SUM__DEFAULT_CONSTRAINT_LIMIT:
			if (defaultConstraintLimit != null)
				msgs = ((InternalEObject)defaultConstraintLimit).eInverseRemove(this, MarketOperationsPackage.DEFAULT_CONSTRAINT_LIMIT__SECURITY_CONSTRAINT_SUM, DefaultConstraintLimit.class, msgs);
			return basicSetDefaultConstraintLimit((DefaultConstraintLimit)otherEnd, msgs);
		case MarketOperationsPackage.SECURITY_CONSTRAINT_SUM__BASE_CASE_CONSTRAINT_LIMIT:
			if (baseCaseConstraintLimit != null)
				msgs = ((InternalEObject)baseCaseConstraintLimit).eInverseRemove(this, MarketOperationsPackage.BASE_CASE_CONSTRAINT_LIMIT__SECURITY_CONSTRAINT_SUM, BaseCaseConstraintLimit.class, msgs);
			return basicSetBaseCaseConstraintLimit((BaseCaseConstraintLimit)otherEnd, msgs);
		case MarketOperationsPackage.SECURITY_CONSTRAINT_SUM__CONSTRAINT_TERMS:
			return ((InternalEList<InternalEObject>)(InternalEList<?>)getConstraintTerms()).basicAdd(otherEnd, msgs);
		case MarketOperationsPackage.SECURITY_CONSTRAINT_SUM__RTO:
			if (rto != null)
				msgs = ((InternalEObject)rto).eInverseRemove(this, MarketOperationsPackage.RTO__SECURITY_CONSTRAINTS_LINEAR, RTO.class, msgs);
			return basicSetRTO((RTO)otherEnd, msgs);
	}
	return super.eInverseAdd(otherEnd, featureID, msgs);
}
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:29,代码来源:SecurityConstraintSumImpl.java

示例4: eInverseAdd

import org.eclipse.emf.ecore.InternalEObject; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
	switch (featureID) {
		case InfPaymentMeteringPackage.SDP_ACCOUNTING_FUNCTION__CREDIT_REGISTERS:
			return ((InternalEList<InternalEObject>)(InternalEList<?>)getCreditRegisters()).basicAdd(otherEnd, msgs);
		case InfPaymentMeteringPackage.SDP_ACCOUNTING_FUNCTION__CHARGE_REGISTERS:
			return ((InternalEList<InternalEObject>)(InternalEList<?>)getChargeRegisters()).basicAdd(otherEnd, msgs);
		case InfPaymentMeteringPackage.SDP_ACCOUNTING_FUNCTION__SERVICE_KIND:
			if (serviceKind != null)
				msgs = ((InternalEObject)serviceKind).eInverseRemove(this, CustomersPackage.SERVICE_CATEGORY__SP_ACCOUNTING_FUNCTIONS, ServiceCategory.class, msgs);
			return basicSetServiceKind((ServiceCategory)otherEnd, msgs);
	}
	return super.eInverseAdd(otherEnd, featureID, msgs);
}
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:21,代码来源:SDPAccountingFunctionImpl.java

示例5: setElement

import org.eclipse.emf.ecore.InternalEObject; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setElement ( Primitive newElement )
{
    if ( newElement != element )
    {
        NotificationChain msgs = null;
        if ( element != null )
            msgs = ( (InternalEObject)element ).eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - VisualInterfacePackage.CHILD__ELEMENT, null, msgs );
        if ( newElement != null )
            msgs = ( (InternalEObject)newElement ).eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - VisualInterfacePackage.CHILD__ELEMENT, null, msgs );
        msgs = basicSetElement ( newElement, msgs );
        if ( msgs != null )
            msgs.dispatch ();
    }
    else if ( eNotificationRequired () )
        eNotify ( new ENotificationImpl ( this, Notification.SET, VisualInterfacePackage.CHILD__ELEMENT, newElement, newElement ) );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:22,代码来源:ChildImpl.java

示例6: eInverseRemove

import org.eclipse.emf.ecore.InternalEObject; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
	switch (featureID) {
		case ReservationPackage.SERVICE_RESERVATION__HOLDS:
			return basicSetHolds(null, msgs);
		case ReservationPackage.SERVICE_RESERVATION__RESERVES_TRANSMISSION_SERVICE:
			return ((InternalEList<?>)getReserves_TransmissionService()).basicRemove(otherEnd, msgs);
		case ReservationPackage.SERVICE_RESERVATION__RESERVES_ANCILLARY_SERVICES:
			return ((InternalEList<?>)getReserves_AncillaryServices()).basicRemove(otherEnd, msgs);
		case ReservationPackage.SERVICE_RESERVATION__RESELLS:
			return basicSetResells(null, msgs);
		case ReservationPackage.SERVICE_RESERVATION__SELLS:
			return basicSetSells(null, msgs);
	}
	return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
开发者ID:SvenPeldszus,项目名称:rgse.ttc17.emoflon.tgg,代码行数:22,代码来源:ServiceReservationImpl.java

示例7: setHostname

import org.eclipse.emf.ecore.InternalEObject; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setHostname(ComplexValue newHostname)
{
  if (newHostname != hostname)
  {
    NotificationChain msgs = null;
    if (hostname != null)
      msgs = ((InternalEObject)hostname).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SoapIOResourcePackage.PTCP_TRANSPORT__HOSTNAME, null, msgs);
    if (newHostname != null)
      msgs = ((InternalEObject)newHostname).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SoapIOResourcePackage.PTCP_TRANSPORT__HOSTNAME, null, msgs);
    msgs = basicSetHostname(newHostname, msgs);
    if (msgs != null) msgs.dispatch();
  }
  else if (eNotificationRequired())
    eNotify(new ENotificationImpl(this, Notification.SET, SoapIOResourcePackage.PTCP_TRANSPORT__HOSTNAME, newHostname, newHostname));
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:21,代码来源:PTCPTransportImpl.java

示例8: setErpRecLineItem

import org.eclipse.emf.ecore.InternalEObject; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setErpRecLineItem(ErpRecLineItem newErpRecLineItem) {
	if (newErpRecLineItem != erpRecLineItem) {
		NotificationChain msgs = null;
		if (erpRecLineItem != null)
			msgs = ((InternalEObject)erpRecLineItem).eInverseRemove(this, InfERPSupportPackage.ERP_REC_LINE_ITEM__ERP_INVOICE_LINE_ITEM, ErpRecLineItem.class, msgs);
		if (newErpRecLineItem != null)
			msgs = ((InternalEObject)newErpRecLineItem).eInverseAdd(this, InfERPSupportPackage.ERP_REC_LINE_ITEM__ERP_INVOICE_LINE_ITEM, ErpRecLineItem.class, msgs);
		msgs = basicSetErpRecLineItem(newErpRecLineItem, msgs);
		if (msgs != null) msgs.dispatch();
	}
	else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, InfERPSupportPackage.ERP_INVOICE_LINE_ITEM__ERP_REC_LINE_ITEM, newErpRecLineItem, newErpRecLineItem));
}
 
开发者ID:SvenPeldszus,项目名称:rgse.ttc17.emoflon.tgg,代码行数:19,代码来源:ErpInvoiceLineItemImpl.java

示例9: getOutageHistory

import org.eclipse.emf.ecore.InternalEObject; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public OutageHistory getOutageHistory() {
	if (outageHistory != null && outageHistory.eIsProxy()) {
		InternalEObject oldOutageHistory = (InternalEObject)outageHistory;
		outageHistory = (OutageHistory)eResolveProxy(oldOutageHistory);
		if (outageHistory != oldOutageHistory) {
			if (eNotificationRequired())
				eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfOperationsPackage.OUTAGE_REPORT__OUTAGE_HISTORY, oldOutageHistory, outageHistory));
		}
	}
	return outageHistory;
}
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:17,代码来源:OutageReportImpl.java

示例10: eInverseRemove

import org.eclipse.emf.ecore.InternalEObject; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
	switch (featureID) {
		case InfOperationsPackage.CHANGE_ITEM__CHANGE_SET:
			return basicSetChangeSet(null, msgs);
		case InfOperationsPackage.CHANGE_ITEM__ASSET:
			return basicSetAsset(null, msgs);
		case InfOperationsPackage.CHANGE_ITEM__NETWORK_DATA_SET:
			return basicSetNetworkDataSet(null, msgs);
		case InfOperationsPackage.CHANGE_ITEM__GML_SELECTOR:
			return basicSetGmlSelector(null, msgs);
		case InfOperationsPackage.CHANGE_ITEM__ORGANISATION:
			return basicSetOrganisation(null, msgs);
		case InfOperationsPackage.CHANGE_ITEM__GML_OBSERVATION:
			return basicSetGmlObservation(null, msgs);
		case InfOperationsPackage.CHANGE_ITEM__LOCATION:
			return basicSetLocation(null, msgs);
		case InfOperationsPackage.CHANGE_ITEM__POWER_SYSTEM_RESOURCE:
			return basicSetPowerSystemResource(null, msgs);
		case InfOperationsPackage.CHANGE_ITEM__DOCUMENT:
			return basicSetDocument(null, msgs);
		case InfOperationsPackage.CHANGE_ITEM__ERP_PERSON:
			return basicSetErpPerson(null, msgs);
	}
	return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:32,代码来源:ChangeItemImpl.java

示例11: setAsset

import org.eclipse.emf.ecore.InternalEObject; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setAsset(Asset newAsset) {
	if (newAsset != asset) {
		NotificationChain msgs = null;
		if (asset != null)
			msgs = ((InternalEObject)asset).eInverseRemove(this, AssetsPackage.ASSET__ERP_ITEM_MASTER, Asset.class, msgs);
		if (newAsset != null)
			msgs = ((InternalEObject)newAsset).eInverseAdd(this, AssetsPackage.ASSET__ERP_ITEM_MASTER, Asset.class, msgs);
		msgs = basicSetAsset(newAsset, msgs);
		if (msgs != null) msgs.dispatch();
	}
	else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, InfERPSupportPackage.ERP_ITEM_MASTER__ASSET, newAsset, newAsset));
}
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:19,代码来源:ErpItemMasterImpl.java

示例12: eInverseAdd

import org.eclipse.emf.ecore.InternalEObject; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
	switch (featureID) {
		case OperationalLimitsPackage.OPERATIONAL_LIMIT_TYPE__OPERATIONAL_LIMIT:
			return ((InternalEList<InternalEObject>)(InternalEList<?>)getOperationalLimit()).basicAdd(otherEnd, msgs);
	}
	return super.eInverseAdd(otherEnd, featureID, msgs);
}
 
开发者ID:SvenPeldszus,项目名称:rgse.ttc17.emoflon.tgg,代码行数:15,代码来源:OperationalLimitTypeImpl.java

示例13: eInverseRemove

import org.eclipse.emf.ecore.InternalEObject; //导入依赖的package包/类
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
  switch (featureID)
  {
    case XmlManipModulePackage.VALUE_REPLACE_OPERATION__REG_EXP:
      return basicSetRegExp(null, msgs);
    case XmlManipModulePackage.VALUE_REPLACE_OPERATION__NEW_VALUE:
      return basicSetNewValue(null, msgs);
  }
  return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:17,代码来源:ValueReplaceOperationImpl.java

示例14: setNonConformLoadGroup

import org.eclipse.emf.ecore.InternalEObject; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setNonConformLoadGroup(NonConformLoadGroup newNonConformLoadGroup) {
	if (newNonConformLoadGroup != nonConformLoadGroup) {
		NotificationChain msgs = null;
		if (nonConformLoadGroup != null)
			msgs = ((InternalEObject)nonConformLoadGroup).eInverseRemove(this, LoadModelPackage.NON_CONFORM_LOAD_GROUP__NON_CONFORM_LOAD_SCHEDULES, NonConformLoadGroup.class, msgs);
		if (newNonConformLoadGroup != null)
			msgs = ((InternalEObject)newNonConformLoadGroup).eInverseAdd(this, LoadModelPackage.NON_CONFORM_LOAD_GROUP__NON_CONFORM_LOAD_SCHEDULES, NonConformLoadGroup.class, msgs);
		msgs = basicSetNonConformLoadGroup(newNonConformLoadGroup, msgs);
		if (msgs != null) msgs.dispatch();
	}
	else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, LoadModelPackage.NON_CONFORM_LOAD_SCHEDULE__NON_CONFORM_LOAD_GROUP, newNonConformLoadGroup, newNonConformLoadGroup));
}
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:19,代码来源:NonConformLoadScheduleImpl.java

示例15: eInverseAdd

import org.eclipse.emf.ecore.InternalEObject; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
	switch (featureID) {
		case EnergySchedulingPackage.INADVERTENT_ACCOUNT__HOST_CONTROL_AREA:
			if (hostControlArea != null)
				msgs = ((InternalEObject)hostControlArea).eInverseRemove(this, EnergySchedulingPackage.HOST_CONTROL_AREA__INADVERTENT_ACCOUNTS, HostControlArea.class, msgs);
			return basicSetHostControlArea((HostControlArea)otherEnd, msgs);
	}
	return super.eInverseAdd(otherEnd, featureID, msgs);
}
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:16,代码来源:InadvertentAccountImpl.java


注:本文中的org.eclipse.emf.ecore.InternalEObject类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。