File: TMessage.pm

package info (click to toggle)
libsoap-wsdl-perl 3.004-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,600 kB
  • sloc: perl: 8,433; xml: 1,769; java: 19; makefile: 15
file content (28 lines) | stat: -rw-r--r-- 975 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package Typelib::TMessage;
use strict;
use base qw(Typelib::Base);
use Class::Std::Fast constructor => 'basic';

my %MRecipientURI_of   :ATTR(:name<MRecipientURI> :default<()>);
my %MMessageContent_of :ATTR(:name<MMessageContent> :default<()>);
my %MSenderAddress_of  :ATTR(:name<MSenderAddress> :default<()>);
my %MSubject_of        :ATTR(:name<MSubject> :default<()>);
my %MDeliveryReportRecipientURI_of :ATTR(:name<MDeliveryReportRecipientURI> :default<()>);
my %MKeepalive_of      :ATTR(:name<MKeepalive> :default<()>);

my %attributes_of       :ATTR();

%attributes_of = (
    MRecipientURI => \%MRecipientURI_of, 
    MMessageContent => \%MMessageContent_of,
    MSenderAddress => \%MSenderAddress_of,
    MSubject => \%MSubject_of,
    MDeliveryReportRecipientURI => \%MDeliveryReportRecipientURI_of,
    MKeepalive => \%MKeepalive_of,
);

# make a add_BLA method for every attribute
__PACKAGE__->mk_add_mutators( \%attributes_of );

Class::Std::Fast::initialize();
1;