KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > servicemix > jbi > deployment > ServiceAssembly


1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements. See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */

17 package org.apache.servicemix.jbi.deployment;
18
19 /**
20  * @version $Revision: 426415 $
21  */

22 public class ServiceAssembly {
23
24     private Connections connections = new Connections();
25
26     private Identification identification;
27
28     private ServiceUnit[] serviceUnits;
29     
30     private String JavaDoc state = "";
31
32     public Connections getConnections() {
33         return connections;
34     }
35
36     public Identification getIdentification() {
37         return identification;
38     }
39
40     public ServiceUnit[] getServiceUnits() {
41         return serviceUnits;
42     }
43
44     /**
45      * @return Returns the state.
46      */

47     public String JavaDoc getState() {
48         return state;
49     }
50
51     public void setConnections(Connections connections) {
52         this.connections = connections;
53     }
54
55     public void setIdentification(Identification identification) {
56         this.identification = identification;
57     }
58
59     public void setServiceUnits(ServiceUnit[] serviceUnits) {
60         this.serviceUnits = serviceUnits;
61     }
62
63     /**
64      * @param state
65      * The state to set.
66      */

67     public void setState(String JavaDoc state) {
68         this.state = state;
69     }
70 }
71
Popular Tags