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


MOSES-MOBY documentation  | view source Contained in the MOSES-MOBY distribution.

Index


NAME

Top

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

SYNOPSIS

Top

 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

Top

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

Top

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

ACCESSIBLE ATTRIBUTES

Top

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

Top

toXML

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


MOSES-MOBY documentation  | view source Contained in the MOSES-MOBY distribution.