public class StringAttributeBuilderImpl extends AttributeBuilderImpl<String> implements StringAttributeBuilder
Constructor and Description |
---|
StringAttributeBuilderImpl(String attributeName,
ModelElementTypeImpl modelType) |
Modifier and Type | Method and Description |
---|---|
StringAttributeBuilder |
defaultValue(String defaultValue) |
StringAttributeBuilder |
idAttribute() |
<V extends ModelElementInstance> |
idAttributeReference(Class<V> referenceTargetElement) |
<V extends ModelElementInstance> |
idAttributeReferenceCollection(Class<V> referenceTargetElement,
Class<? extends AttributeReferenceCollection> attributeReferenceCollection) |
StringAttributeBuilder |
namespace(String namespaceUri) |
void |
performModelBuild(Model model) |
<V extends ModelElementInstance> |
qNameAttributeReference(Class<V> referenceTargetElement)
Create a new
AttributeReferenceBuilder for the reference source element instance |
StringAttributeBuilder |
required() |
protected <V extends ModelElementInstance> |
setAttributeReference(AttributeReferenceBuilder<V> referenceBuilder) |
build
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
public StringAttributeBuilderImpl(String attributeName, ModelElementTypeImpl modelType)
public StringAttributeBuilder namespace(String namespaceUri)
namespace
in interface AttributeBuilder<String>
namespace
in interface StringAttributeBuilder
namespace
in class AttributeBuilderImpl<String>
public StringAttributeBuilder defaultValue(String defaultValue)
defaultValue
in interface AttributeBuilder<String>
defaultValue
in interface StringAttributeBuilder
defaultValue
in class AttributeBuilderImpl<String>
public StringAttributeBuilder required()
required
in interface AttributeBuilder<String>
required
in interface StringAttributeBuilder
required
in class AttributeBuilderImpl<String>
public StringAttributeBuilder idAttribute()
idAttribute
in interface AttributeBuilder<String>
idAttribute
in interface StringAttributeBuilder
idAttribute
in class AttributeBuilderImpl<String>
public <V extends ModelElementInstance> AttributeReferenceBuilder<V> qNameAttributeReference(Class<V> referenceTargetElement)
AttributeReferenceBuilder
for the reference source element instanceqNameAttributeReference
in interface StringAttributeBuilder
referenceTargetElement
- the reference target model element instancepublic <V extends ModelElementInstance> AttributeReferenceBuilder<V> idAttributeReference(Class<V> referenceTargetElement)
idAttributeReference
in interface StringAttributeBuilder
public <V extends ModelElementInstance> AttributeReferenceCollectionBuilder<V> idAttributeReferenceCollection(Class<V> referenceTargetElement, Class<? extends AttributeReferenceCollection> attributeReferenceCollection)
idAttributeReferenceCollection
in interface StringAttributeBuilder
protected <V extends ModelElementInstance> void setAttributeReference(AttributeReferenceBuilder<V> referenceBuilder)
public void performModelBuild(Model model)
performModelBuild
in interface ModelBuildOperation
performModelBuild
in class AttributeBuilderImpl<String>
Copyright © 2017. All rights reserved.