Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## pf.matcher.implementations.functional
Class SimilarityDegree

    java.lang.Object
      pf.matcher.implementations.functional.SimilarityDegree

    public class SimilarityDegree

extends java.lang.Object

This class holds a request parameter and a possible similarity degree with a service parameter.

Author:
  Rodrigo Almeida de Amorim

Field Summary
`private java.net.URI` | `requestParameter` A request parameter.
`private java.net.URI` | `serviceParameter` URI serviceParameter.
`private double` | `similarityDegree` A similarity degree between the parameters.

Constructor Summary
`SimilarityDegree(java.net.URI requestParameter, double similarityDegree, java.net.URI serviceParameter)` Constructor of the class

Method Summary
`java.net.URI` | `getRequestParameter()`
`java.net.URI` | `getServiceParameter()`
`double` | `getSimilarityDegree()`
`void` | `setRequestParameter(java.net.URI requestParameter)`
`void` | `setServiceParameter(java.net.URI serviceParametre)`
`void` | `setSimilarityDegree(double similarityDegree)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### requestParameter

    private java.net.URI requestParameter

  A request parameter.

### similarityDegree

    private double similarityDegree

  A similarity degree between the parameters.

### serviceParameter

    private java.net.URI serviceParameter

  URI serviceParameter.

Constructor Detail

### SimilarityDegree

    public SimilarityDegree(java.net.URI requestParameter,
                            double similarityDegree,
                            java.net.URI serviceParameter)

  Constructor of the class

Method Detail

### getRequestParameter

    public java.net.URI getRequestParameter()

  Returns:
    the requestParameter.

### setRequestParameter

    public void setRequestParameter(java.net.URI requestParameter)

  Parameters:
    `requestParameter` - the requestParameter to set.

### getSimilarityDegree

    public double getSimilarityDegree()

  Returns:
    the similarityDegree.

### setSimilarityDegree

    public void setSimilarityDegree(double similarityDegree)

  Parameters:
    `similarityDegree` - the similarityDegree to set.

### getServiceParameter

    public java.net.URI getServiceParameter()

  Returns:
    the serviceParameter.

### setServiceParameter

    public void setServiceParameter(java.net.URI serviceParametre)

  Parameters:
    `serviceParametre` - the serviceParameter to set.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD