.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "MAGE::Array::Array 3pm" .TH MAGE::Array::Array 3pm "2020-11-27" "perl v5.32.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Bio::MAGE::Array::Array \- Class for the MAGE\-OM API .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 1 \& use Bio::MAGE::Array::Array \& \& # creating an empty instance \& my $array = Bio::MAGE::Array::Array\->new(); \& \& # creating an instance with existing data \& my $array = Bio::MAGE::Array::Array\->new( \& arrayXOrigin=>$arrayxorigin_val, \& name=>$name_val, \& arrayYOrigin=>$arrayyorigin_val, \& identifier=>$identifier_val, \& arrayIdentifier=>$arrayidentifier_val, \& originRelativeTo=>$originrelativeto_val, \& arrayGroup=>$arraygroup_ref, \& arrayDesign=>$arraydesign_ref, \& information=>$arraymanufacture_ref, \& auditTrail=>\e@audit_list, \& propertySets=>\e@namevaluetype_list, \& descriptions=>\e@description_list, \& security=>$security_ref, \& arrayManufactureDeviations=>\e@arraymanufacturedeviation_list, \& ); \& \& \& # \*(AqarrayXOrigin\*(Aq attribute \& my $arrayXOrigin_val = $array\->arrayXOrigin(); # getter \& $array\->arrayXOrigin($value); # setter \& \& # \*(Aqname\*(Aq attribute \& my $name_val = $array\->name(); # getter \& $array\->name($value); # setter \& \& # \*(AqarrayYOrigin\*(Aq attribute \& my $arrayYOrigin_val = $array\->arrayYOrigin(); # getter \& $array\->arrayYOrigin($value); # setter \& \& # \*(Aqidentifier\*(Aq attribute \& my $identifier_val = $array\->identifier(); # getter \& $array\->identifier($value); # setter \& \& # \*(AqarrayIdentifier\*(Aq attribute \& my $arrayIdentifier_val = $array\->arrayIdentifier(); # getter \& $array\->arrayIdentifier($value); # setter \& \& # \*(AqoriginRelativeTo\*(Aq attribute \& my $originRelativeTo_val = $array\->originRelativeTo(); # getter \& $array\->originRelativeTo($value); # setter \& \& \& # \*(AqarrayGroup\*(Aq association \& my $arraygroup_ref = $array\->arrayGroup(); # getter \& $array\->arrayGroup($arraygroup_ref); # setter \& \& # \*(AqarrayDesign\*(Aq association \& my $arraydesign_ref = $array\->arrayDesign(); # getter \& $array\->arrayDesign($arraydesign_ref); # setter \& \& # \*(Aqinformation\*(Aq association \& my $arraymanufacture_ref = $array\->information(); # getter \& $array\->information($arraymanufacture_ref); # setter \& \& # \*(AqauditTrail\*(Aq association \& my $audit_array_ref = $array\->auditTrail(); # getter \& $array\->auditTrail(\e@audit_list); # setter \& \& # \*(AqpropertySets\*(Aq association \& my $namevaluetype_array_ref = $array\->propertySets(); # getter \& $array\->propertySets(\e@namevaluetype_list); # setter \& \& # \*(Aqdescriptions\*(Aq association \& my $description_array_ref = $array\->descriptions(); # getter \& $array\->descriptions(\e@description_list); # setter \& \& # \*(Aqsecurity\*(Aq association \& my $security_ref = $array\->security(); # getter \& $array\->security($security_ref); # setter \& \& # \*(AqarrayManufactureDeviations\*(Aq association \& my $arraymanufacturedeviation_array_ref = $array\->arrayManufactureDeviations(); # getter \& $array\->arrayManufactureDeviations(\e@arraymanufacturedeviation_list); # setter .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" From the MAGE-OM documentation for the \f(CW\*(C`Array\*(C'\fR class: .PP The physical substrate along with its features and their annotation .SH "INHERITANCE" .IX Header "INHERITANCE" Bio::MAGE::Array::Array has the following superclasses: .IP "\(bu" 4 Bio::MAGE::Identifiable .SH "CLASS METHODS" .IX Header "CLASS METHODS" The following methods can all be called without first having an instance of the class via the Bio::MAGE::Array::Array\->\fBmethodname()\fR syntax. .IP "\fBnew()\fR" 4 .IX Item "new()" .PD 0 .IP "new(%args)" 4 .IX Item "new(%args)" .PD The object constructor \f(CW\*(C`new()\*(C'\fR accepts the following optional named-value style arguments: .RS 4 .IP "\(bu" 4 arrayXOrigin .Sp Sets the value of the \f(CW\*(C`arrayXOrigin\*(C'\fR attribute .IP "\(bu" 4 name .Sp Sets the value of the \f(CW\*(C`name\*(C'\fR attribute (this attribute was inherited from class \f(CW\*(C`Bio::MAGE::Identifiable\*(C'\fR). .IP "\(bu" 4 arrayYOrigin .Sp Sets the value of the \f(CW\*(C`arrayYOrigin\*(C'\fR attribute .IP "\(bu" 4 identifier .Sp Sets the value of the \f(CW\*(C`identifier\*(C'\fR attribute (this attribute was inherited from class \f(CW\*(C`Bio::MAGE::Identifiable\*(C'\fR). .IP "\(bu" 4 arrayIdentifier .Sp Sets the value of the \f(CW\*(C`arrayIdentifier\*(C'\fR attribute .IP "\(bu" 4 originRelativeTo .Sp Sets the value of the \f(CW\*(C`originRelativeTo\*(C'\fR attribute .IP "\(bu" 4 arrayGroup .Sp Sets the value of the \f(CW\*(C`arrayGroup\*(C'\fR association .Sp The value must be of type: instance of \f(CW\*(C`Bio::MAGE::Array::ArrayGroup\*(C'\fR. .IP "\(bu" 4 arrayDesign .Sp Sets the value of the \f(CW\*(C`arrayDesign\*(C'\fR association .Sp The value must be of type: instance of \f(CW\*(C`Bio::MAGE::ArrayDesign::ArrayDesign\*(C'\fR. .IP "\(bu" 4 auditTrail .Sp Sets the value of the \f(CW\*(C`auditTrail\*(C'\fR association (this association was inherited from class \f(CW\*(C`Bio::MAGE::Describable\*(C'\fR). .Sp The value must be of type: array of \f(CW\*(C`Bio::MAGE::AuditAndSecurity::Audit\*(C'\fR. .IP "\(bu" 4 information .Sp Sets the value of the \f(CW\*(C`information\*(C'\fR association .Sp The value must be of type: instance of \f(CW\*(C`Bio::MAGE::Array::ArrayManufacture\*(C'\fR. .IP "\(bu" 4 propertySets .Sp Sets the value of the \f(CW\*(C`propertySets\*(C'\fR association (this association was inherited from class \f(CW\*(C`Bio::MAGE::Extendable\*(C'\fR). .Sp The value must be of type: array of \f(CW\*(C`Bio::MAGE::NameValueType\*(C'\fR. .IP "\(bu" 4 descriptions .Sp Sets the value of the \f(CW\*(C`descriptions\*(C'\fR association (this association was inherited from class \f(CW\*(C`Bio::MAGE::Describable\*(C'\fR). .Sp The value must be of type: array of \f(CW\*(C`Bio::MAGE::Description::Description\*(C'\fR. .IP "\(bu" 4 security .Sp Sets the value of the \f(CW\*(C`security\*(C'\fR association (this association was inherited from class \f(CW\*(C`Bio::MAGE::Describable\*(C'\fR). .Sp The value must be of type: instance of \f(CW\*(C`Bio::MAGE::AuditAndSecurity::Security\*(C'\fR. .IP "\(bu" 4 arrayManufactureDeviations .Sp Sets the value of the \f(CW\*(C`arrayManufactureDeviations\*(C'\fR association .Sp The value must be of type: array of \f(CW\*(C`Bio::MAGE::Array::ArrayManufactureDeviation\*(C'\fR. .RE .RS 4 .RE .ie n .IP "$obj = class\->new(%parameters)" 4 .el .IP "\f(CW$obj\fR = class\->new(%parameters)" 4 .IX Item "$obj = class->new(%parameters)" The \f(CW\*(C`new()\*(C'\fR method is the class constructor. .Sp \&\fBParameters\fR: if given a list of name/value parameters the corresponding slots, attributes, or associations will have their initial values set by the constructor. .Sp \&\fBReturn value\fR: It returns a reference to an object of the class. .Sp \&\fBSide effects\fR: It invokes the \f(CW\*(C`initialize()\*(C'\fR method if it is defined by the class. .ie n .IP "@names = class\->\fBget_slot_names()\fR" 4 .el .IP "\f(CW@names\fR = class\->\fBget_slot_names()\fR" 4 .IX Item "@names = class->get_slot_names()" The \f(CW\*(C`get_slot_names()\*(C'\fR method is used to retrieve the name of all slots defined in a given class. .Sp \&\fB\s-1NOTE\s0\fR: the list of names does not include attribute or association names. .Sp \&\fBReturn value\fR: A list of the names of all slots defined for this class. .Sp \&\fBSide effects\fR: none .ie n .IP "@name_list = \fBget_attribute_names()\fR" 4 .el .IP "\f(CW@name_list\fR = \fBget_attribute_names()\fR" 4 .IX Item "@name_list = get_attribute_names()" returns the list of attribute data members for this class. .ie n .IP "@name_list = \fBget_association_names()\fR" 4 .el .IP "\f(CW@name_list\fR = \fBget_association_names()\fR" 4 .IX Item "@name_list = get_association_names()" returns the list of association data members for this class. .ie n .IP "@class_list = \fBget_superclasses()\fR" 4 .el .IP "\f(CW@class_list\fR = \fBget_superclasses()\fR" 4 .IX Item "@class_list = get_superclasses()" returns the list of superclasses for this class. .ie n .IP "@class_list = \fBget_subclasses()\fR" 4 .el .IP "\f(CW@class_list\fR = \fBget_subclasses()\fR" 4 .IX Item "@class_list = get_subclasses()" returns the list of subclasses for this class. .ie n .IP "$name = \fBclass_name()\fR" 4 .el .IP "\f(CW$name\fR = \fBclass_name()\fR" 4 .IX Item "$name = class_name()" Returns the full class name for this class. .ie n .IP "$package_name = \fBpackage_name()\fR" 4 .el .IP "\f(CW$package_name\fR = \fBpackage_name()\fR" 4 .IX Item "$package_name = package_name()" Returns the base package name (i.e. no 'namespace::') of the package that contains this class. .ie n .IP "%assns = \fBassociations()\fR" 4 .el .IP "\f(CW%assns\fR = \fBassociations()\fR" 4 .IX Item "%assns = associations()" returns the association meta-information in a hash where the keys are the association names and the values are \f(CW\*(C`Association\*(C'\fR objects that provide the meta-information for the association. .SH "INSTANCE METHODS" .IX Header "INSTANCE METHODS" .ie n .IP "$obj_copy = $obj\->\fBnew()\fR" 4 .el .IP "\f(CW$obj_copy\fR = \f(CW$obj\fR\->\fBnew()\fR" 4 .IX Item "$obj_copy = $obj->new()" When invoked with an existing object reference and not a class name, the \f(CW\*(C`new()\*(C'\fR method acts as a copy constructor \- with the new object's initial values set to be those of the existing object. .Sp \&\fBParameters\fR: No input parameters are used in the copy constructor, the initial values are taken directly from the object to be copied. .Sp \&\fBReturn value\fR: It returns a reference to an object of the class. .Sp \&\fBSide effects\fR: It invokes the \f(CW\*(C`initialize()\*(C'\fR method if it is defined by the class. .ie n .IP "$obj\->set_slots(%parameters)" 4 .el .IP "\f(CW$obj\fR\->set_slots(%parameters)" 4 .IX Item "$obj->set_slots(%parameters)" .PD 0 .ie n .IP "$obj\->set_slots(\e@name_list, \e@value_list)" 4 .el .IP "\f(CW$obj\fR\->set_slots(\e@name_list, \e@value_list)" 4 .IX Item "$obj->set_slots(@name_list, @value_list)" .PD The \f(CW\*(C`set_slots()\*(C'\fR method is used to set a number of slots at the same time. It has two different invocation methods. The first takes a named parameter list, and the second takes two array references. .Sp \&\fBReturn value\fR: none .Sp \&\fBSide effects\fR: will call \f(CW\*(C`croak()\*(C'\fR if a slot_name is used that the class does not define. .ie n .IP "@obj_list = $obj\->get_slots(@name_list)" 4 .el .IP "\f(CW@obj_list\fR = \f(CW$obj\fR\->get_slots(@name_list)" 4 .IX Item "@obj_list = $obj->get_slots(@name_list)" The \f(CW\*(C`get_slots()\*(C'\fR method is used to get the values of a number of slots at the same time. .Sp \&\fBReturn value\fR: a list of instance objects .Sp \&\fBSide effects\fR: none .ie n .IP "$val = $obj\->set_slot($name,$val)" 4 .el .IP "\f(CW$val\fR = \f(CW$obj\fR\->set_slot($name,$val)" 4 .IX Item "$val = $obj->set_slot($name,$val)" The \f(CW\*(C`set_slot()\*(C'\fR method sets the slot \f(CW$name\fR to the value \f(CW$val\fR .Sp \&\fBReturn value\fR: the new value of the slot, i.e. \f(CW$val\fR .Sp \&\fBSide effects\fR: none .ie n .IP "$val = $obj\->get_slot($name)" 4 .el .IP "\f(CW$val\fR = \f(CW$obj\fR\->get_slot($name)" 4 .IX Item "$val = $obj->get_slot($name)" The \f(CW\*(C`get_slot()\*(C'\fR method is used to get the values of a number of slots at the same time. .Sp \&\fBReturn value\fR: a single slot value, or undef if the slot has not been initialized. .Sp \&\fBSide effects\fR: none .SS "\s-1ATTRIBUTES\s0" .IX Subsection "ATTRIBUTES" Attributes are simple data types that belong to a single instance of a class. In the Perl implementation of the MAGE-OM classes, the interface to attributes is implemented using separate setter and getter methods for each attribute. .PP \&\f(CW\*(C`Bio::MAGE::Array::Array\*(C'\fR has the following attribute accessor methods: .IP "arrayXOrigin" 4 .IX Item "arrayXOrigin" Methods for the \f(CW\*(C`arrayXOrigin\*(C'\fR attribute. .Sp From the MAGE-OM documentation: .Sp This can indicate the x position on a slide, chip, etc. of the first Feature and is usually specified relative to the fiducial. .RS 4 .ie n .IP "$val = $array\->setArrayXOrigin($val)" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->setArrayXOrigin($val)" 4 .IX Item "$val = $array->setArrayXOrigin($val)" The restricted setter method for the \f(CW\*(C`arrayXOrigin\*(C'\fR attribute. .Sp Input parameters: the value to which the \f(CW\*(C`arrayXOrigin\*(C'\fR attribute will be set .Sp Return value: the current value of the \f(CW\*(C`arrayXOrigin\*(C'\fR attribute .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if too many input parameters are specified .ie n .IP "$val = $array\->\fBgetArrayXOrigin()\fR" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->\fBgetArrayXOrigin()\fR" 4 .IX Item "$val = $array->getArrayXOrigin()" The restricted getter method for the \f(CW\*(C`arrayXOrigin\*(C'\fR attribute. .Sp Input parameters: none .Sp Return value: the current value of the \f(CW\*(C`arrayXOrigin\*(C'\fR attribute .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if any input parameters are specified .RE .RS 4 .RE .IP "name" 4 .IX Item "name" Methods for the \f(CW\*(C`name\*(C'\fR attribute. .Sp From the MAGE-OM documentation: .Sp The potentially ambiguous common identifier. .RS 4 .ie n .IP "$val = $array\->setName($val)" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->setName($val)" 4 .IX Item "$val = $array->setName($val)" The restricted setter method for the \f(CW\*(C`name\*(C'\fR attribute. .Sp Input parameters: the value to which the \f(CW\*(C`name\*(C'\fR attribute will be set .Sp Return value: the current value of the \f(CW\*(C`name\*(C'\fR attribute .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if too many input parameters are specified .ie n .IP "$val = $array\->\fBgetName()\fR" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->\fBgetName()\fR" 4 .IX Item "$val = $array->getName()" The restricted getter method for the \f(CW\*(C`name\*(C'\fR attribute. .Sp Input parameters: none .Sp Return value: the current value of the \f(CW\*(C`name\*(C'\fR attribute .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if any input parameters are specified .RE .RS 4 .RE .IP "arrayYOrigin" 4 .IX Item "arrayYOrigin" Methods for the \f(CW\*(C`arrayYOrigin\*(C'\fR attribute. .Sp From the MAGE-OM documentation: .Sp This can indicate the y position on a slide, chip, etc. of the first Feature and is usually specified relative to the fiducial. .RS 4 .ie n .IP "$val = $array\->setArrayYOrigin($val)" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->setArrayYOrigin($val)" 4 .IX Item "$val = $array->setArrayYOrigin($val)" The restricted setter method for the \f(CW\*(C`arrayYOrigin\*(C'\fR attribute. .Sp Input parameters: the value to which the \f(CW\*(C`arrayYOrigin\*(C'\fR attribute will be set .Sp Return value: the current value of the \f(CW\*(C`arrayYOrigin\*(C'\fR attribute .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if too many input parameters are specified .ie n .IP "$val = $array\->\fBgetArrayYOrigin()\fR" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->\fBgetArrayYOrigin()\fR" 4 .IX Item "$val = $array->getArrayYOrigin()" The restricted getter method for the \f(CW\*(C`arrayYOrigin\*(C'\fR attribute. .Sp Input parameters: none .Sp Return value: the current value of the \f(CW\*(C`arrayYOrigin\*(C'\fR attribute .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if any input parameters are specified .RE .RS 4 .RE .IP "identifier" 4 .IX Item "identifier" Methods for the \f(CW\*(C`identifier\*(C'\fR attribute. .Sp From the MAGE-OM documentation: .Sp An identifier is an unambiguous string that is unique within the scope (i.e. a document, a set of related documents, or a repository) of its use. .RS 4 .ie n .IP "$val = $array\->setIdentifier($val)" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->setIdentifier($val)" 4 .IX Item "$val = $array->setIdentifier($val)" The restricted setter method for the \f(CW\*(C`identifier\*(C'\fR attribute. .Sp Input parameters: the value to which the \f(CW\*(C`identifier\*(C'\fR attribute will be set .Sp Return value: the current value of the \f(CW\*(C`identifier\*(C'\fR attribute .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if too many input parameters are specified .ie n .IP "$val = $array\->\fBgetIdentifier()\fR" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->\fBgetIdentifier()\fR" 4 .IX Item "$val = $array->getIdentifier()" The restricted getter method for the \f(CW\*(C`identifier\*(C'\fR attribute. .Sp Input parameters: none .Sp Return value: the current value of the \f(CW\*(C`identifier\*(C'\fR attribute .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if any input parameters are specified .RE .RS 4 .RE .IP "arrayIdentifier" 4 .IX Item "arrayIdentifier" Methods for the \f(CW\*(C`arrayIdentifier\*(C'\fR attribute. .Sp From the MAGE-OM documentation: .Sp An identifying string, e.g. a barcode. .RS 4 .ie n .IP "$val = $array\->setArrayIdentifier($val)" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->setArrayIdentifier($val)" 4 .IX Item "$val = $array->setArrayIdentifier($val)" The restricted setter method for the \f(CW\*(C`arrayIdentifier\*(C'\fR attribute. .Sp Input parameters: the value to which the \f(CW\*(C`arrayIdentifier\*(C'\fR attribute will be set .Sp Return value: the current value of the \f(CW\*(C`arrayIdentifier\*(C'\fR attribute .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if too many input parameters are specified .ie n .IP "$val = $array\->\fBgetArrayIdentifier()\fR" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->\fBgetArrayIdentifier()\fR" 4 .IX Item "$val = $array->getArrayIdentifier()" The restricted getter method for the \f(CW\*(C`arrayIdentifier\*(C'\fR attribute. .Sp Input parameters: none .Sp Return value: the current value of the \f(CW\*(C`arrayIdentifier\*(C'\fR attribute .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if any input parameters are specified .RE .RS 4 .RE .IP "originRelativeTo" 4 .IX Item "originRelativeTo" Methods for the \f(CW\*(C`originRelativeTo\*(C'\fR attribute. .Sp From the MAGE-OM documentation: .Sp What the array origin is relative to, e.g. upper left corner, fiducial, etc. .RS 4 .ie n .IP "$val = $array\->setOriginRelativeTo($val)" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->setOriginRelativeTo($val)" 4 .IX Item "$val = $array->setOriginRelativeTo($val)" The restricted setter method for the \f(CW\*(C`originRelativeTo\*(C'\fR attribute. .Sp Input parameters: the value to which the \f(CW\*(C`originRelativeTo\*(C'\fR attribute will be set .Sp Return value: the current value of the \f(CW\*(C`originRelativeTo\*(C'\fR attribute .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if too many input parameters are specified .ie n .IP "$val = $array\->\fBgetOriginRelativeTo()\fR" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->\fBgetOriginRelativeTo()\fR" 4 .IX Item "$val = $array->getOriginRelativeTo()" The restricted getter method for the \f(CW\*(C`originRelativeTo\*(C'\fR attribute. .Sp Input parameters: none .Sp Return value: the current value of the \f(CW\*(C`originRelativeTo\*(C'\fR attribute .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if any input parameters are specified .RE .RS 4 .RE .SS "\s-1ASSOCIATIONS\s0" .IX Subsection "ASSOCIATIONS" Associations are references to other classes. Associations in MAGE-OM have a cardinality that determines the minimum and maximum number of instances of the 'other' class that maybe included in the association: .IP "1." 4 There \fBmust\fR be exactly one item in the association, i.e. this is a mandatory data field. .IP "2." 4 0..1 .Sp There \fBmay\fR be one item in the association, i.e. this is an optional data field. .IP "3." 4 1..N .Sp There \fBmust\fR be one or more items in the association, i.e. this is a mandatory data field, with list cardinality. .IP "4." 4 0..N .Sp There \fBmay\fR be one or more items in the association, i.e. this is an optional data field, with list cardinality. .PP Bio::MAGE::Array::Array has the following association accessor methods: .IP "arrayGroup" 4 .IX Item "arrayGroup" Methods for the \f(CW\*(C`arrayGroup\*(C'\fR association. .Sp From the MAGE-OM documentation: .Sp Association between an ArrayGroup and its Arrays, typically the ArrayGroup will represent a slide and the Arrays will be the manufactured so that they may be hybridized separately on that slide. .RS 4 .ie n .IP "$val = $array\->setArrayGroup($val)" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->setArrayGroup($val)" 4 .IX Item "$val = $array->setArrayGroup($val)" The restricted setter method for the \f(CW\*(C`arrayGroup\*(C'\fR association. .Sp Input parameters: the value to which the \f(CW\*(C`arrayGroup\*(C'\fR association will be set : one of the accepted enumerated values. .Sp Return value: the current value of the \f(CW\*(C`arrayGroup\*(C'\fR association : one of the accepted enumerated values. .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if too many input parameters are specified, or if \f(CW$val\fR is not an instance of class \f(CW\*(C`Bio::MAGE::Array::ArrayGroup\*(C'\fR .ie n .IP "$val = $array\->\fBgetArrayGroup()\fR" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->\fBgetArrayGroup()\fR" 4 .IX Item "$val = $array->getArrayGroup()" The restricted getter method for the \f(CW\*(C`arrayGroup\*(C'\fR association. .Sp Input parameters: none .Sp Return value: the current value of the \f(CW\*(C`arrayGroup\*(C'\fR association : an instance of type \f(CW\*(C`Bio::MAGE::Array::ArrayGroup\*(C'\fR. .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if any input parameters are specified .RE .RS 4 .RE .IP "arrayDesign" 4 .IX Item "arrayDesign" Methods for the \f(CW\*(C`arrayDesign\*(C'\fR association. .Sp From the MAGE-OM documentation: .Sp The association of a physical array with its array design. .RS 4 .ie n .IP "$val = $array\->setArrayDesign($val)" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->setArrayDesign($val)" 4 .IX Item "$val = $array->setArrayDesign($val)" The restricted setter method for the \f(CW\*(C`arrayDesign\*(C'\fR association. .Sp Input parameters: the value to which the \f(CW\*(C`arrayDesign\*(C'\fR association will be set : one of the accepted enumerated values. .Sp Return value: the current value of the \f(CW\*(C`arrayDesign\*(C'\fR association : one of the accepted enumerated values. .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if too many input parameters are specified, or if \f(CW$val\fR is not an instance of class \f(CW\*(C`Bio::MAGE::ArrayDesign::ArrayDesign\*(C'\fR .ie n .IP "$val = $array\->\fBgetArrayDesign()\fR" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->\fBgetArrayDesign()\fR" 4 .IX Item "$val = $array->getArrayDesign()" The restricted getter method for the \f(CW\*(C`arrayDesign\*(C'\fR association. .Sp Input parameters: none .Sp Return value: the current value of the \f(CW\*(C`arrayDesign\*(C'\fR association : an instance of type \f(CW\*(C`Bio::MAGE::ArrayDesign::ArrayDesign\*(C'\fR. .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if any input parameters are specified .RE .RS 4 .RE .IP "auditTrail" 4 .IX Item "auditTrail" Methods for the \f(CW\*(C`auditTrail\*(C'\fR association. .Sp From the MAGE-OM documentation: .Sp A list of Audit instances that track changes to the instance of Describable. .RS 4 .ie n .IP "$array_ref = $array\->setAuditTrail($array_ref)" 4 .el .IP "\f(CW$array_ref\fR = \f(CW$array\fR\->setAuditTrail($array_ref)" 4 .IX Item "$array_ref = $array->setAuditTrail($array_ref)" The restricted setter method for the \f(CW\*(C`auditTrail\*(C'\fR association. .Sp Input parameters: the value to which the \f(CW\*(C`auditTrail\*(C'\fR association will be set : a reference to an array of objects of type \f(CW\*(C`Bio::MAGE::AuditAndSecurity::Audit\*(C'\fR .Sp Return value: the current value of the \f(CW\*(C`auditTrail\*(C'\fR association : a reference to an array of objects of type \f(CW\*(C`Bio::MAGE::AuditAndSecurity::Audit\*(C'\fR .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if too many input parameters are specified, or if \f(CW$array_ref\fR is not a reference to an array class \f(CW\*(C`Bio::MAGE::AuditAndSecurity::Audit\*(C'\fR instances .ie n .IP "$array_ref = $array\->\fBgetAuditTrail()\fR" 4 .el .IP "\f(CW$array_ref\fR = \f(CW$array\fR\->\fBgetAuditTrail()\fR" 4 .IX Item "$array_ref = $array->getAuditTrail()" The restricted getter method for the \f(CW\*(C`auditTrail\*(C'\fR association. .Sp Input parameters: none .Sp Return value: the current value of the \f(CW\*(C`auditTrail\*(C'\fR association : a reference to an array of objects of type \f(CW\*(C`Bio::MAGE::AuditAndSecurity::Audit\*(C'\fR .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if any input parameters are specified .ie n .IP "$val = $array\->addAuditTrail(@vals)" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->addAuditTrail(@vals)" 4 .IX Item "$val = $array->addAuditTrail(@vals)" Because the auditTrail association has list cardinality, it may store more than one value. This method adds the current list of objects in the auditTrail association. .Sp Input parameters: the list of values \f(CW@vals\fR to add to the auditTrail association. \fB\s-1NOTE\s0\fR: submitting a single value is permitted. .Sp Return value: the number of items stored in the slot \fBafter\fR adding \f(CW@vals\fR .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if any of the objects in \f(CW@vals\fR is not an instance of class \f(CW\*(C`Bio::MAGE::AuditAndSecurity::Audit\*(C'\fR .RE .RS 4 .RE .IP "information" 4 .IX Item "information" Methods for the \f(CW\*(C`information\*(C'\fR association. .Sp From the MAGE-OM documentation: .Sp Association between the manufactured array and the information on that manufacture. .RS 4 .ie n .IP "$val = $array\->setInformation($val)" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->setInformation($val)" 4 .IX Item "$val = $array->setInformation($val)" The restricted setter method for the \f(CW\*(C`information\*(C'\fR association. .Sp Input parameters: the value to which the \f(CW\*(C`information\*(C'\fR association will be set : one of the accepted enumerated values. .Sp Return value: the current value of the \f(CW\*(C`information\*(C'\fR association : one of the accepted enumerated values. .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if too many input parameters are specified, or if \f(CW$val\fR is not an instance of class \f(CW\*(C`Bio::MAGE::Array::ArrayManufacture\*(C'\fR .ie n .IP "$val = $array\->\fBgetInformation()\fR" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->\fBgetInformation()\fR" 4 .IX Item "$val = $array->getInformation()" The restricted getter method for the \f(CW\*(C`information\*(C'\fR association. .Sp Input parameters: none .Sp Return value: the current value of the \f(CW\*(C`information\*(C'\fR association : an instance of type \f(CW\*(C`Bio::MAGE::Array::ArrayManufacture\*(C'\fR. .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if any input parameters are specified .RE .RS 4 .RE .IP "propertySets" 4 .IX Item "propertySets" Methods for the \f(CW\*(C`propertySets\*(C'\fR association. .Sp From the MAGE-OM documentation: .Sp Allows specification of name/value pairs. Meant to primarily help in-house, pipeline processing of instances by providing a place for values that aren't part of the specification proper. .RS 4 .ie n .IP "$array_ref = $array\->setPropertySets($array_ref)" 4 .el .IP "\f(CW$array_ref\fR = \f(CW$array\fR\->setPropertySets($array_ref)" 4 .IX Item "$array_ref = $array->setPropertySets($array_ref)" The restricted setter method for the \f(CW\*(C`propertySets\*(C'\fR association. .Sp Input parameters: the value to which the \f(CW\*(C`propertySets\*(C'\fR association will be set : a reference to an array of objects of type \f(CW\*(C`Bio::MAGE::NameValueType\*(C'\fR .Sp Return value: the current value of the \f(CW\*(C`propertySets\*(C'\fR association : a reference to an array of objects of type \f(CW\*(C`Bio::MAGE::NameValueType\*(C'\fR .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if too many input parameters are specified, or if \f(CW$array_ref\fR is not a reference to an array class \f(CW\*(C`Bio::MAGE::NameValueType\*(C'\fR instances .ie n .IP "$array_ref = $array\->\fBgetPropertySets()\fR" 4 .el .IP "\f(CW$array_ref\fR = \f(CW$array\fR\->\fBgetPropertySets()\fR" 4 .IX Item "$array_ref = $array->getPropertySets()" The restricted getter method for the \f(CW\*(C`propertySets\*(C'\fR association. .Sp Input parameters: none .Sp Return value: the current value of the \f(CW\*(C`propertySets\*(C'\fR association : a reference to an array of objects of type \f(CW\*(C`Bio::MAGE::NameValueType\*(C'\fR .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if any input parameters are specified .ie n .IP "$val = $array\->addPropertySets(@vals)" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->addPropertySets(@vals)" 4 .IX Item "$val = $array->addPropertySets(@vals)" Because the propertySets association has list cardinality, it may store more than one value. This method adds the current list of objects in the propertySets association. .Sp Input parameters: the list of values \f(CW@vals\fR to add to the propertySets association. \fB\s-1NOTE\s0\fR: submitting a single value is permitted. .Sp Return value: the number of items stored in the slot \fBafter\fR adding \f(CW@vals\fR .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if any of the objects in \f(CW@vals\fR is not an instance of class \f(CW\*(C`Bio::MAGE::NameValueType\*(C'\fR .RE .RS 4 .RE .IP "descriptions" 4 .IX Item "descriptions" Methods for the \f(CW\*(C`descriptions\*(C'\fR association. .Sp From the MAGE-OM documentation: .Sp Free hand text descriptions. Makes available the associations of Description to an instance of Describable. .RS 4 .ie n .IP "$array_ref = $array\->setDescriptions($array_ref)" 4 .el .IP "\f(CW$array_ref\fR = \f(CW$array\fR\->setDescriptions($array_ref)" 4 .IX Item "$array_ref = $array->setDescriptions($array_ref)" The restricted setter method for the \f(CW\*(C`descriptions\*(C'\fR association. .Sp Input parameters: the value to which the \f(CW\*(C`descriptions\*(C'\fR association will be set : a reference to an array of objects of type \f(CW\*(C`Bio::MAGE::Description::Description\*(C'\fR .Sp Return value: the current value of the \f(CW\*(C`descriptions\*(C'\fR association : a reference to an array of objects of type \f(CW\*(C`Bio::MAGE::Description::Description\*(C'\fR .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if too many input parameters are specified, or if \f(CW$array_ref\fR is not a reference to an array class \f(CW\*(C`Bio::MAGE::Description::Description\*(C'\fR instances .ie n .IP "$array_ref = $array\->\fBgetDescriptions()\fR" 4 .el .IP "\f(CW$array_ref\fR = \f(CW$array\fR\->\fBgetDescriptions()\fR" 4 .IX Item "$array_ref = $array->getDescriptions()" The restricted getter method for the \f(CW\*(C`descriptions\*(C'\fR association. .Sp Input parameters: none .Sp Return value: the current value of the \f(CW\*(C`descriptions\*(C'\fR association : a reference to an array of objects of type \f(CW\*(C`Bio::MAGE::Description::Description\*(C'\fR .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if any input parameters are specified .ie n .IP "$val = $array\->addDescriptions(@vals)" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->addDescriptions(@vals)" 4 .IX Item "$val = $array->addDescriptions(@vals)" Because the descriptions association has list cardinality, it may store more than one value. This method adds the current list of objects in the descriptions association. .Sp Input parameters: the list of values \f(CW@vals\fR to add to the descriptions association. \fB\s-1NOTE\s0\fR: submitting a single value is permitted. .Sp Return value: the number of items stored in the slot \fBafter\fR adding \f(CW@vals\fR .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if any of the objects in \f(CW@vals\fR is not an instance of class \f(CW\*(C`Bio::MAGE::Description::Description\*(C'\fR .RE .RS 4 .RE .IP "security" 4 .IX Item "security" Methods for the \f(CW\*(C`security\*(C'\fR association. .Sp From the MAGE-OM documentation: .Sp Information on the security for the instance of the class. .RS 4 .ie n .IP "$val = $array\->setSecurity($val)" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->setSecurity($val)" 4 .IX Item "$val = $array->setSecurity($val)" The restricted setter method for the \f(CW\*(C`security\*(C'\fR association. .Sp Input parameters: the value to which the \f(CW\*(C`security\*(C'\fR association will be set : one of the accepted enumerated values. .Sp Return value: the current value of the \f(CW\*(C`security\*(C'\fR association : one of the accepted enumerated values. .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if too many input parameters are specified, or if \f(CW$val\fR is not an instance of class \f(CW\*(C`Bio::MAGE::AuditAndSecurity::Security\*(C'\fR .ie n .IP "$val = $array\->\fBgetSecurity()\fR" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->\fBgetSecurity()\fR" 4 .IX Item "$val = $array->getSecurity()" The restricted getter method for the \f(CW\*(C`security\*(C'\fR association. .Sp Input parameters: none .Sp Return value: the current value of the \f(CW\*(C`security\*(C'\fR association : an instance of type \f(CW\*(C`Bio::MAGE::AuditAndSecurity::Security\*(C'\fR. .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if any input parameters are specified .RE .RS 4 .RE .IP "arrayManufactureDeviations" 4 .IX Item "arrayManufactureDeviations" Methods for the \f(CW\*(C`arrayManufactureDeviations\*(C'\fR association. .Sp From the MAGE-OM documentation: .Sp Association to classes to describe deviations from the ArrayDesign. .RS 4 .ie n .IP "$array_ref = $array\->setArrayManufactureDeviations($array_ref)" 4 .el .IP "\f(CW$array_ref\fR = \f(CW$array\fR\->setArrayManufactureDeviations($array_ref)" 4 .IX Item "$array_ref = $array->setArrayManufactureDeviations($array_ref)" The restricted setter method for the \f(CW\*(C`arrayManufactureDeviations\*(C'\fR association. .Sp Input parameters: the value to which the \f(CW\*(C`arrayManufactureDeviations\*(C'\fR association will be set : a reference to an array of objects of type \f(CW\*(C`Bio::MAGE::Array::ArrayManufactureDeviation\*(C'\fR .Sp Return value: the current value of the \f(CW\*(C`arrayManufactureDeviations\*(C'\fR association : a reference to an array of objects of type \f(CW\*(C`Bio::MAGE::Array::ArrayManufactureDeviation\*(C'\fR .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if too many input parameters are specified, or if \f(CW$array_ref\fR is not a reference to an array class \f(CW\*(C`Bio::MAGE::Array::ArrayManufactureDeviation\*(C'\fR instances .ie n .IP "$array_ref = $array\->\fBgetArrayManufactureDeviations()\fR" 4 .el .IP "\f(CW$array_ref\fR = \f(CW$array\fR\->\fBgetArrayManufactureDeviations()\fR" 4 .IX Item "$array_ref = $array->getArrayManufactureDeviations()" The restricted getter method for the \f(CW\*(C`arrayManufactureDeviations\*(C'\fR association. .Sp Input parameters: none .Sp Return value: the current value of the \f(CW\*(C`arrayManufactureDeviations\*(C'\fR association : a reference to an array of objects of type \f(CW\*(C`Bio::MAGE::Array::ArrayManufactureDeviation\*(C'\fR .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if any input parameters are specified .ie n .IP "$val = $array\->addArrayManufactureDeviations(@vals)" 4 .el .IP "\f(CW$val\fR = \f(CW$array\fR\->addArrayManufactureDeviations(@vals)" 4 .IX Item "$val = $array->addArrayManufactureDeviations(@vals)" Because the arrayManufactureDeviations association has list cardinality, it may store more than one value. This method adds the current list of objects in the arrayManufactureDeviations association. .Sp Input parameters: the list of values \f(CW@vals\fR to add to the arrayManufactureDeviations association. \fB\s-1NOTE\s0\fR: submitting a single value is permitted. .Sp Return value: the number of items stored in the slot \fBafter\fR adding \f(CW@vals\fR .Sp Side effects: none .Sp Exceptions: will call \f(CW\*(C`croak()\*(C'\fR if no input parameters are specified, or if any of the objects in \f(CW@vals\fR is not an instance of class \f(CW\*(C`Bio::MAGE::Array::ArrayManufactureDeviation\*(C'\fR .RE .RS 4 .Sp sub initialize { .Sp .Vb 2 \& my $self = shift; \& return 1; .Ve .Sp } .RE .SH "SLOTS, ATTRIBUTES, AND ASSOCIATIONS" .IX Header "SLOTS, ATTRIBUTES, AND ASSOCIATIONS" In the Perl implementation of MAGE-OM classes, there are three types of class data members: \f(CW\*(C`slots\*(C'\fR, \f(CW\*(C`attributes\*(C'\fR, and \&\f(CW\*(C`associations\*(C'\fR. .SS "\s-1SLOTS\s0" .IX Subsection "SLOTS" This \s-1API\s0 uses the term \f(CW\*(C`slot\*(C'\fR to indicate a data member of the class that was not present in the \s-1UML\s0 model and is used for mainly internal purposes \- use only if you understand the inner workings of the \&\s-1API.\s0 Most often slots are used by generic methods such as those in the \&\s-1XML\s0 writing and reading classes. .PP Slots are implemented using unified getter/setter methods: .ie n .IP "$var = $obj\->\fBslot_name()\fR;" 4 .el .IP "\f(CW$var\fR = \f(CW$obj\fR\->\fBslot_name()\fR;" 4 .IX Item "$var = $obj->slot_name();" Retrieves the current value of the slot. .ie n .IP "$new_var = $obj\->slot_name($new_var);" 4 .el .IP "\f(CW$new_var\fR = \f(CW$obj\fR\->slot_name($new_var);" 4 .IX Item "$new_var = $obj->slot_name($new_var);" Store \f(CW$new_var\fR in the slot \- the return value is also \f(CW$new_var\fR. .ie n .IP "@names = $obj\->\fBget_slot_names()\fR" 4 .el .IP "\f(CW@names\fR = \f(CW$obj\fR\->\fBget_slot_names()\fR" 4 .IX Item "@names = $obj->get_slot_names()" Returns the list of all slots in the class. .PP \&\fB\s-1DATA CHECKING\s0\fR: No data type checking is made for these methods. .SS "\s-1ATTRIBUTES AND ASSOCIATIONS\s0" .IX Subsection "ATTRIBUTES AND ASSOCIATIONS" The terms \f(CW\*(C`attribute\*(C'\fR and \f(CW\*(C`association\*(C'\fR indicate data members of the class that were specified directly from the \s-1UML\s0 model. .PP In the Perl implementation of MAGE-OM classes, association and attribute accessors are implemented using three separate methods: .IP "get*" 4 .IX Item "get*" Retrieves the current value. .Sp \&\fB\s-1NOTE\s0\fR: For associations, if the association has list cardinality, an array reference is returned. .Sp \&\fB\s-1DATA CHECKING\s0\fR: Ensure that no argument is provided. .IP "set*" 4 .IX Item "set*" Sets the current value, \fBreplacing\fR any existing value. .Sp \&\fB\s-1NOTE\s0\fR: For associations, if the association has list cardinality, the argument must be an array reference. Because of this, you probably should be using the add* methods. .Sp \&\fB\s-1DATA CHECKING\s0\fR: For attributes, ensure that a single value is provided as the argument. For associations, if the association has list cardinality, ensure that the argument is a reference to an array of instances of the correct MAGE-OM class, otherwise ensure that there is a single argument of the correct MAGE-OM class. .IP "add*" 4 .IX Item "add*" \&\fB\s-1NOTE\s0\fR: Only present in associations with list cardinality. .Sp Appends a list of objects to any values that may already be stored in the association. .Sp \&\fB\s-1DATA CHECKING\s0\fR: Ensure that all arguments are of the correct MAGE-OM class. .SS "\s-1GENERIC METHODS\s0" .IX Subsection "GENERIC METHODS" The unified base class of all MAGE-OM classes, \f(CW\*(C`Bio::MAGE::Base\*(C'\fR, provides a set of generic methods that will operate on slots, attributes, and associations: .ie n .IP "$val = $obj\->get_slot($name)" 4 .el .IP "\f(CW$val\fR = \f(CW$obj\fR\->get_slot($name)" 4 .IX Item "$val = $obj->get_slot($name)" .PD 0 .ie n .IP "\e@list_ref = $obj\->get_slots(@name_list);" 4 .el .IP "\e@list_ref = \f(CW$obj\fR\->get_slots(@name_list);" 4 .IX Item "@list_ref = $obj->get_slots(@name_list);" .ie n .IP "$val = $obj\->set_slot($name,$val)" 4 .el .IP "\f(CW$val\fR = \f(CW$obj\fR\->set_slot($name,$val)" 4 .IX Item "$val = $obj->set_slot($name,$val)" .ie n .IP "$obj\->set_slots(%parameters)" 4 .el .IP "\f(CW$obj\fR\->set_slots(%parameters)" 4 .IX Item "$obj->set_slots(%parameters)" .ie n .IP "$obj\->set_slots(\e@name_list, \e@value_list)" 4 .el .IP "\f(CW$obj\fR\->set_slots(\e@name_list, \e@value_list)" 4 .IX Item "$obj->set_slots(@name_list, @value_list)" .PD See elsewhere in this page for a detailed description of these methods. .SH "BUGS" .IX Header "BUGS" Please send bug reports to the project mailing list: (mged-mage 'at' lists 'dot' sf 'dot' net) .SH "AUTHOR" .IX Header "AUTHOR" Jason E. Stewart (jasons 'at' cpan 'dot' org) .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBperl\fR\|(1). .SH "POD ERRORS" .IX Header "POD ERRORS" Hey! \fBThe above document had some coding errors, which are explained below:\fR .IP "Around line 484:" 4 .IX Item "Around line 484:" \&'=item' outside of any '=over' .IP "Around line 569:" 4 .IX Item "Around line 569:" You forgot a '=back' before '=head2' .IP "Around line 1029:" 4 .IX Item "Around line 1029:" Expected '=item 2' .IP "Around line 1034:" 4 .IX Item "Around line 1034:" Expected '=item 3' .IP "Around line 1039:" 4 .IX Item "Around line 1039:" Expected '=item 4'