Package ucar.unidata.data.text
Class Product
java.lang.Object
ucar.unidata.data.text.Product
- All Implemented Interfaces:
Comparable
Holds a named product
- Version:
- $Revision: 1.15 $
- Author:
- IDV development team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintCompare this to oGet the Content property.getDate()Get the Date property.Get the Station property.voidsetContent(String value) Set the Content property.voidSet the Date property.voidsetStation(String value) Set the Station property.toString()Get a string representation
-
Constructor Details
-
Product
Create a product- Parameters:
station- stationcontent- contentdate- the date
-
-
Method Details
-
compareTo
Compare this to o- Specified by:
compareToin interfaceComparable- Parameters:
o- the object to compare to- Returns:
- the comparison
-
toString
Get a string representation -
setDate
Set the Date property.- Parameters:
value- The new value for Date
-
getDate
Get the Date property.- Returns:
- The Date
-
setContent
Set the Content property.- Parameters:
value- The new value for Content
-
getContent
Get the Content property.- Returns:
- The Content
-
setStation
Set the Station property.- Parameters:
value- The new value for Station
-
getStation
Get the Station property.- Returns:
- The Station
-