本文整理匯總了Java中org.eclipse.gemoc.gexpressions.GexpressionsPackage.GNAVIGATION_EXPRESSION__REFERENCED_EOBJECT屬性的典型用法代碼示例。如果您正苦於以下問題:Java GexpressionsPackage.GNAVIGATION_EXPRESSION__REFERENCED_EOBJECT屬性的具體用法?Java GexpressionsPackage.GNAVIGATION_EXPRESSION__REFERENCED_EOBJECT怎麽用?Java GexpressionsPackage.GNAVIGATION_EXPRESSION__REFERENCED_EOBJECT使用的例子?那麽, 這裏精選的屬性代碼示例或許可以為您提供幫助。您也可以進一步了解該屬性所在類org.eclipse.gemoc.gexpressions.GexpressionsPackage
的用法示例。
在下文中一共展示了GexpressionsPackage.GNAVIGATION_EXPRESSION__REFERENCED_EOBJECT屬性的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: eGet
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case GexpressionsPackage.GNAVIGATION_EXPRESSION__BODY:
return getBody();
case GexpressionsPackage.GNAVIGATION_EXPRESSION__REFERENCED_EOBJECT:
if (resolve) return getReferencedEObject();
return basicGetReferencedEObject();
}
return super.eGet(featureID, resolve, coreType);
}
示例2: eSet
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case GexpressionsPackage.GNAVIGATION_EXPRESSION__BODY:
setBody((GExpression)newValue);
return;
case GexpressionsPackage.GNAVIGATION_EXPRESSION__REFERENCED_EOBJECT:
setReferencedEObject((EObject)newValue);
return;
}
super.eSet(featureID, newValue);
}
示例3: eUnset
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case GexpressionsPackage.GNAVIGATION_EXPRESSION__BODY:
setBody((GExpression)null);
return;
case GexpressionsPackage.GNAVIGATION_EXPRESSION__REFERENCED_EOBJECT:
setReferencedEObject((EObject)null);
return;
}
super.eUnset(featureID);
}
示例4: eIsSet
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case GexpressionsPackage.GNAVIGATION_EXPRESSION__BODY:
return body != null;
case GexpressionsPackage.GNAVIGATION_EXPRESSION__REFERENCED_EOBJECT:
return referencedEObject != null;
}
return super.eIsSet(featureID);
}