本文整理汇总了Java中org.eclipse.bpmn2.Bpmn2Package.COLLABORATION__MESSAGE_FLOWS属性的典型用法代码示例。如果您正苦于以下问题:Java Bpmn2Package.COLLABORATION__MESSAGE_FLOWS属性的具体用法?Java Bpmn2Package.COLLABORATION__MESSAGE_FLOWS怎么用?Java Bpmn2Package.COLLABORATION__MESSAGE_FLOWS使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.eclipse.bpmn2.Bpmn2Package
的用法示例。
在下文中一共展示了Bpmn2Package.COLLABORATION__MESSAGE_FLOWS属性的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: notifyChanged
/**
* This handles model notifications by calling {@link #updateChildren} to update any cached
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
switch (notification.getFeatureID(Collaboration.class)) {
case Bpmn2Package.COLLABORATION__IS_CLOSED:
case Bpmn2Package.COLLABORATION__NAME:
fireNotifyChanged(new ViewerNotification(notification,
notification.getNotifier(), false, true));
return;
case Bpmn2Package.COLLABORATION__PARTICIPANTS:
case Bpmn2Package.COLLABORATION__MESSAGE_FLOWS:
case Bpmn2Package.COLLABORATION__ARTIFACTS:
case Bpmn2Package.COLLABORATION__CONVERSATIONS:
case Bpmn2Package.COLLABORATION__CONVERSATION_ASSOCIATIONS:
case Bpmn2Package.COLLABORATION__PARTICIPANT_ASSOCIATIONS:
case Bpmn2Package.COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS:
case Bpmn2Package.COLLABORATION__CORRELATION_KEYS:
case Bpmn2Package.COLLABORATION__CONVERSATION_LINKS:
fireNotifyChanged(new ViewerNotification(notification,
notification.getNotifier(), true, false));
return;
}
super.notifyChanged(notification);
}
示例2: getMessageFlows
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public List<MessageFlow> getMessageFlows() {
if (messageFlows == null) {
messageFlows = new EObjectContainmentEList<MessageFlow>(
MessageFlow.class, this,
Bpmn2Package.COLLABORATION__MESSAGE_FLOWS);
}
return messageFlows;
}
示例3: eInverseRemove
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
case Bpmn2Package.COLLABORATION__PARTICIPANTS:
return ((InternalEList<?>) getParticipants()).basicRemove(otherEnd,
msgs);
case Bpmn2Package.COLLABORATION__MESSAGE_FLOWS:
return ((InternalEList<?>) getMessageFlows()).basicRemove(otherEnd,
msgs);
case Bpmn2Package.COLLABORATION__ARTIFACTS:
return ((InternalEList<?>) getArtifacts()).basicRemove(otherEnd,
msgs);
case Bpmn2Package.COLLABORATION__CONVERSATIONS:
return ((InternalEList<?>) getConversations()).basicRemove(
otherEnd, msgs);
case Bpmn2Package.COLLABORATION__CONVERSATION_ASSOCIATIONS:
return basicSetConversationAssociations(null, msgs);
case Bpmn2Package.COLLABORATION__PARTICIPANT_ASSOCIATIONS:
return ((InternalEList<?>) getParticipantAssociations())
.basicRemove(otherEnd, msgs);
case Bpmn2Package.COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS:
return ((InternalEList<?>) getMessageFlowAssociations())
.basicRemove(otherEnd, msgs);
case Bpmn2Package.COLLABORATION__CORRELATION_KEYS:
return ((InternalEList<?>) getCorrelationKeys()).basicRemove(
otherEnd, msgs);
case Bpmn2Package.COLLABORATION__CONVERSATION_LINKS:
return ((InternalEList<?>) getConversationLinks()).basicRemove(
otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
示例4: eGet
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case Bpmn2Package.COLLABORATION__PARTICIPANTS:
return getParticipants();
case Bpmn2Package.COLLABORATION__MESSAGE_FLOWS:
return getMessageFlows();
case Bpmn2Package.COLLABORATION__ARTIFACTS:
return getArtifacts();
case Bpmn2Package.COLLABORATION__CONVERSATIONS:
return getConversations();
case Bpmn2Package.COLLABORATION__CONVERSATION_ASSOCIATIONS:
return getConversationAssociations();
case Bpmn2Package.COLLABORATION__PARTICIPANT_ASSOCIATIONS:
return getParticipantAssociations();
case Bpmn2Package.COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS:
return getMessageFlowAssociations();
case Bpmn2Package.COLLABORATION__CORRELATION_KEYS:
return getCorrelationKeys();
case Bpmn2Package.COLLABORATION__CHOREOGRAPHY_REF:
return getChoreographyRef();
case Bpmn2Package.COLLABORATION__CONVERSATION_LINKS:
return getConversationLinks();
case Bpmn2Package.COLLABORATION__IS_CLOSED:
return isIsClosed();
case Bpmn2Package.COLLABORATION__NAME:
return getName();
}
return super.eGet(featureID, resolve, coreType);
}
示例5: eIsSet
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case Bpmn2Package.COLLABORATION__PARTICIPANTS:
return participants != null && !participants.isEmpty();
case Bpmn2Package.COLLABORATION__MESSAGE_FLOWS:
return messageFlows != null && !messageFlows.isEmpty();
case Bpmn2Package.COLLABORATION__ARTIFACTS:
return artifacts != null && !artifacts.isEmpty();
case Bpmn2Package.COLLABORATION__CONVERSATIONS:
return conversations != null && !conversations.isEmpty();
case Bpmn2Package.COLLABORATION__CONVERSATION_ASSOCIATIONS:
return conversationAssociations != null;
case Bpmn2Package.COLLABORATION__PARTICIPANT_ASSOCIATIONS:
return participantAssociations != null
&& !participantAssociations.isEmpty();
case Bpmn2Package.COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS:
return messageFlowAssociations != null
&& !messageFlowAssociations.isEmpty();
case Bpmn2Package.COLLABORATION__CORRELATION_KEYS:
return correlationKeys != null && !correlationKeys.isEmpty();
case Bpmn2Package.COLLABORATION__CHOREOGRAPHY_REF:
return choreographyRef != null && !choreographyRef.isEmpty();
case Bpmn2Package.COLLABORATION__CONVERSATION_LINKS:
return conversationLinks != null && !conversationLinks.isEmpty();
case Bpmn2Package.COLLABORATION__IS_CLOSED:
return isClosed != IS_CLOSED_EDEFAULT;
case Bpmn2Package.COLLABORATION__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
.equals(name);
}
return super.eIsSet(featureID);
}
示例6: eSet
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case Bpmn2Package.COLLABORATION__PARTICIPANTS:
getParticipants().clear();
getParticipants().addAll(
(Collection<? extends Participant>) newValue);
return;
case Bpmn2Package.COLLABORATION__MESSAGE_FLOWS:
getMessageFlows().clear();
getMessageFlows().addAll(
(Collection<? extends MessageFlow>) newValue);
return;
case Bpmn2Package.COLLABORATION__ARTIFACTS:
getArtifacts().clear();
getArtifacts().addAll((Collection<? extends Artifact>) newValue);
return;
case Bpmn2Package.COLLABORATION__CONVERSATIONS:
getConversations().clear();
getConversations().addAll(
(Collection<? extends ConversationNode>) newValue);
return;
case Bpmn2Package.COLLABORATION__CONVERSATION_ASSOCIATIONS:
setConversationAssociations((ConversationAssociation) newValue);
return;
case Bpmn2Package.COLLABORATION__PARTICIPANT_ASSOCIATIONS:
getParticipantAssociations().clear();
getParticipantAssociations().addAll(
(Collection<? extends ParticipantAssociation>) newValue);
return;
case Bpmn2Package.COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS:
getMessageFlowAssociations().clear();
getMessageFlowAssociations().addAll(
(Collection<? extends MessageFlowAssociation>) newValue);
return;
case Bpmn2Package.COLLABORATION__CORRELATION_KEYS:
getCorrelationKeys().clear();
getCorrelationKeys().addAll(
(Collection<? extends CorrelationKey>) newValue);
return;
case Bpmn2Package.COLLABORATION__CHOREOGRAPHY_REF:
getChoreographyRef().clear();
getChoreographyRef().addAll(
(Collection<? extends Choreography>) newValue);
return;
case Bpmn2Package.COLLABORATION__CONVERSATION_LINKS:
getConversationLinks().clear();
getConversationLinks().addAll(
(Collection<? extends ConversationLink>) newValue);
return;
case Bpmn2Package.COLLABORATION__IS_CLOSED:
setIsClosed((Boolean) newValue);
return;
case Bpmn2Package.COLLABORATION__NAME:
setName((String) newValue);
return;
}
super.eSet(featureID, newValue);
}
示例7: eUnset
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case Bpmn2Package.COLLABORATION__PARTICIPANTS:
getParticipants().clear();
return;
case Bpmn2Package.COLLABORATION__MESSAGE_FLOWS:
getMessageFlows().clear();
return;
case Bpmn2Package.COLLABORATION__ARTIFACTS:
getArtifacts().clear();
return;
case Bpmn2Package.COLLABORATION__CONVERSATIONS:
getConversations().clear();
return;
case Bpmn2Package.COLLABORATION__CONVERSATION_ASSOCIATIONS:
setConversationAssociations((ConversationAssociation) null);
return;
case Bpmn2Package.COLLABORATION__PARTICIPANT_ASSOCIATIONS:
getParticipantAssociations().clear();
return;
case Bpmn2Package.COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS:
getMessageFlowAssociations().clear();
return;
case Bpmn2Package.COLLABORATION__CORRELATION_KEYS:
getCorrelationKeys().clear();
return;
case Bpmn2Package.COLLABORATION__CHOREOGRAPHY_REF:
getChoreographyRef().clear();
return;
case Bpmn2Package.COLLABORATION__CONVERSATION_LINKS:
getConversationLinks().clear();
return;
case Bpmn2Package.COLLABORATION__IS_CLOSED:
setIsClosed(IS_CLOSED_EDEFAULT);
return;
case Bpmn2Package.COLLABORATION__NAME:
setName(NAME_EDEFAULT);
return;
}
super.eUnset(featureID);
}