Package ejava.projects.esales.dto
Class Auction
- java.lang.Object
-
- ejava.projects.esales.dto.ReferencedType
-
- ejava.projects.esales.dto.Auction
-
public class Auction extends ReferencedType
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <extension base="{http://ejava.info/eSales/1.0.2007.2}ReferencedType"> <sequence> <element name="seller" type="{http://www.w3.org/2001/XMLSchema}IDREF"/> <element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="category" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="startTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="endTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="askingPrice" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element ref="{http://ejava.info/eSales/1.0.2007.2}bid" maxOccurs="unbounded" minOccurs="0"/> <element name="purchasePrice" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="buyer" type="{http://www.w3.org/2001/XMLSchema}IDREF" minOccurs="0"/> <element name="shipTo" type="{http://www.w3.org/2001/XMLSchema}IDREF" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}integer" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected FloataskingPriceprotected List<Bid>bidprotected Objectbuyerprotected Stringcategoryprotected Stringdescriptionprotected DateendTimeprotected Integeridprotected FloatpurchasePriceprotected Objectsellerprotected ObjectshipToprotected DatestartTimeprotected Stringtitle-
Fields inherited from class ejava.projects.esales.dto.ReferencedType
refid
-
-
Constructor Summary
Constructors Constructor Description Auction()Default no-arg constructorAuction(String refid, Object seller, String title, String category, String description, Date startTime, Date endTime, Float askingPrice, List<Bid> bid, Float purchasePrice, Object buyer, Object shipTo, Integer id)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatgetAskingPrice()Gets the value of the askingPrice property.List<Bid>getBid()Gets the value of the bid property.ObjectgetBuyer()Gets the value of the buyer property.StringgetCategory()Gets the value of the category property.StringgetDescription()Gets the value of the description property.DategetEndTime()Gets the value of the endTime property.IntegergetId()Gets the value of the id property.FloatgetPurchasePrice()Gets the value of the purchasePrice property.ObjectgetSeller()Gets the value of the seller property.ObjectgetShipTo()Gets the value of the shipTo property.DategetStartTime()Gets the value of the startTime property.StringgetTitle()Gets the value of the title property.voidsetAskingPrice(Float value)Sets the value of the askingPrice property.voidsetBuyer(Object value)Sets the value of the buyer property.voidsetCategory(String value)Sets the value of the category property.voidsetDescription(String value)Sets the value of the description property.voidsetEndTime(Date value)Sets the value of the endTime property.voidsetId(Integer value)Sets the value of the id property.voidsetPurchasePrice(Float value)Sets the value of the purchasePrice property.voidsetSeller(Object value)Sets the value of the seller property.voidsetShipTo(Object value)Sets the value of the shipTo property.voidsetStartTime(Date value)Sets the value of the startTime property.voidsetTitle(String value)Sets the value of the title property.-
Methods inherited from class ejava.projects.esales.dto.ReferencedType
getRefid, setRefid
-
-
-
-
Field Detail
-
seller
protected Object seller
-
title
protected String title
-
category
protected String category
-
description
protected String description
-
startTime
protected Date startTime
-
endTime
protected Date endTime
-
askingPrice
protected Float askingPrice
-
purchasePrice
protected Float purchasePrice
-
buyer
protected Object buyer
-
shipTo
protected Object shipTo
-
id
protected Integer id
-
-
Method Detail
-
getSeller
public Object getSeller()
Gets the value of the seller property.- Returns:
- possible object is
Object
-
setSeller
public void setSeller(Object value)
Sets the value of the seller property.- Parameters:
value- allowed object isObject
-
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 isString
-
getCategory
public String getCategory()
Gets the value of the category property.- Returns:
- possible object is
String
-
setCategory
public void setCategory(String value)
Sets the value of the category property.- Parameters:
value- allowed object isString
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getStartTime
public Date getStartTime()
Gets the value of the startTime property.- Returns:
- possible object is
String
-
setStartTime
public void setStartTime(Date value)
Sets the value of the startTime property.- Parameters:
value- allowed object isString
-
getEndTime
public Date getEndTime()
Gets the value of the endTime property.- Returns:
- possible object is
String
-
setEndTime
public void setEndTime(Date value)
Sets the value of the endTime property.- Parameters:
value- allowed object isString
-
getAskingPrice
public Float getAskingPrice()
Gets the value of the askingPrice property.- Returns:
- possible object is
String
-
setAskingPrice
public void setAskingPrice(Float value)
Sets the value of the askingPrice property.- Parameters:
value- allowed object isString
-
getBid
public List<Bid> getBid()
Gets the value of the bid property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the bid property.For example, to add a new item, do as follows:
getBid().add(newItem);Objects of the following type(s) are allowed in the list
Bid
-
getPurchasePrice
public Float getPurchasePrice()
Gets the value of the purchasePrice property.- Returns:
- possible object is
String
-
setPurchasePrice
public void setPurchasePrice(Float value)
Sets the value of the purchasePrice property.- Parameters:
value- allowed object isString
-
getBuyer
public Object getBuyer()
Gets the value of the buyer property.- Returns:
- possible object is
Object
-
setBuyer
public void setBuyer(Object value)
Sets the value of the buyer property.- Parameters:
value- allowed object isObject
-
getShipTo
public Object getShipTo()
Gets the value of the shipTo property.- Returns:
- possible object is
Object
-
setShipTo
public void setShipTo(Object value)
Sets the value of the shipTo property.- Parameters:
value- allowed object isObject
-
-