C# Class SobekCM.Resource_Object.Bib_Info.Bibliographic_Info

Inheritance: MODS_Info, iMetadata_Module
显示文件 Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Private Properties

Property Type Description
Add_MODS void
Add_SobekCM_BibDesc void

Public Methods

Method Description
Add_Affiliation ( SobekCM.Resource_Object.Bib_Info.Affiliation_Info New_Affiliation ) : SobekCM.Resource_Object.Bib_Info.Affiliation_Info

Adds a new affiliation object directly to this item

Add_Container ( string ContainerType, string Name, int Level ) : void

Adds a new finding-guide container to the container list for this item

This can be used later to construct EADs for single item loads

Add_Manufacturer ( Publisher_Info New_Manufacturer ) : Publisher_Info

Adds a manufacturer to this resource

Add_Manufacturer ( string Name ) : Publisher_Info

Adds a manufacturer to this resource

Add_Publisher ( Publisher_Info New_Publisher ) : Publisher_Info

Adds a publisher to this resource

Add_Publisher ( string Name ) : Publisher_Info

Adds a publisher to this resource

Add_Spatial_Subject ( string SpatialTerm ) : SobekCM.Resource_Object.Bib_Info.Subject_Info_Standard

Adds a new spatial subject (non-hierarchical) to this item

Add_Temporal_Subject ( Temporal_Info New_Temporal ) : Temporal_Info

Adds a new temporal subject to this object

Add_Temporal_Subject ( int Start_Year, int End_Year, string TimePeriod ) : Temporal_Info

Adds a new temporal subject to this object

Bibliographic_Info ( ) : System

Constructor for a new instance of the Bibliographic_Info class.

Clear ( ) : void

Clears all the bibliographic data associated with this item

Clear_Affiliations ( ) : void

Clear the list of affiliations associated with this item

Clear_Containers ( ) : void

Clears all finding-guide containers associated with tis item

Clear_Manufacturers ( ) : void

Clear the list of manufacturers associated with this item

Clear_Publishers ( ) : void

Clear the list of publishers associated with this item

Clear_TemporalSubjects ( ) : void

Clear the list of temporal subjects associated with this item

Remove_Publisher ( Publisher_Info Publisher ) : void

Removes a publisher linked to this resource

Retrieve_Additional_Info_From_Database ( int ItemID, string DB_ConnectionString, SobekCM_Item BibObject, string &Error_Message ) : bool

Chance for this metadata module to load any additional data from the database when building this digital resource in memory

This module currently does no additional processing in this method

Save_Additional_Info_To_Database ( int ItemID, string DB_ConnectionString, SobekCM_Item BibObject, string &Error_Message ) : bool

Chance for this metadata module to perform any additional database work such as saving digital resource data into custom tables

This module currently does no additional processing in this method

SortSafeDate ( string DateString ) : int

Calculate the sort date for this resource

This computes the number of days since year January 1, year 1

SortSafeTitle ( string TitleString, bool UsePredeterminedSortTitle ) : string

Calculate the sort title for this resource

Private Methods

Method Description
Add_MODS ( TextWriter Results, SobekCM.Resource_Object.Metadata_Modules.VRACore.VRACore_Info VRACoreInfo ) : void

Appends this bibliographic description information as MODS to the StringBuilder object

Add_SobekCM_BibDesc ( TextWriter Results ) : void

Adds the custom SobekCM bibliographic information in the SobekCM-custom schema XML format

Method Details

Add_Affiliation() public method

Adds a new affiliation object directly to this item
public Add_Affiliation ( SobekCM.Resource_Object.Bib_Info.Affiliation_Info New_Affiliation ) : SobekCM.Resource_Object.Bib_Info.Affiliation_Info
New_Affiliation SobekCM.Resource_Object.Bib_Info.Affiliation_Info Affiliation object to add to this item
return SobekCM.Resource_Object.Bib_Info.Affiliation_Info

Add_Container() public method

Adds a new finding-guide container to the container list for this item
This can be used later to construct EADs for single item loads
public Add_Container ( string ContainerType, string Name, int Level ) : void
ContainerType string Type of container this represents (i.e., Box, Folder, etc..)
Name string Name of this container
Level int Level within the container list that this container resides
return void

Add_Manufacturer() public method

