Protege-2000 1.7

edu.stanford.smi.protege.model.framedb
Class Record

java.lang.Object
  |
  +--edu.stanford.smi.protege.model.framedb.Record

public final class Record
extends Object

A simple custom database for storing frames

Author:
Ray Fergerson

Constructor Summary
Record()
           
Record(FrameID frame, FrameID slot, FrameID facet, boolean isTemplate)
           
 
Method Summary
 void addValue(int position, Object value)
           
 void addValue(Object value)
           
 void addValues(Collection valueToAdd)
           
 void cacheHashCode()
           
 int countValues()
           
 boolean equals(Object o)
           
 FrameID getFacet()
           
 FrameID getFrame()
           
 boolean getIsTemplate()
           
 FrameID getSlot()
           
 List getValues()
           
 int hashCode()
           
 void load(FrameID frame, FrameID slot, FrameID facet, boolean isTemplate)
           
 void removeSingleValue(Object o)
           
 List setValues(Collection values)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Record

public Record()

Record

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

addValue

public void addValue(int position,
                     Object value)

addValue

public void addValue(Object value)

addValues

public void addValues(Collection valueToAdd)

cacheHashCode

public void cacheHashCode()

countValues

public int countValues()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

getFacet

public FrameID getFacet()

getFrame

public FrameID getFrame()

getIsTemplate

public boolean getIsTemplate()

getSlot

public FrameID getSlot()

getValues

public List getValues()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

load

public void load(FrameID frame,
                 FrameID slot,
                 FrameID facet,
                 boolean isTemplate)

removeSingleValue

public void removeSingleValue(Object o)

setValues

public List setValues(Collection values)

toString

public String toString()
Overrides:
toString in class Object

Protege-2000 1.7

Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.