Algernon Software

Uses of Interface
org.algernon.kb.AlgernonRelation

Packages that use AlgernonRelation
org.algernon   
org.algernon.aam   
org.algernon.kb   
org.algernon.kb.event   
org.algernon.kb.okbc.protege   
 

Uses of AlgernonRelation in org.algernon
 

Methods in org.algernon that return AlgernonRelation
 AlgernonRelation Algernon.createRelation(AlgernonKB kb, String slotName, Set domains, Set ranges, Integer minCardinality, Integer maxCardinality, Object defaultValue, AlgernonRelation inverseRelation)
          Creates a new relation in the given KB.
 AlgernonRelation Algernon.lookupRelation(String name)
          Returns a relation with the given name if it can find one in any of the KBs in the default KBSet.
 AlgernonRelation Algernon.lookupRelation(String name, AlgernonKB kb)
          Returns a relation with the given name if it can find one in the given KB.
 AlgernonRelation Algernon.lookupRelation(String name, AlgernonKBSet kbset)
          Returns a relation with the given name if it can find one in any of the KBs in the given KBSet.
 

Methods in org.algernon with parameters of type AlgernonRelation
 AlgernonRelation Algernon.createRelation(AlgernonKB kb, String slotName, Set domains, Set ranges, Integer minCardinality, Integer maxCardinality, Object defaultValue, AlgernonRelation inverseRelation)
          Creates a new relation in the given KB.
 boolean Algernon.relationIsFull(AlgernonFrame frame, AlgernonRelation relation)
          Returns true if the frame/relation combination is full - that is, the number of values stored in the slot is equal to the slot's maximum cardinality.
 

Uses of AlgernonRelation in org.algernon.aam
 

Methods in org.algernon.aam that return AlgernonRelation
 AlgernonRelation Processor.createRelation(AlgernonKB kb, String slotName, Set domains, Set ranges, Integer minCardinality, Integer maxCardinality, Object defaultValue, AlgernonRelation inverseRelation)
          Creates a new relation in the given KB.
 AlgernonRelation Opcode.argumentToRelation(AlgernonKB kb, LispValue relationVal)
          Utility method to convert an argument to an AlgernonClass.
 AlgernonRelation Opcode.argumentToRelation(AlgernonKBSet kb, LispValue relationVal)
          Utility method to convert an argument to an AlgernonClass.
 

Methods in org.algernon.aam with parameters of type AlgernonRelation
 AlgernonRelation Processor.createRelation(AlgernonKB kb, String slotName, Set domains, Set ranges, Integer minCardinality, Integer maxCardinality, Object defaultValue, AlgernonRelation inverseRelation)
          Creates a new relation in the given KB.
 boolean Processor.relationIsFull(AlgernonFrame frame, AlgernonRelation relation)
          Returns true if the frame/relation combination is full - that is, the number of values stored in the slot is equal to the slot's maximum cardinality.
 

Uses of AlgernonRelation in org.algernon.kb
 

Methods in org.algernon.kb that return AlgernonRelation
 AlgernonRelation AlgernonKBSet.lookupRelation(String name)
          Returns a relation with the given name if it can find one in the given KB.
 AlgernonRelation AlgernonKBSet.lookupRelation(String name, Set classes)
          Returns a relation with the given name if it can find one in the given KB.
 AlgernonRelation AlgernonKB.getDisplayNameRelation()
          Get the actual DisplayName slot.
 AlgernonRelation AlgernonKB.createRelation(String relationName, Set domains, Set ranges, Integer minCardinality, Integer maxCardinality, Object defaultValue, AlgernonRelation inverseRelation)
          Creates a new relation in the storage.
 AlgernonRelation AlgernonKB.lookupRelation(String name)
          Returns a relation with the given name, if any.
 AlgernonRelation AlgernonKB.lookupRelation(String name, Set classes)
          Returns a relation with the given name, if any.
 AlgernonRelation AlgernonKB.createRelation(String relationName, LispValue domain, LispValue range, Integer minCardinality, Integer maxCardinality, Object defaultValue, AlgernonRelation inverseRelation)
          Helper method that creates a set around single domain and range to pass into the actual createRelation method.
 AlgernonRelation AlgernonClass.lookupRelation(String name)
          Some KBMS support redefining relations (slots) at different classes.
 

