logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Biblio::SICI::ControlSegment - The control segment of a SICI

Attributes

       For each attribute, clearer ("clear_") and predicate ("has_") methods are provided.

       "dpi"
           The DerivativePartIdentifier tells us, what kind of thing is described by the SICI. It can take one
           of four different values:

           0  =>  SICI  describes  Serial  Item or Contribution itself 1 => SICI describes ToC of Serial Item or
           Contribution 2 => SICI describes Index of Serial Item or Contribution 3 => SICI describes Abstract of
           Serial Item or Contribution

           The default value is 0.

       "mfi"
           The Medium/FormatIdentifier can take one of these codes:

           CD => Computer-readable optical media (CD-ROM) CF => Computer-readable  magnetic  disk  media  CO  =>
           Online  (remote)  CT  => Computer-readable magnetic tape media HD => Microfilm HE => Microfiche SC =>
           Sound recording TB => Braille TH => Printed text, hardbound TL  =>  Printed  text,  looseleaf  TS  =>
           Printed  text, softcover TX => Printed text VX => Video recording ZN => Multiple physical forms ZU =>
           Physical form unknown ZZ => Other physical form

           The default value is ZU.

       "version"
           The number of the standards version to which the SICI should adhere.  The default is 2  (which  means
           Z39.56-1996), since that is also the only currently supported version.

Author

       Heiko Jansen <hjansen@cpan.org>

Description

Pleasenote: You are expected to not directly instantiate objects of this class!

       The control segment of a SICI describes various aspects of the thing referenced by the SICI using pre-
       defined codes.  The segment also contains some meta-information about the SICI itself.

Methods

       "csi"
           The  CodeStructureIdentifier  tells something about which parts of the SICI carry values.  It can
           take one of three values:

           1 => SICI for Serial Item 2 => SICI for Serial Contribution 3 => SICI for Serial  Contribution  "with
           obscure numbering"

           This method automatically derives the correct value from the presence of the respective data elements
           in  the  item and contribution segments.  If no data is present in the contribution segment the final
           default is 1.

       STRING "to_string"()
           Returns a stringified representation of the data in the control segment.

           Please note that the check digit is not considered to be a part of the control segment (but  the  "-"
           preceding it in the SICI string is).

       "reset"()
           Resets all attributes to their default values.

       BOOL "is_valid"()
           Checks if the data for the control segment conforms to the standard.

Name

       Biblio::SICI::ControlSegment - The control segment of a SICI

See Also

       Biblio::SICI::Role::ValidSegment

Synopsis

         my $sici = Biblio::SICI->new();

         $sici->control->csi(2);

Version

       version 0.04

See Also