Statistics
| Branch: | Revision:

root / src / com / rackspace / cloud / loadbalancer / api / client / NetworkItem.java @ c25e8fa0

History | View | Annotate | Download (1016 Bytes)

1
package com.rackspace.cloud.loadbalancer.api.client;
2

    
3
import java.util.ArrayList;
4

    
5
public class NetworkItem extends Entity{
6

    
7
        /**
8
         * 
9
         */
10
        private static final long serialVersionUID = 8134384955296218387L;
11
        
12
        private static ArrayList<NetworkItem> networkItems;
13
        private String address;
14
        private String type;
15

    
16
        /**
17
         * @param address the address to set
18
         */
19
        public void setAddress(String address) {
20
                this.address = address;
21
        }
22
        /**
23
         * @return the address
24
         */
25
        public String getAddress() {
26
                return address;
27
        }
28
        
29
        /**
30
         * @param type the type to set
31
         */
32
        public void setType(String type) {
33
                this.type = type.toUpperCase();
34
        }
35
        /**
36
         * @return the type
37
         */
38
        public String getType() {
39
                return type;
40
        }
41
        
42
        /**
43
         * @return the networkItems
44
         */
45
        public static ArrayList<NetworkItem> getNetworkItems() {
46
                return networkItems;
47
        }
48
        /**
49
         * @param networkItems the etworkItems to set
50
         */
51
        public static void setNetworkItems(ArrayList<NetworkItem> networkItems) {
52
                NetworkItem.networkItems = networkItems;
53
        }
54
        
55

    
56
}