Adds a manufacturer to this resource
public Add_Manufacturer ( Publisher_Info New_Manufacturer ) : Publisher_Info
New_Manufacturer Publisher_Info New manufacturer object
return Publisher_Info

Add_Manufacturer() public method

Adds a manufacturer to this resource
public Add_Manufacturer ( string Name ) : Publisher_Info
Name string Name of the manufacturer
return Publisher_Info

Add_Publisher() public method

Adds a publisher to this resource
public Add_Publisher ( Publisher_Info New_Publisher ) : Publisher_Info
New_Publisher Publisher_Info New publisher object
return Publisher_Info

Add_Publisher() public method

Adds a publisher to this resource
public Add_Publisher ( string Name ) : Publisher_Info
Name string Name of the publisher
return Publisher_Info

Add_Spatial_Subject() public method

Adds a new spatial subject (non-hierarchical) to this item
public Add_Spatial_Subject ( string SpatialTerm ) : SobekCM.Resource_Object.Bib_Info.Subject_Info_Standard
SpatialTerm string Term for the spatial subject
return SobekCM.Resource_Object.Bib_Info.Subject_Info_Standard

Add_Temporal_Subject() public method

Adds a new temporal subject to this object
public Add_Temporal_Subject ( Temporal_Info New_Temporal ) : Temporal_Info
New_Temporal Temporal_Info Temporral subject object to add to this item
return Temporal_Info

Add_Temporal_Subject() public method

Adds a new temporal subject to this object
public Add_Temporal_Subject ( int Start_Year, int End_Year, string TimePeriod ) : Temporal_Info
Start_Year int Start year for the year range
End_Year int End year for the year range
TimePeriod string Description of the time period (i.e. 'Post-WWII')
return Temporal_Info

Bibliographic_Info() public method

Constructor for a new instance of the Bibliographic_Info class.
public Bibliographic_Info ( ) : System
return System

Clear() public method

Clears all the bibliographic data associated with this item
public Clear ( ) : void
return void

Clear_Affiliations() public method

Clear the list of affiliations associated with this item
public Clear_Affiliations ( ) : void
return void

Clear_Containers() public method

Clears all finding-guide containers associated with tis item
public Clear_Containers ( ) : void
return void

Clear_Manufacturers() public method

Clear the list of manufacturers associated with this item
public Clear_Manufacturers ( ) : void
return void

Clear_Publishers() public method

Clear the list of publishers associated with this item
public Clear_Publishers ( ) : void
return void

Clear_TemporalSubjects() public method

Clear the list of temporal subjects associated with this item
public Clear_TemporalSubjects ( ) : void
return void

Remove_Publisher() public method

Removes a publisher linked to this resource
public Remove_Publisher ( Publisher_Info Publisher ) : void
Publisher Publisher_Info Publisher to remove (if present)
return void

Retrieve_Additional_Info_From_Database() public method

Chance for this metadata module to load any additional data from the database when building this digital resource in memory
This module currently does no additional processing in this method
public Retrieve_Additional_Info_From_Database ( int ItemID, string DB_ConnectionString, SobekCM_Item BibObject, string &Error_Message ) : bool
ItemID int Primary key for this item within the SobekCM database
DB_ConnectionString string Connection string for the current database
BibObject SobekCM_Item Entire resource, in case there are dependencies between this module and somethingt in the full resource
Error_Message string In the case of an error, this contains text of the error
return bool

Save_Additional_Info_To_Database() public method

Chance for this metadata module to perform any additional database work such as saving digital resource data into custom tables
This module currently does no additional processing in this method
public Save_Additional_Info_To_Database ( int ItemID, string DB_ConnectionString, SobekCM_Item BibObject, string &Error_Message ) : bool
ItemID int Primary key for this item within the SobekCM database
DB_ConnectionString string Connection string for the current database
BibObject SobekCM_Item Entire resource, in case there are dependencies between this module and somethingt in the full resource
Error_Message string In the case of an error, this contains text of the error
return bool

SortSafeDate() public method

Calculate the sort date for this resource
This computes the number of days since year January 1, year 1
public SortSafeDate ( string DateString ) : int
DateString string Actual date of this resource
return int

SortSafeTitle() public method

Calculate the sort title for this resource
public SortSafeTitle ( string TitleString, bool UsePredeterminedSortTitle ) : string
TitleString string Actual title of this resource
UsePredeterminedSortTitle bool Flag indicates if there is already a sort title which should be used
return string