Interface RequiredAttributesFactory
-
- All Known Implementing Classes:
DefaultRequiredAttributesFactory
public interface RequiredAttributesFactoryCreates hierarchical structure of all required attributes for given composed type or attribute descriptor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequiredAttributecreate(AttributeDescriptorModel attributeDescriptorModel)Recursively createsRequiredAttributestructure for given attribute.RequiredAttributecreate(ComposedTypeModel composedTypeModel)Recursively createsRequiredAttributestructure for given composed type.
-
-
-
Method Detail
-
create
RequiredAttribute create(AttributeDescriptorModel attributeDescriptorModel)
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
RequiredAttribute create(ComposedTypeModel composedTypeModel)
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
-
-