Search in sources :

Example 6 with Type

use of org.applause.lang.applauseDsl.Type in project applause by applause.

the class AttributeExtensions method typeName.

public String typeName(final Attribute it) {
    Type _type = it.getType();
    String _name = _type.getName();
    return _name;
}
Also used : Type(org.applause.lang.applauseDsl.Type)

Example 7 with Type

use of org.applause.lang.applauseDsl.Type in project applause by applause.

the class ParameterImpl method setType.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public void setType(Type newType) {
    Type oldType = type;
    type = newType;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, ApplauseDslPackage.PARAMETER__TYPE, oldType, type));
}
Also used : Type(org.applause.lang.applauseDsl.Type) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Aggregations

Type (org.applause.lang.applauseDsl.Type)7 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)2 Function1 (org.eclipse.xtext.xbase.lib.Functions.Function1)2 Attribute (org.applause.lang.applauseDsl.Attribute)1 Entity (org.applause.lang.applauseDsl.Entity)1 Model (org.applause.lang.applauseDsl.Model)1 NamedElement (org.applause.lang.applauseDsl.NamedElement)1 Parameter (org.applause.lang.applauseDsl.Parameter)1