MOSES::MOBY::Def::Relationship - a definition of relationships between Moby data types


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

Index


NAME

Top

MOSES::MOBY::Def::Relationship - a definition of relationships between Moby data types

SYNOPSIS

Top

 use MOSES::MOBY::Def::Relationship;
 # create a new relationship
 my $relationship = new MOSES::MOBY::Def::Relationship
   ( memberName   => 'myArticleName',
     datatype     => 'DNASequence',
     raletionship => HASA
   );

 # get the article name of the datatype in this relationship
 print $relationship->memberName;

 # set the article name of the datatype in this relationship
 $relationship->memberName ('myNewArticleName');

DESCRIPTION

Top

A container representing a relationship of a BioMoby data type.

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:

memberName

A name how this relationship is known (an article name in the BioMoby speak).

datatype

A name of a data type that is related by this relationship.

relationship

A type of this relationship. Can be HAS, HASA or ISA.


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