Package jadex.bdi.testcases.service
Class BeliefGetter
- java.lang.Object
- 
- jadex.bridge.service.BasicService
- 
- jadex.bdi.testcases.service.BeliefGetter
 
 
- 
- All Implemented Interfaces:
- IBeliefGetter,- IInternalService,- IService
 
 public class BeliefGetter extends BasicService implements IBeliefGetter Simple service that fetches a belief value.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IExternalAccessagentThe agent's external access.- 
Fields inherited from class jadex.bridge.service.BasicServiceidcnt, impltype, internalaccess, providerid, shutdowned, sid, started, type
 - 
Fields inherited from interface jadex.bridge.service.IServiceEMPTY_SERVICES
 
- 
 - 
Constructor SummaryConstructors Constructor Description BeliefGetter(IExternalAccess agent)Create a service.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuturegetFact(java.lang.String belname)Get the fact of a belief.- 
Methods inherited from class jadex.bridge.service.BasicServicecreateServiceIdentifier, createServiceIdentifier, equals, generateServiceName, getInterfaceType, getInternalAccess, getInvokeMethod, getMethodInfos, getMethodTimeout, getPropertyMap, getProviderId, getServiceId, hashCode, initNFProperties, invokeMethod, isValid, setComponentAccess, setPropertyMap, setServiceIdentifier, shutdownService, startService, toString
 
- 
 
- 
- 
- 
Field Detail- 
agentprotected IExternalAccess agent The agent's external access.
 
- 
 - 
Constructor Detail- 
BeliefGetterpublic BeliefGetter(IExternalAccess agent) Create a service.
 
- 
 - 
Method Detail- 
getFactpublic IFuture getFact(java.lang.String belname) Get the fact of a belief.- Specified by:
- getFactin interface- IBeliefGetter
- Parameters:
- belname- The belief name.
- Returns:
- The fact.
 
 
- 
 
-