+ public synchronized void put(PolicyType type) {
+ types.put(type.name(), type);
+ }
+
+ public boolean contains(String policyType) {
+ return types.containsKey(policyType);
+ }
+
+ public synchronized Collection<PolicyType> getAll() {
+ return types.values();
+ }
+
+ public int size() {
+ return types.size();