BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.net.model.impl.Subscription Class Reference
Inheritance diagram for eu.baltrad.dex.net.model.impl.Subscription:
eu.baltrad.dex.net.model.ISubscription

Public Member Functions

 Subscription ()
 
 Subscription (int id, long timeStamp, String type, String user, String dataSource, boolean active, boolean sync)
 
 Subscription (long timeStamp, String type, String user, String dataSource, boolean active, boolean sync)
 
int getId ()
 
void setId (int id)
 
Date getDate ()
 
void setDate (Date date)
 
String getType ()
 
void setType (String type)
 
String getUser ()
 
void setUser (String user)
 
String getDataSource ()
 
void setDataSource (String dataSource)
 
boolean isActive ()
 
void setActive (boolean active)
 
boolean isSyncronized ()
 
void setSyncronized (boolean sync)
 

Additional Inherited Members

- Static Public Attributes inherited from eu.baltrad.dex.net.model.ISubscription
static final String LOCAL = "local"
 
static final String PEER = "peer"
 

Detailed Description

Class implements data channel subscription object.

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

Constructor & Destructor Documentation

◆ Subscription() [1/3]

eu.baltrad.dex.net.model.impl.Subscription.Subscription ( )
inline

Constructor.

◆ Subscription() [2/3]

eu.baltrad.dex.net.model.impl.Subscription.Subscription ( int id,
long timeStamp,
String type,
String user,
String dataSource,
boolean active,
boolean sync )
inline

Constructor.

Parameters
idRecord id
timestampTimestamp
typeSubscription type
userUser's name
dataSourceData source name
activeActive toggle
syncSynchronized toggle

◆ Subscription() [3/3]

eu.baltrad.dex.net.model.impl.Subscription.Subscription ( long timeStamp,
String type,
String user,
String dataSource,
boolean active,
boolean sync )
inline

Constructor.

Parameters
timeStampTimestamp
typeSubscription type
userUser's name
dataSourceData source name
activeActive toggle
syncSynchronized toggle

Member Function Documentation

◆ getDataSource()

String eu.baltrad.dex.net.model.impl.Subscription.getDataSource ( )
inline
Returns
the dataSource

Implements eu.baltrad.dex.net.model.ISubscription.

◆ getDate()

Date eu.baltrad.dex.net.model.impl.Subscription.getDate ( )
inline
  • Returns
    Date

Implements eu.baltrad.dex.net.model.ISubscription.

◆ getId()

int eu.baltrad.dex.net.model.impl.Subscription.getId ( )
inline
Returns
the id

Implements eu.baltrad.dex.net.model.ISubscription.

◆ getType()

String eu.baltrad.dex.net.model.impl.Subscription.getType ( )
inline
Returns
the type

Implements eu.baltrad.dex.net.model.ISubscription.

◆ getUser()

String eu.baltrad.dex.net.model.impl.Subscription.getUser ( )
inline
Returns
the user

Implements eu.baltrad.dex.net.model.ISubscription.

◆ isActive()

boolean eu.baltrad.dex.net.model.impl.Subscription.isActive ( )
inline
Returns
the active

Implements eu.baltrad.dex.net.model.ISubscription.

◆ isSyncronized()

boolean eu.baltrad.dex.net.model.impl.Subscription.isSyncronized ( )
inline
Returns
the sync

Implements eu.baltrad.dex.net.model.ISubscription.

◆ setActive()

void eu.baltrad.dex.net.model.impl.Subscription.setActive ( boolean active)
inline
Parameters
activethe active to set

Implements eu.baltrad.dex.net.model.ISubscription.

◆ setDataSource()

void eu.baltrad.dex.net.model.impl.Subscription.setDataSource ( String dataSource)
inline
Parameters
dataSourcethe dataSource to set

Implements eu.baltrad.dex.net.model.ISubscription.

◆ setDate()

void eu.baltrad.dex.net.model.impl.Subscription.setDate ( Date date)
inline
Parameters
dateDate to set

Implements eu.baltrad.dex.net.model.ISubscription.

◆ setId()

void eu.baltrad.dex.net.model.impl.Subscription.setId ( int id)
inline
Parameters
idthe id to set

Implements eu.baltrad.dex.net.model.ISubscription.

◆ setSyncronized()

void eu.baltrad.dex.net.model.impl.Subscription.setSyncronized ( boolean sync)
inline
Parameters
syncthe sync to set

Implements eu.baltrad.dex.net.model.ISubscription.

◆ setType()

void eu.baltrad.dex.net.model.impl.Subscription.setType ( String type)
inline
Parameters
typethe type to set

Implements eu.baltrad.dex.net.model.ISubscription.

◆ setUser()

void eu.baltrad.dex.net.model.impl.Subscription.setUser ( String user)
inline
Parameters
userthe user to set

Implements eu.baltrad.dex.net.model.ISubscription.


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