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 Float
askingPrice
protected List<Bid>
bid
protected Object
buyer
protected String
category
protected String
description
protected Date
endTime
protected Integer
id
protected Float
purchasePrice
protected Object
seller
protected Object
shipTo
protected Date
startTime
protected String
title
-
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 Float
getAskingPrice()
Gets the value of the askingPrice property.List<Bid>
getBid()
Gets the value of the bid property.Object
getBuyer()
Gets the value of the buyer property.String
getCategory()
Gets the value of the category property.String
getDescription()
Gets the value of the description property.Date
getEndTime()
Gets the value of the endTime property.Integer
getId()
Gets the value of the id property.Float
getPurchasePrice()
Gets the value of the purchasePrice property.Object
getSeller()
Gets the value of the seller property.Object
getShipTo()
Gets the value of the shipTo property.Date
getStartTime()
Gets the value of the startTime property.String
getTitle()
Gets the value of the title property.void
setAskingPrice(Float value)
Sets the value of the askingPrice property.void
setBuyer(Object value)
Sets the value of the buyer property.void
setCategory(String value)
Sets the value of the category property.void
setDescription(String value)
Sets the value of the description property.void
setEndTime(Date value)
Sets the value of the endTime property.void
setId(Integer value)
Sets the value of the id property.void
setPurchasePrice(Float value)
Sets the value of the purchasePrice property.void
setSeller(Object value)
Sets the value of the seller property.void
setShipTo(Object value)
Sets the value of the shipTo property.void
setStartTime(Date value)
Sets the value of the startTime property.void
setTitle(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
set
method 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
-
-