use of org.applause.lang.applauseDsl.Parameter in project applause by applause.
the class EntityDataAccessExtensions method parameterList.
public String parameterList(final DataSourceAccessMethod it) {
EList<Parameter> _declaredParameters = it.getDeclaredParameters();
final Function1<Parameter, String> _function = new Function1<Parameter, String>() {
public String apply(final Parameter param) {
Type _type = param.getType();
String _typeName = EntityDataAccessExtensions.this._typeExtensions.typeName(_type);
String _plus = (_typeName + " *");
Type _type_1 = param.getType();
String _parameterName = EntityDataAccessExtensions.this.parameterName(_type_1);
String _plus_1 = (_plus + _parameterName);
return _plus_1;
}
};
List<String> _map = ListExtensions.<Parameter, String>map(_declaredParameters, _function);
String _join = IterableExtensions.join(_map, ", ");
return _join;
}
use of org.applause.lang.applauseDsl.Parameter in project applause by applause.
the class VariableImpl method setParameterReference.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setParameterReference(Parameter newParameterReference) {
Parameter oldParameterReference = parameterReference;
parameterReference = newParameterReference;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ApplauseDslPackage.VARIABLE__PARAMETER_REFERENCE, oldParameterReference, parameterReference));
}
use of org.applause.lang.applauseDsl.Parameter in project applause by applause.
the class DataSourceBodySpecificationImpl method setBodycontents.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setBodycontents(Parameter newBodycontents) {
Parameter oldBodycontents = bodycontents;
bodycontents = newBodycontents;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ApplauseDslPackage.DATA_SOURCE_BODY_SPECIFICATION__BODYCONTENTS, oldBodycontents, bodycontents));
}
use of org.applause.lang.applauseDsl.Parameter in project applause by applause.
the class ScreenImpl method basicSetInputParameter.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetInputParameter(Parameter newInputParameter, NotificationChain msgs) {
Parameter oldInputParameter = inputParameter;
inputParameter = newInputParameter;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplauseDslPackage.SCREEN__INPUT_PARAMETER, oldInputParameter, newInputParameter);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations