BrightSide Workbench Full Report + Source Code
org.turro.ranking.GenericRanking Class Reference
Inheritance diagram for org.turro.ranking.GenericRanking:
Collaboration diagram for org.turro.ranking.GenericRanking:

Public Member Functions

 GenericRanking (String entityPath, String concept, double ranking)
 
 GenericRanking (String entityPath, String concept, long ranking)
 
String getEntityPath ()
 
String getConcept ()
 
double getRanking ()
 
void setEntityPath (String entityPath)
 
void setConcept (String concept)
 
void setRanking (double value)
 
IRanking copyTo (IRanking rankingEntity)
 

Detailed Description

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

Definition at line 27 of file GenericRanking.java.

Constructor & Destructor Documentation

◆ GenericRanking() [1/2]

org.turro.ranking.GenericRanking.GenericRanking ( String  entityPath,
String  concept,
double  ranking 
)

Definition at line 33 of file GenericRanking.java.

33  {
34  this.entityPath = entityPath;
35  this.concept = concept;
36  this.ranking = ranking;
37  }

◆ GenericRanking() [2/2]

org.turro.ranking.GenericRanking.GenericRanking ( String  entityPath,
String  concept,
long  ranking 
)

Definition at line 39 of file GenericRanking.java.

39  {
40  this.entityPath = entityPath;
41  this.concept = concept;
42  this.ranking = ranking;
43  }

Member Function Documentation

◆ copyTo()

IRanking org.turro.ranking.GenericRanking.copyTo ( IRanking  rankingEntity)

Definition at line 76 of file GenericRanking.java.

76  {
77  Path path = new Path(entityPath);
78  rankingEntity.setEntityPath(path.getTill(2));
79  rankingEntity.setConcept(concept);
80  rankingEntity.setRanking(ranking);
81  return rankingEntity;
82  }
Here is the call graph for this function:

◆ getConcept()

String org.turro.ranking.GenericRanking.getConcept ( )

Implements org.turro.ranking.IRanking.

Definition at line 51 of file GenericRanking.java.

51  {
52  return concept;
53  }

◆ getEntityPath()

String org.turro.ranking.GenericRanking.getEntityPath ( )

Implements org.turro.ranking.IRanking.

Definition at line 46 of file GenericRanking.java.

46  {
47  return entityPath;
48  }

◆ getRanking()

double org.turro.ranking.GenericRanking.getRanking ( )

Implements org.turro.ranking.IRanking.

Definition at line 56 of file GenericRanking.java.

56  {
57  return ranking;
58  }

◆ setConcept()

void org.turro.ranking.GenericRanking.setConcept ( String  concept)

Implements org.turro.ranking.IRanking.

Definition at line 66 of file GenericRanking.java.

66  {
67  this.concept = concept;
68  }

◆ setEntityPath()

void org.turro.ranking.GenericRanking.setEntityPath ( String  entityPath)

Implements org.turro.ranking.IRanking.

Definition at line 61 of file GenericRanking.java.

61  {
62  this.entityPath = entityPath;
63  }

◆ setRanking()

void org.turro.ranking.GenericRanking.setRanking ( double  value)

Implements org.turro.ranking.IRanking.

Definition at line 71 of file GenericRanking.java.

71  {
72  this.ranking = value;
73  }

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