Bio::EnsEMBL::Variation Sample
SummaryIncluded librariesPackage variablesSynopsisDescriptionGeneral documentationMethods
Toolbar
WebCvsRaw content
Summary
Bio::EnsEMBL::Variation::Sample - An abstract base class to represent
Population, Individual or Strain
Package variables
No package variables defined.
Included modules
Bio::EnsEMBL::Storable
Bio::EnsEMBL::Utils::Argument qw ( rearrange )
Bio::EnsEMBL::Utils::Exception qw ( throw )
Inherit
Bio::EnsEMBL::Storable
Synopsis
Abstract class - should not be instantiated. Implementation of
abstract methods must be performed by subclasses.
Description
This is a base class representing population, individual and strain. This base
class is simply a way of merging similar concepts that should have the same ID
Methods
descriptionDescriptionCode
nameDescriptionCode
sizeDescriptionCode
Methods description
descriptioncode    nextTop
  Arg [1]    : string $newval (optional) 
The new value to set the description attribute to
Example : $description = $obj->description()
Description: Getter/Setter for the description attribute
Returntype : string
Exceptions : none
Caller : general
Status : At Risk
namecodeprevnextTop
  Arg [1]    : string $newval (optional)
The new value to set the name attribute to
Example : $name = $obj->name()
Description: Getter/Setter for the name attribute
Returntype : string
Exceptions : none
Caller : general
Status : At Risk
sizecodeprevnextTop
  Arg [1]    : int $newval (optional) 
The new value to set the size attribute to
Example : $size = $obj->size()
Description: Getter/Setter for the size attribute
Returntype : int
Exceptions : none
Caller : general
Status : At Risk
Methods code
descriptiondescriptionprevnextTop
sub description {
  my $self = shift;
  return $self->{'description'} = shift if(@_);
  return $self->{'description'};
}
namedescriptionprevnextTop
sub name {
  my $self = shift;
  return $self->{'name'} = shift if(@_);
  return $self->{'name'};
}
sizedescriptionprevnextTop
sub size {
  my $self = shift;
  return $self->{'size'} = shift if(@_);
  return $self->{'size'};
}


1;
}
General documentation
CONTACTTop
Post questions to the Ensembl development list: ensembl-dev@ebi.ac.uk