Package agents.policy
Class SetPolicies.SetPolicyItems
- java.lang.Object
-
- agents.policy.SetPolicies.SetPolicyItems
-
- Enclosing class:
- SetPolicies
public class SetPolicies.SetPolicyItems extends Object
Holds set-specific support policies- Author:
- Johannes Kochems, Christoph Schimeczek
-
-
Constructor Summary
Constructors Constructor Description SetPolicyItems()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPolicyItem(PolicyItem policyItem)
Stores the givenPolicyItem
PolicyItem
getPolicyFor(PolicyItem.SupportInstrument instrument)
Gets thePolicyItem
of the givenPolicyItem.SupportInstrument
-
-
-
Method Detail
-
addPolicyItem
public void addPolicyItem(PolicyItem policyItem)
Stores the givenPolicyItem
- Parameters:
policyItem
- to be stored
-
getPolicyFor
public PolicyItem getPolicyFor(PolicyItem.SupportInstrument instrument)
Gets thePolicyItem
of the givenPolicyItem.SupportInstrument
- Parameters:
instrument
- to get thePolicyItem
for- Returns:
- the associated
PolicyItem
for the requestedPolicyItem.SupportInstrument
-
-