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 Summary
Modifier and TypeMethodDescriptioncreate(AttributeDescriptorModel attributeDescriptorModel) Recursively createsRequiredAttributestructure for given attribute.create(ComposedTypeModel composedTypeModel) Recursively createsRequiredAttributestructure for given composed type.
-
Method Details
-
create
Recursively createsRequiredAttributestructure 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
Recursively createsRequiredAttributestructure 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
-