BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.datasource.model.Product Class Reference
Inheritance diagram for eu.baltrad.dex.datasource.model.Product:

Public Member Functions

 Product ()
 
 Product (int id, String product, String description)
 
boolean equals (Object o)
 
int hashCode ()
 
int getId ()
 
void setId (int id)
 
String getProduct ()
 
void setProduct (String product)
 
String getDescription ()
 
void setDescription (String description)
 

Detailed Description

Class implements product according to ODIM radar data information model.

Author
Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
Version
0.6.4
Since
0.6.4

Constructor & Destructor Documentation

◆ Product() [1/2]

eu.baltrad.dex.datasource.model.Product.Product ( )
inline

Default constructor.

◆ Product() [2/2]

eu.baltrad.dex.datasource.model.Product.Product ( int id,
String product,
String description )
inline

Constructor.

Parameters
idProduct ID
quantityProduct identifier
descriptionDescription

Member Function Documentation

◆ equals()

boolean eu.baltrad.dex.datasource.model.Product.equals ( Object o)
inline

Compares product with another object.

Parameters
oObject to compare with
Returns
True if objects are equal, false otherwise

◆ getDescription()

String eu.baltrad.dex.datasource.model.Product.getDescription ( )
inline

Gets product description.

Returns
Product description

◆ getId()

int eu.baltrad.dex.datasource.model.Product.getId ( )
inline

Gets product ID.

Returns
Product ID

◆ getProduct()

String eu.baltrad.dex.datasource.model.Product.getProduct ( )
inline

Gets product identifier.

Returns
Product identifier

◆ hashCode()

int eu.baltrad.dex.datasource.model.Product.hashCode ( )
inline

Creates product identifier hash code.

Returns
Product identifier hash code or 0 if product identifier is null

◆ setDescription()

void eu.baltrad.dex.datasource.model.Product.setDescription ( String description)
inline

Sets product description.

Parameters
descriptionProduct description to set

◆ setId()

void eu.baltrad.dex.datasource.model.Product.setId ( int id)
inline

Sets product ID

Parameters
idProduct ID

◆ setProduct()

void eu.baltrad.dex.datasource.model.Product.setProduct ( String product)
inline

Sets product identifier.

Parameters
productProduct identifier to set

The documentation for this class was generated from the following file: