public class ModelBuilderImpl extends ModelBuilder
Constructor and Description |
---|
ModelBuilderImpl(String modelName) |
Modifier and Type | Method and Description |
---|---|
ModelBuilder |
alternativeNamespace(String alternativeNs,
String actualNs) |
Model |
build() |
ModelElementType |
defineGenericType(String typeName,
String typeNamespaceUri) |
ModelElementTypeBuilder |
defineType(Class<? extends ModelElementInstance> modelInstanceType,
String typeName) |
createInstance
public ModelBuilderImpl(String modelName)
public ModelBuilder alternativeNamespace(String alternativeNs, String actualNs)
alternativeNamespace
in class ModelBuilder
public ModelElementTypeBuilder defineType(Class<? extends ModelElementInstance> modelInstanceType, String typeName)
defineType
in class ModelBuilder
public ModelElementType defineGenericType(String typeName, String typeNamespaceUri)
defineGenericType
in class ModelBuilder
public Model build()
build
in class ModelBuilder
Copyright © 2019. All rights reserved.