Relation Class Reference

List of all members.


Detailed Description

Simple structured type containing data for one relation.

This is an value type. hashCode and equals methods are overriden.

Definition at line 9 of file Relation.java.


Public Member Functions

 Relation (URL from, URL to, String edgeType)
 Simple constructor.
String toString ()
 Overriden method for debug purposes only.
boolean equals (Object obj)
int hashCode ()

Public Attributes

URL from
 Relation's source.
URL to
 Relation's target.
String edgeType
 Type of relation represented as string.

Constructor & Destructor Documentation

Relation ( URL  from,
URL  to,
String  edgeType 
)

Simple constructor.

Parameters:
from Relation's source
to Relation's target
edgeType Type of relation represented as string

Definition at line 19 of file Relation.java.


Member Function Documentation

String toString (  ) 

Overriden method for debug purposes only.

Definition at line 27 of file Relation.java.

References Relation.edgeType, Relation.from, and Relation.to.

boolean equals ( Object  obj  ) 

Definition at line 33 of file Relation.java.

References Relation.edgeType, Relation.from, and Relation.to.

int hashCode (  ) 

Definition at line 40 of file Relation.java.

References Relation.edgeType, Relation.from, and Relation.to.


Member Data Documentation

URL from

Relation's source.

Definition at line 10 of file Relation.java.

Referenced by Relation.equals(), Relation.hashCode(), and Relation.toString().

URL to

Relation's target.

Definition at line 11 of file Relation.java.

Referenced by Relation.equals(), Relation.hashCode(), and Relation.toString().

String edgeType

Type of relation represented as string.

Definition at line 12 of file Relation.java.

Referenced by Relation.equals(), Relation.hashCode(), and Relation.toString().


The documentation for this class was generated from the following file:
Generated on Sat May 3 22:56:10 2008 for SGVis by  doxygen 1.5.4