Package de.gwdg.metadataqa.marc.dao
Class MarcLeader
java.lang.Object
de.gwdg.metadataqa.marc.dao.MarcControlField
de.gwdg.metadataqa.marc.dao.MarcPositionalControlField
de.gwdg.metadataqa.marc.dao.MarcLeader
- All Implemented Interfaces:
Extractable,Validatable,Serializable
- Direct Known Subclasses:
Marc21Leader,UnimarcLeader
public abstract class MarcLeader
extends MarcPositionalControlField
implements Extractable, Validatable, Serializable
This represents the Leader field of a MARC record. Its definition is in the LeaderDefinition class for the MARC21,
and for UNIMARC, there's an avram-style definition which gets read directly into the ControlFieldDefinition class.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ControlValueprotected ControlValueprotected MarcLeader.Typeprotected ControlValueprotected ControlValueprotected ControlValueprotected ControlValueprotected ControlValueprotected ControlValueprotected ControlValueprotected ControlValueprotected ControlValueprotected MarcLeader.Typeprotected ControlValueprotected ControlValueFields inherited from class de.gwdg.metadataqa.marc.dao.MarcPositionalControlField
recordType, valuesList, valuesMapFields inherited from class de.gwdg.metadataqa.marc.dao.MarcControlField
content, definition, initializationErrors, marcRecord, validationErrors -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMarcLeader(ControlFieldDefinition definition, String content) protectedMarcLeader(ControlFieldDefinition definition, String content, MarcLeader.Type defaultType) -
Method Summary
Methods inherited from class de.gwdg.metadataqa.marc.dao.MarcPositionalControlField
getCardinality, getControlValueByPosition, getKeyValuePairs, getKeyValuePairs, getLabel, getMqTag, getTag, getValuesList, processContent, registerControlValue, setMarcRecordMethods inherited from class de.gwdg.metadataqa.marc.dao.MarcControlField
getContent, getDefinition, getInitializationErrors, getKeyValuePairs, getKeyValuePairs, getSolrKey, getValidationErrors, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.gwdg.metadataqa.marc.Extractable
getKeyValuePairs, getKeyValuePairs, getKeyValuePairsMethods inherited from interface de.gwdg.metadataqa.marc.Validatable
getValidationErrors, validate
-
Field Details
-
type
-
defaultType
-
recordLength
-
recordStatus
-
typeOfRecord
-
bibliographicLevel
-
typeOfControl
-
indicatorCount
-
subfieldCodeCount
-
baseAddressOfData
-
encodingLevel
-
descriptiveCatalogingForm
-
lengthOfTheLengthOfFieldPortion
-
lengthOfTheStartingCharacterPositionPortion
-
lengthOfTheImplementationDefinedPortion
-
-
Constructor Details
-
MarcLeader
-
MarcLeader
protected MarcLeader(ControlFieldDefinition definition, String content, MarcLeader.Type defaultType)
-
-
Method Details
-
resolve
-
resolve
-
getMap
- Overrides:
getMapin classMarcPositionalControlField
-
get
-
getRecordLength
-
getRecordStatus
-
getTypeOfRecord
-
getBibliographicLevel
-
getTypeOfControl
-
getIndicatorCount
-
getSubfieldCodeCount
-
getBaseAddressOfData
-
getEncodingLevel
- Returns:
- The encoding level of the record from the position 17 of the Leader field.
-
getDescriptiveCatalogingForm
-
getLengthOfTheLengthOfFieldPortion
-
getLengthOfTheStartingCharacterPositionPortion
-
getLengthOfTheImplementationDefinedPortion
-
getType
-
getLeaderString
-
getSubfieldByPosition
- Specified by:
getSubfieldByPositionin classMarcPositionalControlField
-