Protege 3.0

edu.stanford.smi.protege.storage.jdbc
Class DBReference

java.lang.Object
  extended byedu.stanford.smi.protege.storage.jdbc.DBReference

public class DBReference
extends Object

The equalvalent of a "reference" (see Reference) the the database. This means that frames are reference by FrameID rather than by pointer.

Author:
Ray Fergerson

Constructor Summary
DBReference(FrameID frame, FrameID slot, FrameID facet, boolean isTemplate)
           
DBReference(Frame frame, Slot slot, Facet facet, boolean isTemplate)
           
 
Method Summary
 boolean equals(Object o)
           
static boolean equals(Object o1, Object o2)
           
 FrameID getFacet()
          Return the value of the field facet
 FrameID getFrame()
          Return the value of the field frame
 boolean getIsTemplate()
          Return the value of the field isTemplate
 FrameID getSlot()
          Return the value of the field slot
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBReference

public DBReference(Frame frame,
                   Slot slot,
                   Facet facet,
                   boolean isTemplate)

DBReference

public DBReference(FrameID frame,
                   FrameID slot,
                   FrameID facet,
                   boolean isTemplate)
Method Detail

equals

public boolean equals(Object o)

equals

public static boolean equals(Object o1,
                             Object o2)

getFacet

public FrameID getFacet()
Return the value of the field facet


getFrame

public FrameID getFrame()
Return the value of the field frame


getIsTemplate

public boolean getIsTemplate()
Return the value of the field isTemplate


getSlot

public FrameID getSlot()
Return the value of the field slot


hashCode

public int hashCode()

Protege 3.0

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2005 Stanford University.