edu.mit.sketch.system
Class BBItem

java.lang.Object
  |
  +--edu.mit.sketch.system.BBItem
Direct Known Subclasses:
BBRecognitionItem

public abstract class BBItem
extends Object

Created: Wed Jan 2 11:11:26 2002
Copyright: Copyright (C) 2001 by MIT. All rights reserved.


Constructor Summary
BBItem(BBItemType type)
           
 
Method Summary
 BBItemId getId()
          Gets the value of id
 String getName()
          Gets the value of name
 BBItemType getType()
           
 boolean isa(BBItemType type)
          Check to see whether the Item has the specified type, or if it is a subtype of the specified type.
 void setName(String argName)
          Sets the value of name
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BBItem

public BBItem(BBItemType type)
Method Detail

getId

public BBItemId getId()
Gets the value of id
Returns:
the value of id

toString

public String toString()
Overrides:
toString in class Object

getName

public String getName()
Gets the value of name
Returns:
the value of name

setName

public void setName(String argName)
Sets the value of name
Parameters:
argName - Value to assign to name

getType

public BBItemType getType()

isa

public boolean isa(BBItemType type)
Check to see whether the Item has the specified type, or if it is a subtype of the specified type.