public class Book extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{}title"/>
<element ref="{}author"/>
<element ref="{}price"/>
<element ref="{}member-price"/>
</sequence>
<attribute name="send-by-post" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
author |
protected MemberPrice |
memberPrice |
protected Price |
price |
protected Boolean |
sendByPost |
protected String |
title |
| Constructor and Description |
|---|
Book() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthor()
Gets the value of the author property.
|
MemberPrice |
getMemberPrice()
Gets the value of the memberPrice property.
|
Price |
getPrice()
Gets the value of the price property.
|
String |
getTitle()
Gets the value of the title property.
|
boolean |
isSendByPost()
Gets the value of the sendByPost property.
|
void |
setAuthor(String value)
Sets the value of the author property.
|
void |
setMemberPrice(MemberPrice value)
Sets the value of the memberPrice property.
|
void |
setPrice(Price value)
Sets the value of the price property.
|
void |
setSendByPost(Boolean value)
Sets the value of the sendByPost property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
protected String title
protected String author
protected Price price
protected MemberPrice memberPrice
protected Boolean sendByPost
public String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic String getAuthor()
Stringpublic void setAuthor(String value)
value - allowed object is
Stringpublic Price getPrice()
Pricepublic void setPrice(Price value)
value - allowed object is
Pricepublic MemberPrice getMemberPrice()
MemberPricepublic void setMemberPrice(MemberPrice value)
value - allowed object is
MemberPricepublic boolean isSendByPost()
BooleanCopyright © 2012–2016 Codenvy, S.A.. All rights reserved.