Package org.applause.lang.applauseDsl

Examples of org.applause.lang.applauseDsl.DataType


      Iterable<Platform> _filter = Iterables.<Platform>filter(_elements, Platform.class);
      final Platform platform = IterableExtensions.<Platform>head(_filter);
      EList<PlatformMapping> _mappings = platform.getMappings();
      PlatformMapping _head = IterableExtensions.<PlatformMapping>head(_mappings);
      final TypeMapping platformMapping = ((TypeMapping) _head);
      DataType _type = platformMapping.getType();
      String _name = _type.getName();
      Matcher<String> _is = CoreMatchers.<String>is("String");
      Assert.<String>assertThat(_name, _is);
      String _simpleName = platformMapping.getSimpleName();
      Matcher<String> _is_1 = CoreMatchers.<String>is("NSString");
      Assert.<String>assertThat(_simpleName, _is_1);
View Full Code Here


   * <!-- end-user-doc -->
   * @generated
   */
  public void setType(DataType newType)
  {
    DataType oldType = type;
    type = newType;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, ApplauseDslPackage.TYPE_MAPPING__TYPE, oldType, type));
  }
View Full Code Here

      _builder.append("datatype Integer");
      _builder.newLine();
      final Model model = this.parser.parse(_builder);
      EList<NamedElement> _elements = model.getElements();
      NamedElement _head = IterableExtensions.<NamedElement>head(_elements);
      final DataType dtString = ((DataType) _head);
      String _name = dtString.getName();
      Assert.assertEquals("String", _name);
    } catch (Throwable _e) {
      throw Exceptions.sneakyThrow(_e);
    }
  }
View Full Code Here

      _builder.append("datatype Integer");
      _builder.newLine();
      final Model model = this.parser.parse(_builder);
      EList<NamedElement> _elements = model.getElements();
      NamedElement _head = IterableExtensions.<NamedElement>head(_elements);
      final DataType dtString = ((DataType) _head);
      String _name = dtString.getName();
      Assert.assertEquals("String", _name);
    } catch (Throwable _e) {
      throw Exceptions.sneakyThrow(_e);
    }
  }
View Full Code Here

TOP

Related Classes of org.applause.lang.applauseDsl.DataType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.