Interface AttributeSetType

All Superinterfaces:
AttributeType
All Known Implementing Classes:
AttributeSetTypeImpl

public interface AttributeSetType extends AttributeType

AttributeType that defines a set (without duplicate elements) with values of the given elementType. It does not support isRequired. Since this type itself is an AttributeType, it is possible to construct an AttributeSetType of an AttributeSetType of any AttributeType, and to continue with this iteration until terminating with any non-AttributeSetType. In case the AttributeSetType iteration terminates with an AttributeNestedType, the iteration can have 5 steps at maximum.


Example to create an instance using the builder pattern

     AttributeSetType attributeSetType = AttributeSetType.builder()
             .elementType(elementTypeBuilder -> elementTypeBuilder)
             .build()