de.topicmapslab.majortom.database.store
Class TopicRef

java.lang.Object
  extended by de.topicmapslab.majortom.database.store.TopicRef

public class TopicRef
extends java.lang.Object

Topic Reference container

Author:
Sven Krosse

Nested Class Summary
(package private) static class TopicRef.Type
           
 
Field Summary
private  java.lang.String locator
           
private  TopicRef.Type type
           
 
Constructor Summary
TopicRef(java.lang.String locator, TopicRef.Type type)
          constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 int hashCode()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

locator

private final java.lang.String locator

type

private final TopicRef.Type type
Constructor Detail

TopicRef

public TopicRef(java.lang.String locator,
                TopicRef.Type type)
constructor

Parameters:
locator - the locator reference
type - the reference type
Method Detail

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object