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