本文整理汇总了Java中org.eclipse.bpmn2.Bpmn2Package.INPUT_SET__DATA_INPUT_REFS属性的典型用法代码示例。如果您正苦于以下问题:Java Bpmn2Package.INPUT_SET__DATA_INPUT_REFS属性的具体用法?Java Bpmn2Package.INPUT_SET__DATA_INPUT_REFS怎么用?Java Bpmn2Package.INPUT_SET__DATA_INPUT_REFS使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.eclipse.bpmn2.Bpmn2Package
的用法示例。
在下文中一共展示了Bpmn2Package.INPUT_SET__DATA_INPUT_REFS属性的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: eInverseAdd
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
case Bpmn2Package.INPUT_SET__DATA_INPUT_REFS:
return ((InternalEList<InternalEObject>) (InternalEList<?>) getDataInputRefs())
.basicAdd(otherEnd, msgs);
case Bpmn2Package.INPUT_SET__OPTIONAL_INPUT_REFS:
return ((InternalEList<InternalEObject>) (InternalEList<?>) getOptionalInputRefs())
.basicAdd(otherEnd, msgs);
case Bpmn2Package.INPUT_SET__WHILE_EXECUTING_INPUT_REFS:
return ((InternalEList<InternalEObject>) (InternalEList<?>) getWhileExecutingInputRefs())
.basicAdd(otherEnd, msgs);
case Bpmn2Package.INPUT_SET__OUTPUT_SET_REFS:
return ((InternalEList<InternalEObject>) (InternalEList<?>) getOutputSetRefs())
.basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
示例2: eInverseRemove
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
case Bpmn2Package.INPUT_SET__DATA_INPUT_REFS:
return ((InternalEList<?>) getDataInputRefs()).basicRemove(
otherEnd, msgs);
case Bpmn2Package.INPUT_SET__OPTIONAL_INPUT_REFS:
return ((InternalEList<?>) getOptionalInputRefs()).basicRemove(
otherEnd, msgs);
case Bpmn2Package.INPUT_SET__WHILE_EXECUTING_INPUT_REFS:
return ((InternalEList<?>) getWhileExecutingInputRefs())
.basicRemove(otherEnd, msgs);
case Bpmn2Package.INPUT_SET__OUTPUT_SET_REFS:
return ((InternalEList<?>) getOutputSetRefs()).basicRemove(
otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
示例3: eGet
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case Bpmn2Package.INPUT_SET__DATA_INPUT_REFS:
return getDataInputRefs();
case Bpmn2Package.INPUT_SET__OPTIONAL_INPUT_REFS:
return getOptionalInputRefs();
case Bpmn2Package.INPUT_SET__WHILE_EXECUTING_INPUT_REFS:
return getWhileExecutingInputRefs();
case Bpmn2Package.INPUT_SET__OUTPUT_SET_REFS:
return getOutputSetRefs();
case Bpmn2Package.INPUT_SET__NAME:
return getName();
}
return super.eGet(featureID, resolve, coreType);
}
示例4: eUnset
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case Bpmn2Package.INPUT_SET__DATA_INPUT_REFS:
getDataInputRefs().clear();
return;
case Bpmn2Package.INPUT_SET__OPTIONAL_INPUT_REFS:
getOptionalInputRefs().clear();
return;
case Bpmn2Package.INPUT_SET__WHILE_EXECUTING_INPUT_REFS:
getWhileExecutingInputRefs().clear();
return;
case Bpmn2Package.INPUT_SET__OUTPUT_SET_REFS:
getOutputSetRefs().clear();
return;
case Bpmn2Package.INPUT_SET__NAME:
setName(NAME_EDEFAULT);
return;
}
super.eUnset(featureID);
}
示例5: eIsSet
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case Bpmn2Package.INPUT_SET__DATA_INPUT_REFS:
return dataInputRefs != null && !dataInputRefs.isEmpty();
case Bpmn2Package.INPUT_SET__OPTIONAL_INPUT_REFS:
return optionalInputRefs != null && !optionalInputRefs.isEmpty();
case Bpmn2Package.INPUT_SET__WHILE_EXECUTING_INPUT_REFS:
return whileExecutingInputRefs != null
&& !whileExecutingInputRefs.isEmpty();
case Bpmn2Package.INPUT_SET__OUTPUT_SET_REFS:
return outputSetRefs != null && !outputSetRefs.isEmpty();
case Bpmn2Package.INPUT_SET__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
.equals(name);
}
return super.eIsSet(featureID);
}
示例6: getInputSetRefs
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public List<InputSet> getInputSetRefs() {
if (inputSetRefs == null) {
inputSetRefs = new EObjectWithInverseResolvingEList.ManyInverse<InputSet>(
InputSet.class, this,
Bpmn2Package.DATA_INPUT__INPUT_SET_REFS,
Bpmn2Package.INPUT_SET__DATA_INPUT_REFS);
}
return inputSetRefs;
}
示例7: getDataInputRefs
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public List<DataInput> getDataInputRefs() {
if (dataInputRefs == null) {
dataInputRefs = new EObjectWithInverseEList.ManyInverse<DataInput>(
DataInput.class, this,
Bpmn2Package.INPUT_SET__DATA_INPUT_REFS,
Bpmn2Package.DATA_INPUT__INPUT_SET_REFS);
}
return dataInputRefs;
}
示例8: eSet
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case Bpmn2Package.INPUT_SET__DATA_INPUT_REFS:
getDataInputRefs().clear();
getDataInputRefs().addAll(
(Collection<? extends DataInput>) newValue);
return;
case Bpmn2Package.INPUT_SET__OPTIONAL_INPUT_REFS:
getOptionalInputRefs().clear();
getOptionalInputRefs().addAll(
(Collection<? extends DataInput>) newValue);
return;
case Bpmn2Package.INPUT_SET__WHILE_EXECUTING_INPUT_REFS:
getWhileExecutingInputRefs().clear();
getWhileExecutingInputRefs().addAll(
(Collection<? extends DataInput>) newValue);
return;
case Bpmn2Package.INPUT_SET__OUTPUT_SET_REFS:
getOutputSetRefs().clear();
getOutputSetRefs().addAll(
(Collection<? extends OutputSet>) newValue);
return;
case Bpmn2Package.INPUT_SET__NAME:
setName((String) newValue);
return;
}
super.eSet(featureID, newValue);
}