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

Public Member Functions

 DataQuantity ()
 
 DataQuantity (int id, String quantity, String unit, String description)
 
boolean equals (Object o)
 
int hashCode ()
 
int getId ()
 
void setId (int id)
 
String getQuantity ()
 
void setQuantity (String quantity)
 
String getUnit ()
 
void setUnit (String unit)
 
String getDescription ()
 
void setDescription (String description)
 

Detailed Description

Class implements data quantity 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

◆ DataQuantity() [1/2]

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

Default constructor.

◆ DataQuantity() [2/2]

eu.baltrad.dex.datasource.model.DataQuantity.DataQuantity ( int id,
String quantity,
String unit,
String description )
inline

Constructor.

Parameters
idQuantity ID
quantityQuantity identifier
unitUnit
descriptionDescription

Member Function Documentation

◆ equals()

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

Compares quantity with another object.

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

◆ getDescription()

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

Gets quantity description.

Returns
Quantity description

◆ getId()

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

Gets quantity ID.

Returns
Quantity ID

◆ getQuantity()

String eu.baltrad.dex.datasource.model.DataQuantity.getQuantity ( )
inline

Gets quantity identifier.

Returns
Quantity identifier

◆ getUnit()

String eu.baltrad.dex.datasource.model.DataQuantity.getUnit ( )
inline

Gets quantity unit.

Returns
Quantity unit

◆ hashCode()

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

Creates quantity identifier hash code.

Returns
Quantity identifier hash code or 0 if identifier is null

◆ setDescription()

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

Sets quantity description.

Parameters
descriptionQuantity description to set

◆ setId()

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

Sets quantity ID

Parameters
idQuantity ID

◆ setQuantity()

void eu.baltrad.dex.datasource.model.DataQuantity.setQuantity ( String quantity)
inline

Sets quantity identifier.

Parameters
quantityQuantity identifier to set

◆ setUnit()

void eu.baltrad.dex.datasource.model.DataQuantity.setUnit ( String unit)
inline

Sets quantity unit.

Parameters
unitQuantity unit to set

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