public class ProductBooking extends Object
Java class for productBooking complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="productBooking">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="numberOfBookings" type="{http://www.w3.org/2001/XMLSchema}long"/>
<element name="price" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected long |
numberOfBookings |
protected BigDecimal |
price |
| Constructor and Description |
|---|
ProductBooking() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the value of the name property.
|
long |
getNumberOfBookings()
Gets the value of the numberOfBookings property.
|
BigDecimal |
getPrice()
Gets the value of the price property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNumberOfBookings(long value)
Sets the value of the numberOfBookings property.
|
void |
setPrice(BigDecimal value)
Sets the value of the price property.
|
protected String name
protected long numberOfBookings
protected BigDecimal price
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic long getNumberOfBookings()
public void setNumberOfBookings(long value)
public BigDecimal getPrice()
BigDecimalpublic void setPrice(BigDecimal value)
value - allowed object is
BigDecimalCopyright © 2014 OpenEstate. All rights reserved.