Class AuctionItem

    • Field Detail

      • id

        private long id
      • version

        private long version
      • productId

        private String productId
      • startDate

        private Date startDate
      • endDate

        private Date endDate
      • minBid

        private double minBid
      • closed

        private boolean closed
      • winningBid

        private Bid winningBid
    • Constructor Detail

      • AuctionItem

        public AuctionItem()
      • AuctionItem

        public AuctionItem​(long id)
    • Method Detail

      • getId

        public long getId()
      • setId

        private void setId​(long id)
      • getVersion

        public long getVersion()
      • setVersion

        public void setVersion​(long version)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getProductId

        public String getProductId()
      • setProductId

        public void setProductId​(String productId)
      • getMinBid

        public double getMinBid()
      • setMinBid

        public void setMinBid​(double minBid)
      • getEndDate

        public Date getEndDate()
      • setEndDate

        public void setEndDate​(Date endDate)
      • getStartDate

        public Date getStartDate()
      • setStartDate

        public void setStartDate​(Date startDate)
      • getOwner

        public Person getOwner()
      • setOwner

        public void setOwner​(Person owner)
      • closeBids

        public void closeBids()
      • setClosed

        public void setClosed​(boolean closed)
      • isClosed

        public boolean isClosed()
      • getBids

        public List<Bid> getBids()
      • setBids

        public void setBids​(List<Bid> bids)
      • getHighestBid

        public Bid getHighestBid()
      • getWinningBid

        public Bid getWinningBid()
      • setWinningBid

        public void setWinningBid​(Bid winningBid)