NAME

CAD::Firemen::Option::Check - An option check error

VERSION

version 0.6.2

DESCRIPTION

Create a new object of CAD::Firemen::Option::Check with

my $check = new CAD::Firemen::Option::Check("name" => "OPTION_NAME");

afterwards, set the error string (or specify it already at the constructor with ("errorString" => "YOUR ERROR MESSAGE"))

$check->setErrorString("YOUR ERROR MESSAGE");

METHODS

new

Creates a new object of type CAD::Firemen::Option::Check. Per default, all values are empty-

You can specify values like that:

my $change = new CAD::Firemen::Change( "name" => "OPTION_NAME", "errorString" => "YOUR ERROR MESSAGE" );

setOption

Sets the option name. To read it, just use method option().

option

Returns the name of this option.

setErrorString

Sets the error string. To read it, just use method errorString().

errorString

Returns the error string related to this option.

setCase

Sets the case. To read it, just use method case(). Should be set to true, if the error is only a case problem.

case

Returns the case related to this option.

AUTHOR

Joachim Langenbach <langenbach@imw.tu-clausthal.de>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by TU Clausthal, Institut fuer Maschinenwesen.

This is free software, licensed under:

The GNU General Public License, Version 2, June 1991