Module it.rebirthproject.ufoeb
Class FactoryInheritancePolicy
java.lang.Object
it.rebirthproject.ufoeb.eventinheritancepolicy.FactoryInheritancePolicy
The factory used to create an
InheritancePolicy
. There are several InheritancePolicyType
to choose.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InheritancePolicy
createInheritancePolicy
(InheritancePolicyType inheritancePolicyType) The factory method used to create anInheritancePolicy
-
Constructor Details
-
FactoryInheritancePolicy
public FactoryInheritancePolicy()
-
-
Method Details
-
createInheritancePolicy
public static InheritancePolicy createInheritancePolicy(InheritancePolicyType inheritancePolicyType) The factory method used to create anInheritancePolicy
- Parameters:
inheritancePolicyType
- The chosenInheritancePolicyType
to create- Returns:
- The created
InheritancePolicy
corresponding to the specifiedInheritancePolicyType
-