================================ DocumentClassIsDefinedOnDocument ================================ .. rubric:: Description The document that contains a definition for a document class is related to the document class. .. rubric:: Definition A definition of a document class (x1) is given on a document (x2). .. image:: DocumentClassIsDefinedOnDocument.svg :: DocumentClassIsDefinedOnDocument(x1, x2) <-> ClassOfInformationObject(x1) & ClassOfInformationObject(x2) & exists u( DocumentDefinition(u) & MMT:DefinitionOfClassOfIndividualOnReferredDocument(x1, x2, u)) . .. rubric:: Roles 1. hasDocument 2. hasDocumentClass .. rubric:: Restrictions * Role filler of hasDocument must have entity type ClassOfInformationObject. * Role filler of hasDocumentClass must have entity type ClassOfInformationObject. * One of: * Role filler of hasDocument must be a specialization of Document. * Role filler of hasDocument must be used as the role filler of hasThis with respect to the :doc:`../ThisIsADocument/index` pattern. * One of: * Role filler of hasDocumentClass must be classified as DocumentClass. * Role filler of hasDocumentClass must be used as the role filler of hasThis with respect to the :doc:`../ThisIsADocumentClass/index` pattern.