model
Class DistanceEntity.DistanceFact

java.lang.Object
  extended by model.DistanceEntity.DistanceFact
Enclosing class:
DistanceEntity

public class DistanceEntity.DistanceFact
extends java.lang.Object

Class for storing relations added to this entity.


Field Summary
private  java.lang.String distance
          the qualitative distance
private  DistanceEntity related
          the related entity
 
Constructor Summary
DistanceEntity.DistanceFact(DistanceEntity related, java.lang.String distance)
          Constructs a distance fact.
 
Method Summary
 java.lang.String getDistance()
          Gets the qualitative distance.
 DistanceEntity getRelated()
          Gets the related entity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

related

private DistanceEntity related
the related entity


distance

private java.lang.String distance
the qualitative distance

Constructor Detail

DistanceEntity.DistanceFact

public DistanceEntity.DistanceFact(DistanceEntity related,
                                   java.lang.String distance)
Constructs a distance fact.

Parameters:
related - - the related entity
distance - - the qualitative distance
Method Detail

getRelated

public DistanceEntity getRelated()
Gets the related entity.


getDistance

public java.lang.String getDistance()
Gets the qualitative distance.