| WSST documentation | Contained in the WSST distribution. |
WSST::Schema::Data - Schema::Data class of WSST
This class represents the top-level elements of schema.
Constructor.
Accessor for the company name.
Accessor for the service name.
Accessor for the version.
Accessor for the title.
Accessor for the abstract.
Accessor for the license.
Accessor for the see_also.
Accessor for the copyright.
Accessor for the methods.
Accessor for the meta-spec.
http://code.google.com/p/wsst/
Mitsuhisa Oshikawa <mitsuhisa [at] gmail.com> Yusuke Kawasaki <u-suke [at] kawa.net>
Copyright 2008 WSS Project Team
| WSST documentation | Contained in the WSST distribution. |
package WSST::Schema::Data; use strict; use base qw(WSST::Schema::Base); __PACKAGE__->mk_accessors(qw(company_name service_name version title abstract license author see_also copyright methods)); use WSST::Schema::Method; our $VERSION = '0.1.1'; sub new { my $class = shift; my $self = $class->SUPER::new(@_); if ($self->{methods}) { foreach my $method (@{$self->{methods}}) { $method = WSST::Schema::Method->new($method); } } return $self; } sub meta_spec { my $self = shift; $self->{'meta-spec'} = $_[0] if scalar(@_); return $self->{'meta-spec'}; }
1;