BrightSide Workbench Full Report + Source Code
org.turro.indicator.model.DefaultRelevantValue Class Reference
Inheritance diagram for org.turro.indicator.model.DefaultRelevantValue:
Collaboration diagram for org.turro.indicator.model.DefaultRelevantValue:

Public Member Functions

 DefaultRelevantValue (String name, double value, long count)
 
 DefaultRelevantValue (String name, double value, long count, boolean countBased)
 
String getName ()
 
double getValue ()
 
long getCount ()
 
boolean isCountBased ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 24 of file DefaultRelevantValue.java.

Constructor & Destructor Documentation

◆ DefaultRelevantValue() [1/2]

org.turro.indicator.model.DefaultRelevantValue.DefaultRelevantValue ( String  name,
double  value,
long  count 
)

Definition at line 32 of file DefaultRelevantValue.java.

32  {
33  this.name = name;
34  this.value = value;
35  this.count = count;
36  this.countBased = false;
37  }

◆ DefaultRelevantValue() [2/2]

org.turro.indicator.model.DefaultRelevantValue.DefaultRelevantValue ( String  name,
double  value,
long  count,
boolean  countBased 
)

Definition at line 39 of file DefaultRelevantValue.java.

39  {
40  this.name = name;
41  this.value = value;
42  this.count = count;
43  this.countBased = countBased;
44  }

Member Function Documentation

◆ getCount()

long org.turro.indicator.model.DefaultRelevantValue.getCount ( )

Implements org.turro.indicator.model.RelevantValue.

Definition at line 57 of file DefaultRelevantValue.java.

57  {
58  return count;
59  }

◆ getName()

String org.turro.indicator.model.DefaultRelevantValue.getName ( )

Implements org.turro.indicator.model.RelevantValue.

Definition at line 47 of file DefaultRelevantValue.java.

47  {
48  return name;
49  }

◆ getValue()

double org.turro.indicator.model.DefaultRelevantValue.getValue ( )

Implements org.turro.indicator.model.RelevantValue.

Definition at line 52 of file DefaultRelevantValue.java.

52  {
53  return value;
54  }

◆ isCountBased()

boolean org.turro.indicator.model.DefaultRelevantValue.isCountBased ( )

Implements org.turro.indicator.model.RelevantValue.

Definition at line 62 of file DefaultRelevantValue.java.

62  {
63  return countBased;
64  }

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