re base code
[sdc.git] / catalog-be / src / main / java / org / openecomp / sdc / be / tosca / model / ToscaPolicyTemplate.java
1 package org.openecomp.sdc.be.tosca.model;
2
3 import java.util.List;
4 import java.util.Map;
5
6 public class ToscaPolicyTemplate {
7         private String type;
8     private IToscaMetadata metadata;
9     private Map<String, Object> properties;
10     private List<String> targets;
11     
12     public ToscaPolicyTemplate(String type, IToscaMetadata metadata, Map<String, Object> properties, List<String> targets) {
13                 this.type = type;
14                 this.metadata = metadata;
15                 this.properties = properties;
16                 this.targets = targets;
17         }
18
19         public String getType() {
20         return type;
21     }
22
23     public void setType(String type) {
24         this.type = type;
25     }
26
27     public IToscaMetadata getMetadata() {
28         return metadata;
29     }
30
31     public void setMetadata(IToscaMetadata metadata) {
32         this.metadata = metadata;
33     }
34
35     public Map<String, Object> getProperties() {
36         return properties;
37     }
38
39     public void setProperties(Map<String, Object> properties) {
40         this.properties = properties;
41     }
42
43         public List<String> getTargets() {
44                 return targets;
45         }
46
47         public void setTargets(List<String> targets) {
48                 this.targets = targets;
49         }
50     
51     
52     
53 }