Methods in org.algernon.kb with parameters of type AlgernonRelation
 void AlgernonRelation.setInverseRelation(AlgernonRelation inverseRelation)
          Sets the inverse relation of this relation.
 AlgernonRelation AlgernonKB.createRelation(String relationName, Set domains, Set ranges, Integer minCardinality, Integer maxCardinality, Object defaultValue, AlgernonRelation inverseRelation)
          Creates a new relation in the storage.
 void AlgernonKB.deleteRelation(AlgernonRelation frame)
          Deletes a frame and all of its relations from storage.
 AlgernonRelation AlgernonKB.createRelation(String relationName, LispValue domain, LispValue range, Integer minCardinality, Integer maxCardinality, Object defaultValue, AlgernonRelation inverseRelation)
          Helper method that creates a set around single domain and range to pass into the actual createRelation method.
 boolean AlgernonKB.isSimpleType(AlgernonRelation relation)
          Determines if this slot takes an atomic data type value
 boolean AlgernonKB.isSimpleType(AlgernonFrame frame, AlgernonRelation slot)
          Determines if this slot at the class takes an atomic data type value
 void AlgernonFrame.addRelationValue(AlgernonRelation relation, Object value)
          Adds the given value to the relation on this Frame.
 Collection AlgernonFrame.getPossibleRelationValues(AlgernonRelation relation)
          Returns the list of existing instances that could fill the given relation on this frame.
 Collection AlgernonFrame.getRelationValues(AlgernonRelation relation)
          Returns the relation values.
 void AlgernonFrame.deleteRelationValue(AlgernonRelation relation, Object value)
          Deletes one value of a relation on this frame.
 void AlgernonFrame.deleteRelationValues(AlgernonRelation relation, Collection values)
          Calls deleteRelationValue for each value in the Collection.
 void AlgernonFrame.deleteAllRelationValues(AlgernonRelation relation)
          Deletes all values on the given slot for this frame.
 Collection AlgernonFrame.getOwnRelationValues(AlgernonRelation slot)
          Returns a collection of the values in the given slot.
 void AlgernonClass.addRelation(AlgernonRelation relation)
          Adds a new relation to this class.
 List AlgernonClass.getRelationArgumentTypes(AlgernonRelation relation)
          Gets the argument types of a relation as defined for that class.
 void AlgernonClass.setRelationRange(AlgernonRelation relation, AlgernonClass theClass)
          Sets the range of a relation as defined on this class.
 void AlgernonClass.setRelationRange(AlgernonRelation relation, LispValue valueType)
          Sets the range of a relation as defined on this class.
 void AlgernonClass.setRelationMinCardinality(AlgernonRelation relation, Integer minCardinality)
          Sets the minimum cardinality of a relation as defined on this class.
 void AlgernonClass.setRelationMaxCardinality(AlgernonRelation relation, Integer maxCardinality)
          Sets the maximum cardinality of a relation as defined on this class.
 void AlgernonClass.setRelationDefaultValue(AlgernonRelation relation, Object defaultValue)
          Sets the default value of a relation as defined on this class.
 void AlgernonClass.setRelationInverseRelation(AlgernonRelation relation, AlgernonRelation inverseRelation)
          Sets the inverse relation of a relation as defined on this class.
 boolean AlgernonClass.hasTemplateRelation(AlgernonRelation relation)
          Returns true if the given relation is a template relation of this class.
 

Uses of AlgernonRelation in org.algernon.kb.event
 

Methods in org.algernon.kb.event that return AlgernonRelation
 AlgernonRelation KnowledgeBaseEvent.getRelation()
           
 

Uses of AlgernonRelation in org.algernon.kb.okbc.protege
 

Classes in org.algernon.kb.okbc.protege that implement AlgernonRelation
 class AlgernonProtegeRelation
          This defines an Algernon relation in Protege.
 

