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

Public Member Functions

boolean itsMine (Object entity)
 
- Public Member Functions inherited from org.turro.matching.ProcessMatching< PracticalWork >
void startProcess ()
 
void startProcessFor (Object entity)
 
void process (Stream< T > stream, List< IndicatorVariable > variables)
 
void processFor (T entity, List< IndicatorVariable > variables)
 
Object createInstance ()
 
void poolInstance (Object value)
 
void finishPreprocessor ()
 
String tableName ()
 

Protected Member Functions

Stream< PracticalWorkgetEntityStream ()
 
IMatching createMatchingInstance ()
 
Class instanceClass ()
 
String indicatorsRoot ()
 
String entitiesRoot ()
 
String relatedRoot ()
 
Dao createDao ()
 
- Protected Member Functions inherited from org.turro.matching.ProcessMatching< PracticalWork >
IMatching process (T entity, String relatedPath, IndicatorVariable variable)
 
void start ()
 
void end ()
 
void truncate ()
 
List< String > getSelectedPaths ()
 
void prepareProcess (List< IndicatorVariable > variables)
 
void postProcess (List< IndicatorVariable > variables)
 
void prepareEntity (T entity)
 
double calculate (MatchingSet set)
 
IMatching createMatchingInstance (String entityPath, String relatedPath, IndicatorVariable variable)
 
abstract IMatching createMatchingInstance ()
 
abstract Stream< T > getEntityStream ()
 
abstract Class instanceClass ()
 
abstract String indicatorsRoot ()
 
abstract String entitiesRoot ()
 
abstract String relatedRoot ()
 
abstract Dao createDao ()
 
Dao getDao ()
 

Detailed Description

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

Definition at line 31 of file ProcessPracticalWorkContactMatching.java.

Member Function Documentation

◆ createDao()

Dao org.turro.matching.ProcessPracticalWorkContactMatching.createDao ( )
protected

Definition at line 64 of file ProcessPracticalWorkContactMatching.java.

64  {
65  return new StudentsPU();
66  }
Here is the caller graph for this function:

◆ createMatchingInstance()

IMatching org.turro.matching.ProcessPracticalWorkContactMatching.createMatchingInstance ( )
protected

Definition at line 39 of file ProcessPracticalWorkContactMatching.java.

39  {
40  return new PracticalWorkContactMatching();
41  }

◆ entitiesRoot()

String org.turro.matching.ProcessPracticalWorkContactMatching.entitiesRoot ( )
protected

Definition at line 54 of file ProcessPracticalWorkContactMatching.java.

54  {
55  return "practicalwork";
56  }

◆ getEntityStream()

Stream<PracticalWork> org.turro.matching.ProcessPracticalWorkContactMatching.getEntityStream ( )
protected

Definition at line 34 of file ProcessPracticalWorkContactMatching.java.

34  {
35  return createDao().stream(PracticalWork.class, "select d from PracticalWork d");
36  }
Here is the call graph for this function:

◆ indicatorsRoot()

String org.turro.matching.ProcessPracticalWorkContactMatching.indicatorsRoot ( )
protected

Definition at line 49 of file ProcessPracticalWorkContactMatching.java.

49  {
50  return "student";
51  }

◆ instanceClass()

Class org.turro.matching.ProcessPracticalWorkContactMatching.instanceClass ( )
protected

Definition at line 44 of file ProcessPracticalWorkContactMatching.java.

44  {
45  return PracticalWorkContactMatching.class;
46  }

◆ itsMine()

boolean org.turro.matching.ProcessPracticalWorkContactMatching.itsMine ( Object  entity)

Definition at line 69 of file ProcessPracticalWorkContactMatching.java.

69  {
70  return entity instanceof PracticalWork;
71  }

◆ relatedRoot()

String org.turro.matching.ProcessPracticalWorkContactMatching.relatedRoot ( )
protected

Definition at line 59 of file ProcessPracticalWorkContactMatching.java.

59  {
60  return "contact";
61  }

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