java.lang.Object
org.exoplatform.services.rest.generated.Book

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>
 
  • Field Details

    • title

      protected String title
    • author

      protected String author
    • price

      protected Price price
    • memberPrice

      protected MemberPrice memberPrice
    • sendByPost

      protected Boolean sendByPost
  • Constructor Details

    • Book

      public Book()
  • Method Details

    • getTitle

      public String getTitle()
      Gets the value of the title property.
      Returns:
      possible object is String
    • setTitle

      public void setTitle(String value)
      Sets the value of the title property.
      Parameters:
      value - allowed object is String
    • getAuthor

      public String getAuthor()
      Gets the value of the author property.
      Returns:
      possible object is String
    • setAuthor

      public void setAuthor(String value)
      Sets the value of the author property.
      Parameters:
      value - allowed object is String
    • getPrice

      public Price getPrice()
      Gets the value of the price property.
      Returns:
      possible object is Price
    • setPrice

      public void setPrice(Price value)
      Sets the value of the price property.
      Parameters:
      value - allowed object is Price
    • getMemberPrice

      public MemberPrice getMemberPrice()
      Gets the value of the memberPrice property.
      Returns:
      possible object is MemberPrice
    • setMemberPrice

      public void setMemberPrice(MemberPrice value)
      Sets the value of the memberPrice property.
      Parameters:
      value - allowed object is MemberPrice
    • isSendByPost

      public boolean isSendByPost()
      Gets the value of the sendByPost property.
      Returns:
      possible object is Boolean
    • setSendByPost

      public void setSendByPost(Boolean value)
      Sets the value of the sendByPost property.
      Parameters:
      value - allowed object is Boolean