C# Класс SobekCM.Resource_Object.Mapping.Bibliographic_Mapping

Static class is used to map field/value pairs into a SobekCM digital resource
Показать файл Открыть проект

Открытые методы

Метод Описание
Add_Data ( SobekCM_Item Package, string Data, string Field ) : bool

Adds a bit of data to a bibliographic package using the mapping

Add_Data ( SobekCM_Item Package, string Data, string Field, string &Message ) : bool

Adds a bit of data to a bibliographic package using the mapping

Set_Mappings ( ) : void

Sets the mapping configuration and builds the iBibliographicMapper objects to handle the incoming field/value pairs

The configuration is loaded from the ResourceObjectSettings metadata configuration values.

Set_Mappings ( List MapperConfigs ) : void

Sets the mapping configuration and builds the iBibliographicMapper objects to handle the incoming field/value pairs

Verify_Initialization ( ) : void

Verified the iBibliographicMapper objects were loaded from the configuration, and loads if different

The configuration is loaded from the ResourceObjectSettings metadata configuration values.

Verify_Initialization ( List MapperConfigs ) : void

Verified the iBibliographicMapper objects were loaded from the configuration, and loads if different

Приватные методы

Метод Описание
Bibliographic_Mapping ( ) : System

Initializes the static class

Описание методов

Add_Data() публичный статический Метод

Adds a bit of data to a bibliographic package using the mapping
public static Add_Data ( SobekCM_Item Package, string Data, string Field ) : bool
Package SobekCM_Item Bibliographic package to receive the data
Data string Text of the data
Field string Mapped field
Результат bool

Add_Data() публичный статический Метод

Adds a bit of data to a bibliographic package using the mapping
public static Add_Data ( SobekCM_Item Package, string Data, string Field, string &Message ) : bool
Package SobekCM_Item Bibliographic package to receive the data
Data string Text of the data
Field string Mapped field
Message string [OUT] Message also indicates if the field was mapped, and which mapper found the match
Результат bool

Set_Mappings() публичный статический Метод

Sets the mapping configuration and builds the iBibliographicMapper objects to handle the incoming field/value pairs
The configuration is loaded from the ResourceObjectSettings metadata configuration values.
public static Set_Mappings ( ) : void
Результат void

Set_Mappings() публичный статический Метод

Sets the mapping configuration and builds the iBibliographicMapper objects to handle the incoming field/value pairs
public static Set_Mappings ( List MapperConfigs ) : void
MapperConfigs List Mapper configuration values, used to determine which mappers to /// create, and in what order
Результат void

Verify_Initialization() публичный статический Метод

Verified the iBibliographicMapper objects were loaded from the configuration, and loads if different
The configuration is loaded from the ResourceObjectSettings metadata configuration values.
public static Verify_Initialization ( ) : void
Результат void

Verify_Initialization() публичный статический Метод

Verified the iBibliographicMapper objects were loaded from the configuration, and loads if different
public static Verify_Initialization ( List MapperConfigs ) : void
MapperConfigs List Mapper configuration values, used to determine which mappers to /// create, and in what order
Результат void