KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > config > schema > setup > TestL2S


1 /**
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.config.schema.setup;
5
6 import com.tc.exception.ImplementMe;
7 import com.terracottatech.config.Server;
8 import com.terracottatech.config.Servers;
9
10 public class TestL2S extends TestXmlObject implements Servers {
11
12   private Server[] servers;
13
14   public TestL2S(Server[] servers) {
15     this.servers = servers;
16   }
17
18   public TestL2S() {
19     this(null);
20   }
21
22   public void setServers(Server[] servers) {
23     this.servers = servers;
24   }
25
26   public Server[] getServerArray() {
27     return this.servers;
28   }
29
30   public Server getServerArray(int arg0) {
31     return this.servers[arg0];
32   }
33
34   public int sizeOfServerArray() {
35     return this.servers.length;
36   }
37
38   public void setServerArray(Server[] arg0) {
39     throw new ImplementMe();
40   }
41
42   public void setServerArray(int arg0, Server arg1) {
43     throw new ImplementMe();
44   }
45
46   public Server insertNewServer(int arg0) {
47     throw new ImplementMe();
48   }
49
50   public Server addNewServer() {
51     throw new ImplementMe();
52   }
53
54   public void removeServer(int arg0) {
55     throw new ImplementMe();
56   }
57
58 }
59
Popular Tags