org.apache.cxf.systest.jaxrs.codegen.schema
Class Book2

java.lang.Object
  extended by org.apache.cxf.systest.jaxrs.codegen.schema.Book2

public class Book2
extends Object

Java class for book2 complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="book2">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  int id
           
protected  String name
           
 
Constructor Summary
Book2()
           
 
Method Summary
 int getId()
          Gets the value of the id property.
 String getName()
          Gets the value of the name property.
 void setId(int value)
          Sets the value of the id property.
 void setName(String value)
          Sets the value of the name property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected int id

name

protected String name
Constructor Detail

Book2

public Book2()
Method Detail

getId

public int getId()
Gets the value of the id property.


setId

public void setId(int value)
Sets the value of the id property.


getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String


Apache CXF