The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

MOSES::MOBY::Data::ProvisionInformation - a provision information block (PIB)

SYNOPSIS

 use MOSES::MOBY::Data::ProvisionInformation;
 my $provision = new MOSES::MOBY::Data::ProvisionInformation
    ( dbComment => 'a comment here',
      dbName    => 'myDBname',
      dbVersion => 'myVersion',
    );
 
 # get the version
 print $provision->dbVersion();

 # add software specific info
 $provision->softwareComment ('a comment here');
 print $provision->softwareComment();

 # add a comment about your service
 $provision->serviceComment ('a comment here');
 
 # retrieve an XML representation of the PIB
 print $provision->toXML->toString (2);

DESCRIPTION

This module encapsulates a Moby PIB, thus allowing you to create a syntacticly correct PIB block. For more information regarding the PIB block, please visit the biomoby.org website and read the Moby-S API.

AUTHORS

 Edward Kawas (edward.kawas [at] gmail [dot] com)
 Martin Senger (martin.senger [at] gmail [dot] com)

ACCESSIBLE ATTRIBUTES

Details are in MOSES::MOBY::Base. Here just a list of them. All of them are of type string.

softwareName
softwareVersion
softwareComment
dbName
dbVersion
dbComment
serviceComment

SUBROUTINES

toXML

Return an XML::LibXML::Element representing this data object.