Interface RequiredAttributesFactory

  • All Known Implementing Classes:
    DefaultRequiredAttributesFactory

    public interface RequiredAttributesFactory
    Creates hierarchical structure of all required attributes for given composed type or attribute descriptor.
    • Method Detail

      • create

        RequiredAttribute create​(AttributeDescriptorModel attributeDescriptorModel)
        Recursively creates RequiredAttribute structure for given attribute. The mechanism takes into account only unique attributes or not optional attributes without default value for partOf relation.
        Parameters:
        attributeDescriptorModel - start point of finding hierarchical structure of all required attributes
        Returns:
        hierarchical structure of all required attributes
      • create

        RequiredAttribute create​(ComposedTypeModel composedTypeModel)
        Recursively creates RequiredAttribute structure for given composed type. The mechanism takes into account only unique attributes or not optional attributes without default value for partOf relation.
        Parameters:
        composedTypeModel - start point of finding hierarchical structure of all required attributes
        Returns:
        hierarchical structure of all required attributes