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>
| Modifier and Type | Field and 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 |
refid| Constructor and Description |
|---|
Auction()
Default no-arg constructor
|
Auction(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
|
| Modifier and Type | Method and 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.
|
getRefid, setRefidprotected Object seller
protected String title
protected String category
protected String description
protected Date startTime
protected Date endTime
protected Float askingPrice
protected Float purchasePrice
protected Object buyer
protected Object shipTo
protected Integer id
public Object getSeller()
Objectpublic void setSeller(Object value)
value - allowed object is
Objectpublic String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic String getCategory()
Stringpublic void setCategory(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic Date getStartTime()
Stringpublic void setStartTime(Date value)
value - allowed object is
Stringpublic Date getEndTime()
Stringpublic void setEndTime(Date value)
value - allowed object is
Stringpublic Float getAskingPrice()
Stringpublic void setAskingPrice(Float value)
value - allowed object is
Stringpublic List<Bid> getBid()
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
public Float getPurchasePrice()
Stringpublic void setPurchasePrice(Float value)
value - allowed object is
Stringpublic Object getBuyer()
Objectpublic void setBuyer(Object value)
value - allowed object is
Objectpublic Object getShipTo()
Objectpublic void setShipTo(Object value)
value - allowed object is
ObjectCopyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.