BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.status.model.Status Class Reference

Public Member Functions

 Status (int id, String nodeName, String dataSource, String subscriptionType, long subscriptionStart, boolean subscriptionActive, long downloads, long uploads, long uploadFailures)
 
 Status (long downloads, long uploads, long uploadFailures)
 
void incrementDownloads ()
 
void incrementUploads ()
 
void incrementUploadFailures ()
 
int getId ()
 
void setId (int id)
 
long getDownloads ()
 
void setDownloads (long downloads)
 
long getUploads ()
 
void setUploads (long uploads)
 
long getUploadFailures ()
 
void setUploadFailures (long uploadFailures)
 
String getNodeName ()
 
void setNodeName (String nodeName)
 
String getDataSource ()
 
void setDataSource (String dataSource)
 
String getSubscriptionType ()
 
void setSubscriptionType (String subscriptionType)
 
long getSubscriptionStart ()
 
void setSubscriptionStart (long subscriptionStart)
 
boolean getSubscriptionActive ()
 
void setSubscriptionActive (boolean subscriptionActive)
 
Date getSubscriptionStartDate ()
 
void setSubscriptionStartDate (Date subscriptionStartDate)
 

Detailed Description

Implements status object.

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

Constructor & Destructor Documentation

◆ Status() [1/2]

eu.baltrad.dex.status.model.Status.Status ( int id,
String nodeName,
String dataSource,
String subscriptionType,
long subscriptionStart,
boolean subscriptionActive,
long downloads,
long uploads,
long uploadFailures )
inline

Constructor.

Parameters
idRecord id
nodeNameNode name
dataSourceData source name
subscriptionTypeSubscription type
subscriptionStartSubscription start time
subscriptionActiveSubscription active toggle
downloadsNumber of downloaded files
uploadsNumber of uploaded files
uploadFailuresNumber of upload failures

◆ Status() [2/2]

eu.baltrad.dex.status.model.Status.Status ( long downloads,
long uploads,
long uploadFailures )
inline

Constructor.

Parameters
downloadsNumber of downloaded files
uploadsNumber of uploaded files
uploadFailuresNumber of upload failures

Member Function Documentation

◆ getDataSource()

String eu.baltrad.dex.status.model.Status.getDataSource ( )
inline
Returns
the dataSource

◆ getDownloads()

long eu.baltrad.dex.status.model.Status.getDownloads ( )
inline
Returns
the downloads

◆ getId()

int eu.baltrad.dex.status.model.Status.getId ( )
inline
Returns
the id

◆ getNodeName()

String eu.baltrad.dex.status.model.Status.getNodeName ( )
inline
Returns
the nodeName

◆ getSubscriptionActive()

boolean eu.baltrad.dex.status.model.Status.getSubscriptionActive ( )
inline
Returns
the subscriptionActive

◆ getSubscriptionStart()

long eu.baltrad.dex.status.model.Status.getSubscriptionStart ( )
inline
Returns
the subscriptionStart

◆ getSubscriptionStartDate()

Date eu.baltrad.dex.status.model.Status.getSubscriptionStartDate ( )
inline
Returns
the subscriptionStartDate

◆ getSubscriptionType()

String eu.baltrad.dex.status.model.Status.getSubscriptionType ( )
inline
Returns
the subscriptionType

◆ getUploadFailures()

long eu.baltrad.dex.status.model.Status.getUploadFailures ( )
inline
Returns
the uploadFailures

◆ getUploads()

long eu.baltrad.dex.status.model.Status.getUploads ( )
inline
Returns
the uploads

◆ incrementDownloads()

void eu.baltrad.dex.status.model.Status.incrementDownloads ( )
inline

Increment downloads counter.

◆ incrementUploadFailures()

void eu.baltrad.dex.status.model.Status.incrementUploadFailures ( )
inline

Increment upload failures counter.

◆ incrementUploads()

void eu.baltrad.dex.status.model.Status.incrementUploads ( )
inline

Increment uploads counter.

◆ setDataSource()

void eu.baltrad.dex.status.model.Status.setDataSource ( String dataSource)
inline
Parameters
dataSourcethe dataSource to set

◆ setDownloads()

void eu.baltrad.dex.status.model.Status.setDownloads ( long downloads)
inline
Parameters
downloadsthe downloads to set

◆ setId()

void eu.baltrad.dex.status.model.Status.setId ( int id)
inline
Parameters
idthe id to set

◆ setNodeName()

void eu.baltrad.dex.status.model.Status.setNodeName ( String nodeName)
inline
Parameters
nodeNamethe nodeName to set

◆ setSubscriptionActive()

void eu.baltrad.dex.status.model.Status.setSubscriptionActive ( boolean subscriptionActive)
inline
Parameters
subscriptionActivethe subscriptionActive to set

◆ setSubscriptionStart()

void eu.baltrad.dex.status.model.Status.setSubscriptionStart ( long subscriptionStart)
inline
Parameters
subscriptionStartthe subscriptionStart to set

◆ setSubscriptionStartDate()

void eu.baltrad.dex.status.model.Status.setSubscriptionStartDate ( Date subscriptionStartDate)
inline
Parameters
subscriptionStartDatethe subscriptionStartDate to set

◆ setSubscriptionType()

void eu.baltrad.dex.status.model.Status.setSubscriptionType ( String subscriptionType)
inline
Parameters
subscriptionTypethe subscriptionType to set

◆ setUploadFailures()

void eu.baltrad.dex.status.model.Status.setUploadFailures ( long uploadFailures)
inline
Parameters
uploadFailuresthe uploadFailures to set

◆ setUploads()

void eu.baltrad.dex.status.model.Status.setUploads ( long uploads)
inline
Parameters
uploadsthe uploads to set

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