ontopoly.sysmodel
Class TopicMapReference

java.lang.Object
  extended by ontopoly.sysmodel.TopicMapReference
All Implemented Interfaces:
java.io.Serializable

public class TopicMapReference
extends java.lang.Object
implements java.io.Serializable

INTERNAL: Represents a topic map in the Ontopoly topic map repository.

See Also:
Serialized Form

Field Summary
protected  java.lang.String referenceId
           
 
Constructor Summary
protected TopicMapReference()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getId()
          INTERNAL: Returns the ID of the reference (like 'foo.xtm').
 java.lang.String getName()
          INTERNAL: Returns the name of the topic map.
protected  TopicMapReferenceIF getReference()
           
 int hashCode()
           
 boolean isPresent()
          INTERNAL: Tests if the topic map is actually in the repository.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

referenceId

protected java.lang.String referenceId
Constructor Detail

TopicMapReference

protected TopicMapReference()
Method Detail

getReference

protected TopicMapReferenceIF getReference()

getId

public java.lang.String getId()
INTERNAL: Returns the ID of the reference (like 'foo.xtm').


getName

public java.lang.String getName()
INTERNAL: Returns the name of the topic map. For non-Ontopoly topic maps this will be the same as the ID.


isPresent

public boolean isPresent()
INTERNAL: Tests if the topic map is actually in the repository.


equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2000-2012 Ontopia.