public interface ModelElementTypeBuilder
Modifier and Type | Interface and Description |
---|---|
static interface |
ModelElementTypeBuilder.ModelTypeInstanceProvider<T extends ModelElementInstance> |
Modifier and Type | Method and Description |
---|---|
ModelElementTypeBuilder |
abstractType() |
AttributeBuilder<Boolean> |
booleanAttribute(String attributeName) |
ModelElementType |
build() |
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) |
SequenceBuilder |
sequence() |
StringAttributeBuilder |
stringAttribute(String attributeName) |
ModelElementTypeBuilder namespaceUri(String namespaceUri)
ModelElementTypeBuilder extendsType(Class<? extends ModelElementInstance> extendedType)
<T extends ModelElementInstance> ModelElementTypeBuilder instanceProvider(ModelElementTypeBuilder.ModelTypeInstanceProvider<T> instanceProvider)
ModelElementTypeBuilder abstractType()
AttributeBuilder<Boolean> booleanAttribute(String attributeName)
StringAttributeBuilder stringAttribute(String attributeName)
AttributeBuilder<Integer> integerAttribute(String attributeName)
AttributeBuilder<Double> doubleAttribute(String attributeName)
<V extends Enum<V>> AttributeBuilder<V> enumAttribute(String attributeName, Class<V> enumType)
<V extends Enum<V>> AttributeBuilder<V> namedEnumAttribute(String attributeName, Class<V> enumType)
SequenceBuilder sequence()
ModelElementType build()
Copyright © 2017. All rights reserved.