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

Public Member Functions

 GenericMatching (String entityPath, String relatedPath, String concept, double matching)
 
 GenericMatching (String entityPath, String relatedPath, String concept, long matching)
 
String getEntityPath ()
 
String getRelatedPath ()
 
String getConcept ()
 
double getMatching ()
 
void setEntityPath (String entityPath)
 
void setRelatedPath (String relatedPath)
 
void setConcept (String concept)
 
void setMatching (double matching)
 
IMatching copyTo (IMatching matchingEntity)
 

Detailed Description

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

Definition at line 27 of file GenericMatching.java.

Constructor & Destructor Documentation

◆ GenericMatching() [1/2]

org.turro.matching.GenericMatching.GenericMatching ( String  entityPath,
String  relatedPath,
String  concept,
double  matching 
)

Definition at line 34 of file GenericMatching.java.

34  {
35  this.entityPath = entityPath;
36  this.relatedPath = relatedPath;
37  this.concept = concept;
38  this.matching = matching;
39  }

◆ GenericMatching() [2/2]

org.turro.matching.GenericMatching.GenericMatching ( String  entityPath,
String  relatedPath,
String  concept,
long  matching 
)

Definition at line 41 of file GenericMatching.java.

41  {
42  this.entityPath = entityPath;
43  this.relatedPath = relatedPath;
44  this.concept = concept;
45  this.matching = matching;
46  }

Member Function Documentation

◆ copyTo()

IMatching org.turro.matching.GenericMatching.copyTo ( IMatching  matchingEntity)

Definition at line 88 of file GenericMatching.java.

88  {
89  Path path = new Path(entityPath);
90  matchingEntity.setEntityPath(path.getTill(2));
91  path = new Path(relatedPath);
92  matchingEntity.setRelatedPath(path.getTill(2));
93  matchingEntity.setConcept(concept);
94  matchingEntity.setMatching(matching);
95  return matchingEntity;
96  }
Here is the call graph for this function:

◆ getConcept()

String org.turro.matching.GenericMatching.getConcept ( )

Implements org.turro.matching.IMatching.

Definition at line 59 of file GenericMatching.java.

59  {
60  return concept;
61  }

◆ getEntityPath()

String org.turro.matching.GenericMatching.getEntityPath ( )

Implements org.turro.matching.IMatching.

Definition at line 49 of file GenericMatching.java.

49  {
50  return entityPath;
51  }

◆ getMatching()

double org.turro.matching.GenericMatching.getMatching ( )

Implements org.turro.matching.IMatching.

Definition at line 64 of file GenericMatching.java.

64  {
65  return matching;
66  }

◆ getRelatedPath()

String org.turro.matching.GenericMatching.getRelatedPath ( )

Implements org.turro.matching.IMatching.

Definition at line 54 of file GenericMatching.java.

54  {
55  return relatedPath;
56  }

◆ setConcept()

void org.turro.matching.GenericMatching.setConcept ( String  concept)

Implements org.turro.matching.IMatching.

Definition at line 79 of file GenericMatching.java.

79  {
80  this.concept = concept;
81  }

◆ setEntityPath()

void org.turro.matching.GenericMatching.setEntityPath ( String  entityPath)

Implements org.turro.matching.IMatching.

Definition at line 69 of file GenericMatching.java.

69  {
70  this.entityPath = entityPath;
71  }

◆ setMatching()

void org.turro.matching.GenericMatching.setMatching ( double  matching)

Implements org.turro.matching.IMatching.

Definition at line 84 of file GenericMatching.java.

84  {
85  this.matching = matching;
86  }

◆ setRelatedPath()

void org.turro.matching.GenericMatching.setRelatedPath ( String  relatedPath)

Implements org.turro.matching.IMatching.

Definition at line 74 of file GenericMatching.java.

74  {
75  this.relatedPath = relatedPath;
76  }

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