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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InheritancePolicycreateInheritancePolicy(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 chosenInheritancePolicyTypeto create- Returns:
- The created
InheritancePolicycorresponding to the specifiedInheritancePolicyType
-