|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.blackledge.david.tivo.shopper.VshItem
public class VshItem
Needed, Item, Store, Category, Custom1, Custom2, Qty, Unit, Price, Coupon, Auto-Delete, Tax, Notes Needed = N for Needed, C for Completed, or blank for neither. Coupon, Auto-Delete and Tax are marked with an X if the value is true. Store, Custom2 and Price may contain multiple values separated by semi-colons (;) if that Item is assigned to multiple stores.
Constructor Summary | |
---|---|
VshItem()
|
|
VshItem(String vshLine)
|
|
VshItem(VshItem other)
Make a copy of the supplied item. |
Method Summary | |
---|---|
int |
compareTo(Object o)
|
boolean |
equals(Object obj)
|
String |
getCategory()
|
String |
getCustom1()
|
List |
getCustom2()
|
String |
getItem()
|
String |
getNeeded()
|
String |
getNotes()
|
String |
getPreviousItem()
|
List |
getPrice()
|
String |
getQty()
|
String |
getStatus()
non-Vsh status string |
List |
getStore()
|
String |
getUnit()
|
boolean |
isAutoDelete()
|
boolean |
isCompleted()
|
boolean |
isCoupon()
|
boolean |
isNeeded()
|
boolean |
isTax()
|
void |
setAutoDelete(boolean autoDelete)
|
void |
setCategory(String category)
|
void |
setCompleted()
|
void |
setCoupon(boolean coupon)
|
void |
setCustom1(String custom1)
|
void |
setCustom2(List custom2)
|
void |
setItem(String item)
|
void |
setNeeded()
|
void |
setNeeded(String needed)
|
void |
setNotes(String notes)
|
void |
setPrice(List price)
|
void |
setQty(String qty)
|
void |
setStatus(String status)
non-Vsh status string |
void |
setStore(List store)
|
void |
setTax(boolean tax)
|
void |
setUnit(String unit)
|
void |
toggleNeeded()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VshItem()
public VshItem(VshItem other)
other
- public VshItem(String vshLine)
Method Detail |
---|
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
public void setStatus(String status)
status
- public String getStatus()
public boolean isAutoDelete()
public void setAutoDelete(boolean autoDelete)
public String getCategory()
public void setCategory(String category)
public boolean isCoupon()
public void setCoupon(boolean coupon)
public String getCustom1()
public void setCustom1(String custom1)
public List getCustom2()
public void setCustom2(List custom2)
public String getItem()
public void setItem(String item)
public String getPreviousItem()
public String getNeeded()
public void setNeeded(String needed)
public boolean isNeeded()
public void setNeeded()
public boolean isCompleted()
public void setCompleted()
public String getNotes()
public void setNotes(String notes)
public List getPrice()
public void setPrice(List price)
public String getQty()
public void setQty(String qty)
public List getStore()
public void setStore(List store)
public boolean isTax()
public void setTax(boolean tax)
public String getUnit()
public void setUnit(String unit)
public void toggleNeeded()
public int compareTo(Object o)
compareTo
in interface Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |