KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > juddi > datatype > OverviewURL


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;
17
18 /**
19  * Used in BusinessEntity as the Name of the BusinessEntity, in BusinessService
20  * as the name of the BusinessService and in TModel as the name of the TModel.
21  *
22  * @author Steve Viens (sviens@apache.org)
23  */

24 public class OverviewURL implements RegistryObject
25 {
26   String JavaDoc urlValue;
27
28   /**
29    * Construct a new initialized name instance.
30    */

31   public OverviewURL()
32   {
33   }
34
35   /**
36    * Construct a new name with a given name.
37    *
38    * @param url The name of the new name-object.
39    */

40   public OverviewURL(String JavaDoc url)
41   {
42     this.urlValue = url;
43   }
44
45   /**
46    * Sets the name of this name-object to the new given name.
47    *
48    * @param url The new name for this name-object.
49    */

50   public void setValue(String JavaDoc url)
51   {
52     this.urlValue = url;
53   }
54
55   /**
56    * Returns the overviewURL value as a String.
57    *
58    * @return The overviewURL as a String.
59    */

60   public String JavaDoc getValue()
61   {
62     return this.urlValue;
63   }
64 }
Popular Tags