Edward Kawas > MOSES-MOBY > MOSES::MOBY::Def::ServiceType

Download:
MOSES-MOBY-0.94.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 1.04   Source  

NAME ^

MOSES::MOBY::Def::ServiceType - a BioMoby service type definition

SYNOPSIS ^

 use MOSES::MOBY::Def::ServiceType;
 # create a BioMoby service type
 my $s_type = new MOSES::MOBY::Def::ServiceType
    ( name => 'Homology',
    );

 # get an LSID of a service type
 print $s_type->lsid;

 # get the service type details as a string
 print $s_type->toString;
        
 # get the service type as a string of XML
 #(same format used to register the service type)
 print $s_type->toXML->toString (1);

DESCRIPTION ^

This module contains a definition of a BioMoby Service Type. With this module, you can create a service type, set its details and then use the output from toXML to register this service type with a mobycentral registry.

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:

name
authority
email
description
parent
lsid

SUBROUTINES ^