[MOBY-guts] biomoby commit

Mark Wilkinson mwilkinson at dev.open-bio.org
Wed Feb 7 01:21:24 UTC 2007


mwilkinson
Tue Feb  6 20:21:24 EST 2007
Update of /home/repository/moby/moby-live/Perl/MOBY/Client
In directory dev.open-bio.org:/tmp/cvs-serv19973/MOBY/Client

Modified Files:
	SecondaryArticle.pm 
Log Message:
added more documentation for the MOBY::Client::SecondaryArticle API and un-commented the WSRF dependencies in the Makefile because Chris Dag added them to biomoby.org so rapidly
moby-live/Perl/MOBY/Client SecondaryArticle.pm,1.12,1.13
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Client/SecondaryArticle.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- /home/repository/moby/moby-live/Perl/MOBY/Client/SecondaryArticle.pm	2006/05/30 18:56:16	1.12
+++ /home/repository/moby/moby-live/Perl/MOBY/Client/SecondaryArticle.pm	2007/02/07 01:21:24	1.13
@@ -70,13 +70,51 @@
  Returns   :	string
  Arguments :    (optional) string representing articleName to set
 
-=head2 value
+=head2 datatype
 
- Usage     :	$name = $SA->value()
- Function  :	get value of parameter
- Returns   :	value of the parameter as a string (regardless of actual type)
+ Usage     :	$name = $SA->datatype($type)
+ Function  :	get/set datatype: Integer, Float, DateTime, Boolean, String
+ Returns   :	the datatype
  Arguments :    
 
+=head2 min
+
+ Usage     :	$name = $SA->min($value)
+ Function  :	get/set the minimum value of a datatype
+ Returns   :	min value 
+ Arguments :    
+
+=head2 max
+
+ Usage     :	$name = $SA->max($value)
+ Function  :	get/set maximum value of the datatype
+ Returns   :	max value 
+ Arguments :    
+
+=head2 default
+
+ Usage     :	$name = $SA->default($value)
+ Function  :	get/set the default value of parameter
+ Returns   :	default value
+ Arguments :
+
+
+=head2 enum
+
+ Usage     :	$name = $SA->enum(\@possible_values)
+ Function  :	get/set the enumerated values for discreet variables
+ Returns   :	listref of string values
+ Arguments :    
+
+
+=head2 addEnum
+
+ Usage     :	$name = $SA->addEnum($new_possible_values)
+ Function  :	add to the list of enumerated values for discreet variables
+ Returns   :	new listref of string values
+ Arguments :    
+
+
 =head2 description
 
  Usage     :	$namespaces = $SA->description("text description here")
@@ -169,6 +207,7 @@
 	  $self->{enum} = [] unless $self->{enum};
 	  return() unless defined ($enum);
 	  push @{ $self->{enum} }, $enum;
+	  return $self->enum;
 	}
 }
 




More information about the MOBY-guts mailing list