Class ItemConsultant
java.lang.Object
edu.tufts.hrilab.consultant.Consultant<ItemReference>
edu.tufts.hrilab.abb.consultant.item.ItemConsultant
- All Implemented Interfaces:
ConsultantInterface
-
Field Summary
Fields inherited from class edu.tufts.hrilab.consultant.Consultant
defaultProperties, kbName, log, propertiesHandled, refConstructor, references, refNumber
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
addPropertiesHandled
(List<Term> properties) Updates consultant and parser if any of the members of @properties are not already handled by the Consultantprotected <U> U
localConvertToType
(Symbol refId, Class<U> type) protected <U> U
localConvertToType
(Symbol refId, Class<U> type, List<? extends Term> constraints) Methods inherited from class edu.tufts.hrilab.consultant.Consultant
addReference, assertProperties, assertProperties, convertToType, convertToType, createReference, createReferences, getActivatedEntities, getAssertedProperties, getInitialDomain, getKBName, getNextReferenceId, getPropertiesHandled, getReference, getReferenceSummaries, getReferencesWithAllProperties, getReferencesWithAnyProperties, notifyNewPropertySubscribers, process, registerForNewPropertyNotification, retractProperties, stripQuotesFromMorpheme, unregisterForNewPropertyNotification
-
Constructor Details
-
ItemConsultant
public ItemConsultant()
-
-
Method Details
-
localConvertToType
- Specified by:
localConvertToType
in classConsultant<ItemReference>
-
localConvertToType
- Specified by:
localConvertToType
in classConsultant<ItemReference>
-
addPropertiesHandled
Description copied from class:Consultant
Updates consultant and parser if any of the members of @properties are not already handled by the Consultant- Overrides:
addPropertiesHandled
in classConsultant<ItemReference>
- Parameters:
properties
- list of candidate properties- Returns:
- true if propertiesHandled is modified
-
addItem
-