Initial OpenECOMP policy/engine commit
[policy/engine.git] / ecomp-sdk-app / src / main / java / org / openecomp / policy / adapter / PrefixIPList.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ECOMP Policy Engine
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.policy.adapter;
22
23
24
25 import java.util.ArrayList;
26 import java.util.List;
27
28
29 public class PrefixIPList {
30     protected String name;
31     protected String description;
32     protected List<AddressMembers> members;
33    /* protected String type;
34     protected String value;*/
35     
36     public String getName() {
37         return name;
38     }
39     
40     public void setName(String name) {
41         this.name = name;
42     }
43     
44     public String getDescription() {
45         return description;
46     }
47     
48     public void setDescription(String description) {
49         this.description = description;
50     }
51
52     public List<AddressMembers> getMembers() 
53     {
54         if(members==null)
55         {
56                 members= new ArrayList<AddressMembers>();
57         }
58         return this.members;
59     }
60
61         public void setMembers(List<AddressMembers> members) 
62         {
63                 this.members = members;
64         }
65     /*public String getValue() {
66         return value;
67     }
68
69    
70     public void setValue(String value) {
71         this.value = value;
72     }*/
73     
74 }