entity

Class summary
entity
Method summary
equal-entity value-1 value-2
find-entity-by-id thing id
id entity
initialize-instance (entity entity) &rest initargs &key id
print-object (entity entity) stream
Function summary
make-entity id
entity    [Class]

Everything that can be bound to a slot of a primitive is an entity

:id    [Initarg]
id    [Slot]

A symbol that should be unique within an ontology.

id   entity  [Generic function]

Returns and (with setf) changes the id of the specified entity

equal-entity   value-1 value-2  [Generic function]

Return true if the given entities are equal. This function is called while revising primitives in order to detect isomorphic values for re-use, which leads to increased efficiency.

find-entity-by-id   thing id  [Generic function]

Finds an entity in thing by its id

initialize-instance   (entity entity) &rest initargs &key id  [Around method]

when :id was not passed, make a new one

print-object   (entity entity) stream  [Method]
make-entity   id  [Function]