Class ModelBuilder

  • Direct Known Subclasses:
    ModelBuilderImpl

    public abstract class ModelBuilder
    extends java.lang.Object
    This builder is used to define and create a new model.
    Author:
    Daniel Meyer
    • Constructor Detail

      • ModelBuilder

        public ModelBuilder()
    • Method Detail

      • alternativeNamespace

        public abstract ModelBuilder alternativeNamespace​(java.lang.String alternativeNs,
                                                          java.lang.String actualNs)
      • defineGenericType

        public abstract ModelElementType defineGenericType​(java.lang.String typeName,
                                                           java.lang.String typeNamespaceUri)
      • build

        public abstract Model build()
      • createInstance

        public static ModelBuilder createInstance​(java.lang.String modelName)