NAME

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

SYNOPSIS

 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

A container representing a relationship of a BioMoby data type.

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:

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.