C# Class SobekCM.Core.MARC.MARC_Transfer_Field

Mostra file Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Private Properties

Property Type Description
this string

Public Methods

Method Description
Add_NonRepeatable_Subfield ( char Subfield_Code, string Data ) : void

Adds a new subfield code to this MARC field or updates an existing subfield of the same code

This is used to replace a non-repeatable subfield with new data

Add_Subfield ( char Subfield_Code, string Data ) : void

Adds a new subfield code to this MARC field

Clear_Subfields ( ) : void

Clears the list of all subfields in this field

MARC_Transfer_Field ( ) : System

Constructor for a new instance of the MARC_Transfer_Field class

MARC_Transfer_Field ( int Tag, char Indicator1, char Indicator2 ) : System

Constructor for a new instance of the MARC_Field class

MARC_Transfer_Field ( int Tag, string Control_Field_Value ) : System

Constructor for a new instance of the MARC_Field class

MARC_Transfer_Field ( int Tag, string Indicators, string Control_Field_Value ) : System

Constructor for a new instance of the MARC_Field class

Subfields_By_Code ( char Subfield_Code ) : ReadOnlyCollection

Gets the colleciton of subfields by subfield code

ToString ( ) : string

Returns this data field as a simple string value

has_Subfield ( char Subfield_Code ) : bool

Returns flag indicating if this data field has the indicated subfield

Private Methods

Method Description
this ( char Subfield_Code ) : string

Method Details

Add_NonRepeatable_Subfield() public method

Adds a new subfield code to this MARC field or updates an existing subfield of the same code
This is used to replace a non-repeatable subfield with new data
public Add_NonRepeatable_Subfield ( char Subfield_Code, string Data ) : void
Subfield_Code char Code for this subfield in the MARC record field
Data string Data stored for this subfield
return void

Add_Subfield() public method

Adds a new subfield code to this MARC field
public Add_Subfield ( char Subfield_Code, string Data ) : void
Subfield_Code char Code for this subfield in the MARC record field
Data string Data stored for this subfield
return void

Clear_Subfields() public method

Clears the list of all subfields in this field
public Clear_Subfields ( ) : void
return void

MARC_Transfer_Field() public method

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

MARC_Transfer_Field() public method

Constructor for a new instance of the MARC_Field class
public MARC_Transfer_Field ( int Tag, char Indicator1, char Indicator2 ) : System
Tag int Tag for this data field
Indicator1 char First indicator
Indicator2 char Second indicator
return System

MARC_Transfer_Field() public method

Constructor for a new instance of the MARC_Field class
public MARC_Transfer_Field ( int Tag, string Control_Field_Value ) : System
Tag int Tag for this data field
Control_Field_Value string Value for this control field
return System

MARC_Transfer_Field() public method

Constructor for a new instance of the MARC_Field class
public MARC_Transfer_Field ( int Tag, string Indicators, string Control_Field_Value ) : System
Tag int Tag for this data field
Indicators string Indicators
Control_Field_Value string Value for this control field
return System

Subfields_By_Code() public method

Gets the colleciton of subfields by subfield code
public Subfields_By_Code ( char Subfield_Code ) : ReadOnlyCollection
Subfield_Code char Code for this subfield in the MARC record field
return ReadOnlyCollection

ToString() public method

Returns this data field as a simple string value
public ToString ( ) : string
return string

has_Subfield() public method

Returns flag indicating if this data field has the indicated subfield
public has_Subfield ( char Subfield_Code ) : bool
Subfield_Code char Code for the subfield in question
return bool