|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--Reasoner.ObjectTemplateSet
Maintains a collection of ObjectTemplate objects..
ObjectTemplate| Field Summary | |
private java.util.Hashtable |
m_template_set
|
| Constructor Summary | |
ObjectTemplateSet()
Creates an empty collection. |
|
| Method Summary | |
void |
addObjectTemplate(ObjectTemplate object_template)
Adds a ObjectTemplate to this collection. |
ObjectTemplate |
getObjectTemplate(java.lang.String template_name)
Returns an ObjectTemplate from this collection. |
int |
getObjectTemplateCount()
Returns the number of ObjectTemplatess in this collection. |
java.util.Collection |
getObjectTemplates()
Returns a list of ObjectTemplatess in this collection. |
java.lang.String |
toString()
Returns a string representation of this class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private java.util.Hashtable m_template_set
| Constructor Detail |
public ObjectTemplateSet()
| Method Detail |
public void addObjectTemplate(ObjectTemplate object_template)
throws java.lang.Exception
object_template - - the object template
java.lang.Exception - - if the object template is already present in the collection
public ObjectTemplate getObjectTemplate(java.lang.String template_name)
throws java.lang.Exception
template_name - - the template name
java.lang.Exception - - if the object template is not present in the collectionpublic java.util.Collection getObjectTemplates()
public int getObjectTemplateCount()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||