public class ModelElementTypeBuilderImpl extends Object implements ModelElementTypeBuilder, ModelBuildOperation
ModelElementTypeBuilder.ModelTypeInstanceProvider<T extends ModelElementInstance>
Constructor and Description |
---|
ModelElementTypeBuilderImpl(Class<? extends ModelElementInstance> instanceType,
String name,
ModelImpl model) |
Modifier and Type | Method and Description |
---|---|
ModelElementTypeBuilder |
abstractType() |
AttributeBuilder<Boolean> |
booleanAttribute(String attributeName) |
ModelElementType |
build() |
void |
buildTypeHierarchy(Model model) |
AttributeBuilder<Double> |
doubleAttribute(String attributeName) |
<V extends Enum<V>> |
enumAttribute(String attributeName,
Class<V> enumType) |
ModelElementTypeBuilder |
extendsType(Class<? extends ModelElementInstance> extendedType) |
<T extends ModelElementInstance> |
instanceProvider(ModelElementTypeBuilder.ModelTypeInstanceProvider<T> instanceProvider) |
AttributeBuilder<Integer> |
integerAttribute(String attributeName) |
<V extends Enum<V>> |
namedEnumAttribute(String attributeName,
Class<V> enumType) |
ModelElementTypeBuilder |
namespaceUri(String namespaceUri) |
void |
performModelBuild(Model model) |
SequenceBuilder |
sequence() |
StringAttributeBuilder |
stringAttribute(String attributeName) |
public ModelElementTypeBuilderImpl(Class<? extends ModelElementInstance> instanceType, String name, ModelImpl model)
public ModelElementTypeBuilder extendsType(Class<? extends ModelElementInstance> extendedType)
extendsType
in interface ModelElementTypeBuilder
public <T extends ModelElementInstance> ModelElementTypeBuilder instanceProvider(ModelElementTypeBuilder.ModelTypeInstanceProvider<T> instanceProvider)
instanceProvider
in interface ModelElementTypeBuilder
public ModelElementTypeBuilder namespaceUri(String namespaceUri)
namespaceUri
in interface ModelElementTypeBuilder
public AttributeBuilder<Boolean> booleanAttribute(String attributeName)
booleanAttribute
in interface ModelElementTypeBuilder
public StringAttributeBuilder stringAttribute(String attributeName)
stringAttribute
in interface ModelElementTypeBuilder
public AttributeBuilder<Integer> integerAttribute(String attributeName)
integerAttribute
in interface ModelElementTypeBuilder
public AttributeBuilder<Double> doubleAttribute(String attributeName)
doubleAttribute
in interface ModelElementTypeBuilder
public <V extends Enum<V>> AttributeBuilder<V> enumAttribute(String attributeName, Class<V> enumType)
enumAttribute
in interface ModelElementTypeBuilder
public <V extends Enum<V>> AttributeBuilder<V> namedEnumAttribute(String attributeName, Class<V> enumType)
namedEnumAttribute
in interface ModelElementTypeBuilder
public ModelElementType build()
build
in interface ModelElementTypeBuilder
public ModelElementTypeBuilder abstractType()
abstractType
in interface ModelElementTypeBuilder
public SequenceBuilder sequence()
sequence
in interface ModelElementTypeBuilder
public void buildTypeHierarchy(Model model)
public void performModelBuild(Model model)
performModelBuild
in interface ModelBuildOperation
Copyright © 2017. All rights reserved.