public class EnumAttributeBuilder<T extends Enum<T>> extends AttributeBuilderImpl<T>
Constructor and Description |
---|
EnumAttributeBuilder(String attributeName,
ModelElementTypeImpl modelType,
Class<T> type) |
Modifier and Type | Method and Description |
---|---|
EnumAttributeBuilder<T> |
defaultValue(T defaultValue) |
EnumAttributeBuilder<T> |
idAttribute() |
EnumAttributeBuilder<T> |
namespace(String namespaceUri) |
EnumAttributeBuilder<T> |
required() |
build, performModelBuild
public EnumAttributeBuilder(String attributeName, ModelElementTypeImpl modelType, Class<T> type)
public EnumAttributeBuilder<T> namespace(String namespaceUri)
namespace
in interface AttributeBuilder<T extends Enum<T>>
namespace
in class AttributeBuilderImpl<T extends Enum<T>>
public EnumAttributeBuilder<T> defaultValue(T defaultValue)
defaultValue
in interface AttributeBuilder<T extends Enum<T>>
defaultValue
in class AttributeBuilderImpl<T extends Enum<T>>
public EnumAttributeBuilder<T> required()
required
in interface AttributeBuilder<T extends Enum<T>>
required
in class AttributeBuilderImpl<T extends Enum<T>>
public EnumAttributeBuilder<T> idAttribute()
idAttribute
in interface AttributeBuilder<T extends Enum<T>>
idAttribute
in class AttributeBuilderImpl<T extends Enum<T>>
Copyright © 2017. All rights reserved.