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. | |
| Relation | ( | URL | from, | |
| URL | to, | |||
| String | edgeType | |||
| ) |
Simple constructor.
| from | Relation's source | |
| to | Relation's target | |
| edgeType | Type of relation represented as string |
Definition at line 19 of file Relation.java.
| 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.
| 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().
1.5.4