Methods in org.algernon.kb.okbc.protege that return AlgernonRelation
 AlgernonRelation AlgernonProtegeKB.createRelation(String relationName, LispValue domain, LispValue range, Integer minCardinality, Integer maxCardinality, Object defaultValue, AlgernonRelation inverseRelation)
          Helper method that creates a set around single domain and range to pass into the actual createRelation method.
 AlgernonRelation AlgernonProtegeKB.createRelation(String relationName, Set domains, Set ranges, Integer minCardinality, Integer maxCardinality, Object defaultValue, AlgernonRelation inverseRelation)
          Creates a new relation in this KB.
 AlgernonRelation AlgernonProtegeKB.lookupRelation(String name)
          Returns a relation with the given name if it can find one in this KB.
 AlgernonRelation AlgernonProtegeKB.lookupRelation(String name, Set classes)
           
 AlgernonRelation AlgernonProtegeKB.getDisplayNameRelation()
          Get the actual DisplayName slot.
 AlgernonRelation AlgernonProtegeClass.lookupRelation(String name)
          Returns the definition of the slot that is visible on this class.
 

Methods in org.algernon.kb.okbc.protege with parameters of type AlgernonRelation
 void AlgernonProtegeRelation.setInverseRelation(AlgernonRelation inverseRelation)
          Sets the inverse relation of this relation.
 AlgernonRelation AlgernonProtegeKB.createRelation(String relationName, LispValue domain, LispValue range, Integer minCardinality, Integer maxCardinality, Object defaultValue, AlgernonRelation inverseRelation)
          Helper method that creates a set around single domain and range to pass into the actual createRelation method.
 AlgernonRelation AlgernonProtegeKB.createRelation(String relationName, Set domains, Set ranges, Integer minCardinality, Integer maxCardinality, Object defaultValue, AlgernonRelation inverseRelation)
          Creates a new relation in this KB.
 void AlgernonProtegeKB.deleteRelation(AlgernonRelation frame)
          Deletes a relation from storage.
 boolean AlgernonProtegeKB.isSimpleType(AlgernonRelation relation)
          Determines if this slot takes an atomic data type value
 boolean AlgernonProtegeKB.isSimpleType(AlgernonFrame frame, AlgernonRelation slot)
          Determines if this slot takes an atomic data type value.
 Collection AlgernonProtegeFrame.getOwnRelationValues(AlgernonRelation slot)
          Returns a collection of the values in the given slot.
 void AlgernonProtegeFrame.addRelationValue(AlgernonRelation relation, Object value)
          Adds the given value to the relation on this Frame.
 Collection AlgernonProtegeFrame.getRelationValues(AlgernonRelation relation)
          Returns the relation values.
 Collection AlgernonProtegeFrame.getPossibleRelationValues(AlgernonRelation relation)
          Returns the list of existing instances that could fill the given relation on this frame.
 void AlgernonProtegeFrame.deleteRelationValue(AlgernonRelation relation, Object value)
          Deletes one value of a relation on this frame.
 void AlgernonProtegeFrame.deleteRelationValues(AlgernonRelation relation, Collection values)
          Calls deleteRelationValue for each value in the Collection.
 void AlgernonProtegeFrame.deleteAllRelationValues(AlgernonRelation relation)
          Deletes all values on the given slot for this frame.
 void AlgernonProtegeClass.addRelation(AlgernonRelation relation)
          Adds a new relation to this class.
 List AlgernonProtegeClass.getRelationArgumentTypes(AlgernonRelation relation)
          Gets the argument types of a relation as defined for that class.
 void AlgernonProtegeClass.setRelationRange(AlgernonRelation relation, AlgernonClass theClass)
           
 void AlgernonProtegeClass.setRelationRange(AlgernonRelation relation, LispValue valueType)
           
 void AlgernonProtegeClass.setRelationMinCardinality(AlgernonRelation relation, Integer minCardinality)
           
 void AlgernonProtegeClass.setRelationMaxCardinality(AlgernonRelation relation, Integer maxCardinality)
           
 void AlgernonProtegeClass.setRelationDefaultValue(AlgernonRelation relation, Object defaultValue)
           
 void AlgernonProtegeClass.setRelationInverseRelation(AlgernonRelation relation, AlgernonRelation inverseRelation)
           
 boolean AlgernonProtegeClass.hasTemplateRelation(AlgernonRelation relation)
          Returns true if the given relation is a template relation of this class.
 

Constructors in org.algernon.kb.okbc.protege with parameters of type AlgernonRelation
AlgernonProtegeRelation(AlgernonProtegeKB kb, String name, Object range, Integer minCardinality, Integer maxCardinality, Object defaultValue, AlgernonRelation inverseRelation)
           
 


Algernon Software