IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 15, 2006, 4:47:09 PM (20 years ago)
Author:
jhoblitt
Message:

doc update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataStore/lib/DataStore/FileSet.pm

    r6587 r6601  
    11# Copyright (C) 2006  Joshua Hoblitt
    22#
    3 # $Id: FileSet.pm,v 1.3 2006-03-15 03:18:25 jhoblitt Exp $
     3# $Id: FileSet.pm,v 1.4 2006-03-16 02:47:09 jhoblitt Exp $
    44
    55package DataStore::FileSet;
     
    3535    use DataStore::FileSet;
    3636
    37     my $dsfs = DateStore::FileSet->new(...);
     37    my $dsfs = DateStore::FileSet->new(
     38        uri         => 'http://example.org/',
     39        fileset     => '12buckelyourshoe',
     40        datetime    => '2042-01-01T00:00:00Z',
     41        type        => 'foo',
     42    );
     43
     44    my $uri         = $dsfs->uri;
     45    my $fileset     = $dsfs->fileset;
     46    my $datatime    = $dsfs->datetime;
     47    my $type        = $dsfs->type;
     48    my DataStore::Response $response = $dsfs->request;
    3849
    3950=head1 DESCRIPTION
     
    5364
    5465=item * C<new()>
     66
     67Basic constructor.
     68
     69    my $dsfs = DateStore::FileSet->new(
     70        uri         => 'http://example.org/',
     71        fileset     => '12buckelyourshoe',
     72        datetime    => '2042-01-01T00:00:00Z',
     73        type        => 'foo',
     74    );
     75
     76Accepts a mandatory hash and returns a L<DataStore::FileSet> object.
     77
     78=over 4
     79
     80=item * uri
     81
     82A valid I<HTTP> URI as a string.  I<A trailing slash is required.>
     83
     84=item * fileset
     85
     86The FileSet ID as a string.
     87
     88=item * datetime
     89
     90The time and date as a string.
     91
     92=item * type
     93
     94The I<type> of record as a string.
     95
     96=back
    5597
    5698=cut
     
    91133=over 4
    92134
     135=item * C<uri()>
     136
     137Basic accessor.
     138
     139=item * C<fileset()>
     140
     141Basic accessor.
     142
     143=item * C<datetime()>
     144
     145Basic accessor.
     146
     147=item * C<type()>
     148
     149Basic accessor.
     150
    93151=item * C<request()>
     152
     153Retrieves and processes the File listing pointed to by the L<uri> of this
     154object.
     155
     156Accepts no parameters and returns a L<DataStore::Response> object.
    94157
    95158=cut
     
    133196}
    134197
     198=back
     199
     200=head1 SEE ALSO
     201
     202L<DataStore::Response>
     203
     204=cut
     205
    1352061;
    136207
Note: See TracChangeset for help on using the changeset viewer.