use of org.osate.aadl2.FlowEnd in project osate2 by osate.
the class AadlUtil method getFlowEndName.
public static String getFlowEndName(FlowEnd end) {
Context cxt = end.getContext();
Feature cend = end.getFeature();
if (cxt != null) {
return cxt.getName() + '.' + cend.getName();
} else {
return cend.getName();
}
}
use of org.osate.aadl2.FlowEnd in project osate2 by osate.
the class FlowSpecificationImpl method getAllInEnd.
public FlowEnd getAllInEnd() {
FlowEnd res = getInEnd();
FlowSpecification fs = this;
while (res == null && fs.getRefined() != null) {
fs = fs.getRefined();
res = fs.getInEnd();
}
return res;
}
use of org.osate.aadl2.FlowEnd in project osate2 by osate.
the class FlowSpecificationImpl method basicSetOutEnd.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetOutEnd(FlowEnd newOutEnd, NotificationChain msgs) {
FlowEnd oldOutEnd = outEnd;
outEnd = newOutEnd;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Aadl2Package.FLOW_SPECIFICATION__OUT_END, oldOutEnd, newOutEnd);
if (msgs == null) {
msgs = notification;
} else {
msgs.add(notification);
}
}
return msgs;
}
use of org.osate.aadl2.FlowEnd in project osate2 by osate.
the class FlowSpecificationImpl method createOutEnd.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public FlowEnd createOutEnd() {
FlowEnd newOutEnd = (FlowEnd) create(Aadl2Package.eINSTANCE.getFlowEnd());
setOutEnd(newOutEnd);
return newOutEnd;
}
use of org.osate.aadl2.FlowEnd in project osate2 by osate.
the class FlowImplementationImpl method createOutEnd.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public FlowEnd createOutEnd() {
FlowEnd newOutEnd = (FlowEnd) create(Aadl2Package.eINSTANCE.getFlowEnd());
setOutEnd(newOutEnd);
return newOutEnd;
}
Aggregations