[rules-users] Get List of FactTypes in a KnowledgeBase
Davide Sottara
dsotty at gmail.com
Wed Oct 10 16:02:40 EDT 2012
kBase --> getKnowledgePackages() --> getFactTypes()
returns the definitions for a given package
kSession --> getObjects( new ClassObjectFilter( factyype.getFactClass() ) )
returns the actual instances of a given fact type
Davide
--
View this message in context: http://drools.46999.n3.nabble.com/Get-List-of-FactTypes-in-a-KnowledgeBase-tp4020197p4020202.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list