KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > juddi > datatype > binding > TModelInstanceDetails


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

16 package org.apache.juddi.datatype.binding;
17
18 import java.util.Vector JavaDoc;
19
20 import org.apache.juddi.datatype.RegistryObject;
21
22 /**
23  * Represents the "technical fingerprint". A set of 0..n references to
24  * tModelInstanceInfos that are all completely supported by this web service.
25  *
26  * @author Steve Viens (sviens@apache.org)
27  */

28 public class TModelInstanceDetails implements RegistryObject
29 {
30   // tModelInstanceInfos hold the technical service description
31
// information related to this businessService.
32
Vector JavaDoc tModelInstanceInfoVector;
33
34   /**
35    * Constructs a new empty TModelInstanceDetails.
36    */

37   public TModelInstanceDetails()
38   {
39   }
40
41   /**
42    *
43    */

44   public void addTModelInstanceInfo(TModelInstanceInfo info)
45   {
46     if (this.tModelInstanceInfoVector == null)
47       this.tModelInstanceInfoVector = new Vector JavaDoc();
48     this.tModelInstanceInfoVector.add(info);
49   }
50
51   /**
52    *
53    */

54   public Vector JavaDoc getTModelInstanceInfoVector()
55   {
56     return this.tModelInstanceInfoVector;
57   }
58
59   /**
60    *
61    */

62   public void setTModelInstanceInfoVector(Vector JavaDoc infos)
63   {
64     this.tModelInstanceInfoVector = infos;
65   }
66 }
Popular Tags