NAME

CodeGen::PerlBean::Attribute::Single - contains SINGLE bean attribute information

SYNOPSIS

use CodeGen::PerlBean::Attribute::Single;
use IO::File;

my $attr = CodeGen::PerlBean::Attribute::Single->new ({
	attribute_name => 'my_single',
	default_value => 'default value',
	short_description => 'single attribute',
});

my $fh = IO::File ('> /tmp/foo-bar.pm');
$attr->writeMethods ($fh);

ABSTRACT

SINGLE bean attribute information

DESCRIPTION

CodeGen::PerlBean::Attribute::Single contains SINGLE bean attribute information. It is a subclass of CodeGen::PerlBean::Attribute. Code and documentation methods are implemented.

CONSTRUCTOR

Inherited from CodeGen::PerlBean::Attribute.

METHODS

Inherited/implemented from CodeGen::PerlBean::Attribute.

writeMethods (FILEHANDLE)

Writes code for set and get methods.

writeDocMethods (FILEHANDLE)

Writes documenation for set and get methods.

SEE ALSO

CodeGen::PerlBean CodeGen::PerlBean::Attribute CodeGen::PerlBean::Attribute::Factory CodeGen::PerlBean::Attribute::Multi CodeGen::PerlBean::Attribute::Multi::Ordered CodeGen::PerlBean::Attribute::Multi::Unique CodeGen::PerlBean::Attribute::Multi::Unique::Ordered CodeGen::PerlBean::Attribute::Single

BUGS

None known (yet.)

HISTORY

First development: November 2002

AUTHOR

Vincent Zocca

COPYRIGHT

Copyright 2002 by Vincent Zocca

LICENSE

This file is part of the CodeGen::PerlBean module hierarchy for Perl by Vincenzo Zocca.

The CodeGen::PerlBean module hierarchy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

The CodeGen::PerlBean module hierarchy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the CodeGen::PerlBean module hierarchy; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA