Class MetamodelBuilder

  • All Implemented Interfaces:
    com.strumenta.kolasu.emf.ClassifiersProvider

    @Deprecated(message = "Deprecating everything EMF related") 
    public final class MetamodelBuilder
     implements ClassifiersProvider
                        

    When building multiple related EPackages use MetamodelsBuilder instead.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit addDataTypeHandler(EDataTypeHandler eDataTypeHandler) Normally a class is not treated as a DataType, so we need specific DataTypeHandlers to recognize it as such
      final Unit addEClassTypeHandler(EClassTypeHandler eClassTypeHandler) This should be needed only to customize how we want to deal with a class when translating it to an EClass
      EDataType provideDataType(KType ktype)
      final Boolean canProvideClass(KClass<?> kClass)
      EClass provideClass(KClass<?> kClass)
      final EPackage generate()
      • Methods inherited from class com.strumenta.kolasu.emf.ClassifiersProvider

        isDataType
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait