Bio-MAGE
view release on metacpan or search on metacpan
MAGE/ArrayDesign/PhysicalArrayDesign.pm view on Meta::CPAN
sub setSurfaceType {
my $self = shift;
croak(__PACKAGE__ . "::setSurfaceType: no arguments passed to setter")
unless @_;
croak(__PACKAGE__ . "::setSurfaceType: too many arguments passed to setter")
if @_ > 1;
my $val = shift;
croak(__PACKAGE__ . "::setSurfaceType: wrong type: " . ref($val) . " expected Bio::MAGE::Description::OntologyEntry") unless (not defined $val) or UNIVERSAL::isa($val,'Bio::MAGE::Description::OntologyEntry');
return $self->{__SURFACETYPE} = $val;
}
=item $val = $physicalarraydesign->getSurfaceType()
The restricted getter method for the C<surfaceType> association.
Input parameters: none
Return value: the current value of the C<surfaceType> association : an instance of type C<Bio::MAGE::Description::OntologyEntry>.
MAGE/ArrayDesign/PhysicalArrayDesign.pm view on Meta::CPAN
Exceptions: will call C<croak()> if any input parameters are specified
=cut
sub getSurfaceType {
my $self = shift;
croak(__PACKAGE__ . "::getSurfaceType: arguments passed to getter")
if @_;
my $val = shift;
return $self->{__SURFACETYPE};
}
=back
=item designProviders
( run in 0.755 second using v1.01-cache-2.11-cpan-49f99fa48dc )