本文整理匯總了Java中org.eclipse.bpmn2.AssociationDirection類的典型用法代碼示例。如果您正苦於以下問題:Java AssociationDirection類的具體用法?Java AssociationDirection怎麽用?Java AssociationDirection使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
AssociationDirection類屬於org.eclipse.bpmn2包,在下文中一共展示了AssociationDirection類的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: eSet
import org.eclipse.bpmn2.AssociationDirection; //導入依賴的package包/類
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case Bpmn2Package.ASSOCIATION__ASSOCIATION_DIRECTION:
setAssociationDirection((AssociationDirection) newValue);
return;
case Bpmn2Package.ASSOCIATION__SOURCE_REF:
setSourceRef((BaseElement) newValue);
return;
case Bpmn2Package.ASSOCIATION__TARGET_REF:
setTargetRef((BaseElement) newValue);
return;
}
super.eSet(featureID, newValue);
}
示例2: eSet
import org.eclipse.bpmn2.AssociationDirection; //導入依賴的package包/類
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case Bpmn2Package.ASSOCIATION__ASSOCIATION_DIRECTION:
setAssociationDirection((AssociationDirection) newValue);
return;
case Bpmn2Package.ASSOCIATION__SOURCE_REF:
setSourceRef((BaseElement) newValue);
return;
case Bpmn2Package.ASSOCIATION__TARGET_REF:
setTargetRef((BaseElement) newValue);
return;
}
super.eSet(featureID, newValue);
}
示例3: setAssociationDirection
import org.eclipse.bpmn2.AssociationDirection; //導入依賴的package包/類
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setAssociationDirection(
AssociationDirection newAssociationDirection) {
AssociationDirection oldAssociationDirection = associationDirection;
associationDirection = newAssociationDirection == null ? ASSOCIATION_DIRECTION_EDEFAULT
: newAssociationDirection;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
Bpmn2Package.ASSOCIATION__ASSOCIATION_DIRECTION,
oldAssociationDirection, associationDirection));
}
示例4: createAssociationDirectionFromString
import org.eclipse.bpmn2.AssociationDirection; //導入依賴的package包/類
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public AssociationDirection createAssociationDirectionFromString(
EDataType eDataType, String initialValue) {
AssociationDirection result = AssociationDirection.get(initialValue);
if (result == null)
throw new IllegalArgumentException("The value '" + initialValue
+ "' is not a valid enumerator of '" + eDataType.getName()
+ "'");
return result;
}
示例5: setAssociationDirection
import org.eclipse.bpmn2.AssociationDirection; //導入依賴的package包/類
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setAssociationDirection(AssociationDirection newAssociationDirection) {
AssociationDirection oldAssociationDirection = associationDirection;
associationDirection = newAssociationDirection == null ? ASSOCIATION_DIRECTION_EDEFAULT
: newAssociationDirection;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
Bpmn2Package.ASSOCIATION__ASSOCIATION_DIRECTION, oldAssociationDirection,
associationDirection));
}
示例6: getAssociationDirection
import org.eclipse.bpmn2.AssociationDirection; //導入依賴的package包/類
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public AssociationDirection getAssociationDirection() {
return associationDirection;
}
示例7: getAssociationDirection
import org.eclipse.bpmn2.AssociationDirection; //導入依賴的package包/類
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public AssociationDirection getAssociationDirection() {
return associationDirection;
}