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.
BBItem
public BBItem(BBItemType type)
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.