SemanticInfo structure¶
Definition of structures, which are used to hold informations about catalogization process.
-
class
aleph.datastructures.semanticinfo.
SemanticInfo
[source]¶ This structure is used to represent informations about export progress in Aleph.
It contains informations about state of the record, so it can be tracked from edeposit project.
See
toSemanticInfo()
for details of parsing of those attributes.-
hasAcquisitionFields
¶ bool
Was the record aproved by acquisition?
-
hasISBNAgencyFields
¶ bool
Was the record approved by ISBN agency?
-
hasDescriptiveCatFields
¶ bool
Did the record get thru name description (jmenný popis).
-
hasDescriptiveCatReviewFields
¶ bool
Did the record get thru name revision (jmenná revize).
-
hasSubjectCatFields
¶ bool
Did the record get thru subject description (věcný popis).
-
hasSubjectCatReviewFields
¶ bool
Did the record get thru subject revision (věcná revize).
-
isClosed
¶ bool
Was the record closed? This sometimes happen when bad ISBN is given by creator of the record, but different is in the book.
-
isSummaryRecord
¶ bool
Is the content of FMT == “SE”?
-
contentOfFMT
¶ str, default “”
Content of FMT subrecord.
-
parsedSummaryRecordSysNumber
¶ str
Same as
summaryRecordSysNumber
but without natural language details.
-
summaryRecordSysNumber
¶ str
Identificator of the new record if .isClosed is True. Format of the string is not specified and can be different for each record.
-
static
from_xml
(xml)[source]¶ Pick informations from
MARCXMLRecord
object and use it to buildSemanticInfo
structure.Parameters: xml (str/MARCXMLRecord) – MarcXML which will be converted to SemanticInfo. In case of str, <record>
tag is required.Returns: SemanticInfo
.Return type: structure
-