|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.data.text.Product
public class Product
Holds a named product
| Constructor Summary | |
|---|---|
Product(String station,
String content,
Date date)
Create a product |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Compare this to o |
String |
getContent()
Get the Content property. |
Date |
getDate()
Get the Date property. |
String |
getStation()
Get the Station property. |
void |
setContent(String value)
Set the Content property. |
void |
setDate(Date value)
Set the Date property. |
void |
setStation(String value)
Set the Station property. |
String |
toString()
Get a string representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Product(String station,
String content,
Date date)
station - stationcontent - contentdate - the date| Method Detail |
|---|
public int compareTo(Object o)
compareTo in interface Comparableo - the object to compare to
public String toString()
toString in class Objectpublic void setDate(Date value)
value - The new value for Datepublic Date getDate()
public void setContent(String value)
value - The new value for Contentpublic String getContent()
public void setStation(String value)
value - The new value for Stationpublic String getStation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||