root / src / com / rackspace / cloud / loadbalancer / api / client / Algorithm.java @ 6ecf99bb
History | View | Annotate | Download (738 Bytes)
1 |
package com.rackspace.cloud.loadbalancer.api.client; |
---|---|
2 |
|
3 |
import java.util.ArrayList; |
4 |
|
5 |
public class Algorithm extends Entity{ |
6 |
|
7 |
/**
|
8 |
*
|
9 |
*/
|
10 |
private static final long serialVersionUID = -6728669291005268796L; |
11 |
private static ArrayList<Algorithm> algorithms; |
12 |
private String name; |
13 |
|
14 |
/**
|
15 |
* @param name the name to set
|
16 |
*/
|
17 |
public void setName(String name) { |
18 |
this.name = name;
|
19 |
} |
20 |
/**
|
21 |
* @return the name
|
22 |
*/
|
23 |
public String getName() { |
24 |
return name;
|
25 |
} |
26 |
|
27 |
/**
|
28 |
* @return the algorithms
|
29 |
*/
|
30 |
public static ArrayList<Algorithm> getAlgorithms() { |
31 |
return algorithms;
|
32 |
} |
33 |
/**
|
34 |
* @param algorithms the algorithms to set
|
35 |
*/
|
36 |
public static void setAlgorithms(ArrayList<Algorithm> algorithms) { |
37 |
Algorithm.algorithms = algorithms; |
38 |
} |
39 |
} |