KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > caucho > soap > wsdl > WSDLNamedExtensibleDocumented


1
2 /*
3  * Copyright (c) 1998-2006 Caucho Technology -- all rights reserved
4  *
5  * This file is part of Resin(R) Open Source
6  *
7  * Each copy or derived work must preserve the copyright notice and this
8  * notice unmodified.
9  *
10  * Resin Open Source is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * Resin Open Source is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, or any warranty
18  * of NON-INFRINGEMENT. See the GNU General Public License for more
19  * details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with Resin Open Source; if not, write to the
23  * Free SoftwareFoundation, Inc.
24  * 59 Temple Place, Suite 330
25  * Boston, MA 02111-1307 USA
26  *
27  * @author Emil Ong
28  */

29
30 package com.caucho.soap.wsdl;
31
32 import javax.xml.bind.annotation.XmlAccessType;
33 import javax.xml.bind.annotation.XmlAccessorType;
34 import javax.xml.bind.annotation.XmlAttribute;
35
36 /**
37  * A WSDL element with arbitrary children.
38  */

39 @XmlAccessorType(XmlAccessType.FIELD)
40 public abstract class WSDLNamedExtensibleDocumented
41   extends WSDLExtensibleDocumented
42 {
43   @XmlAttribute(required=true, name="name")
44   private String JavaDoc _name;
45
46   /**
47    * Sets the message name.
48    */

49   public void setName(String JavaDoc name)
50   {
51     _name = name;
52   }
53   
54   /**
55    * Returns the message name.
56    */

57   public String JavaDoc getName()
58   {
59     return _name;
60   }
61 }
62
Popular Tags