HouseOver.THARM.Search.Check Class Reference

An abstract class designed for searching through the data in the system. More...

Inheritance diagram for HouseOver.THARM.Search.Check:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Check (string name, Type fieldType)
 Constructs a Check instance without any extra data, which leaves the required to default (bool(default)).
 Check (string name, string humanReadableName, bool fieldRequired, Type fieldType)
 Constructs a Check instance with all details filled out immediately.
abstract bool Verify (object obj)
 Verifies an object against the Check item.
 Check (string name, Type fieldType)
 Constructs a Check instance without any extra data, which leaves the required to default (bool(default)).
 Check (string name, string humanReadableName, bool fieldRequired, Type fieldType)
 Constructs a Check instance with all details filled out immediately.
abstract bool Verify (object obj)
 Verifies an object against the Check item.

Protected Attributes

string name
 The name of the field.
string humanReadableName
 The human readable name of the field.
bool fieldRequired
 Wether or not the field is required.

Properties

string HumanReadableName [get, set]
 Gets and sets the human readable name.
Type FieldType [get, set]
 Gets and sets the field type.
string Name [get, set]
 Gets and sets the name.
bool FieldRequired [get, set]
 Gets and sets wether the field is required or not.

Private Attributes

Type fieldType
 The type of the field.

Detailed Description

An abstract class designed for searching through the data in the system.

Definition at line 14 of file Checks.cs.


Constructor & Destructor Documentation

HouseOver.THARM.Search.Check.Check ( string  name,
Type  fieldType 
)

Constructs a Check instance without any extra data, which leaves the required to default (bool(default)).

Parameters:
name The name of the Check - assigned both to Check.name and Check.humanReadableName
fieldType The type of the Check

Definition at line 30 of file Checks.cs.

00031         {
00032             this.name = name;
00033             this.humanReadableName = name;
00034             this.fieldType = fieldType;
00035         }

HouseOver.THARM.Search.Check.Check ( string  name,
string  humanReadableName,
bool  fieldRequired,
Type  fieldType 
)

Constructs a Check instance with all details filled out immediately.

Parameters:
name The name of the field
humanReadableName The human readable name of the field
fieldRequired Wether or not the field is required
fieldType The type of the field

Definition at line 44 of file Checks.cs.

00045         {
00046             this.name = name;
00047             this.humanReadableName = humanReadableName;
00048             this.fieldType = fieldType;
00049             this.fieldRequired = fieldRequired;
00050         }

HouseOver.THARM.Search.Check.Check ( string  name,
Type  fieldType 
)

Constructs a Check instance without any extra data, which leaves the required to default (bool(default)).

Parameters:
name The name of the Check - assigned both to Check.name and Check.humanReadableName
fieldType The type of the Check

Definition at line 30 of file Checks.cs.

00031         {
00032             this.name = name;
00033             this.humanReadableName = name;
00034             this.fieldType = fieldType;
00035         }

HouseOver.THARM.Search.Check.Check ( string  name,
string  humanReadableName,
bool  fieldRequired,
Type  fieldType 
)

Constructs a Check instance with all details filled out immediately.

Parameters:
name The name of the field
humanReadableName The human readable name of the field
fieldRequired Wether or not the field is required
fieldType The type of the field

Definition at line 44 of file Checks.cs.

00045         {
00046             this.name = name;
00047             this.humanReadableName = humanReadableName;
00048             this.fieldType = fieldType;
00049             this.fieldRequired = fieldRequired;
00050         }


Member Function Documentation

abstract bool HouseOver.THARM.Search.Check.Verify ( object  obj  )  [pure virtual]

Verifies an object against the Check item.

Parameters:
obj The object to verify
Returns:
True if verified, false if not

Implemented in HouseOver.THARM.Search.ComparableCheck, HouseOver.THARM.Search.EnumCheck, HouseOver.THARM.Search.ComparableCheck, and HouseOver.THARM.Search.EnumCheck.

abstract bool HouseOver.THARM.Search.Check.Verify ( object  obj  )  [pure virtual]

Verifies an object against the Check item.

Parameters:
obj The object to verify
Returns:
True if verified, false if not

Implemented in HouseOver.THARM.Search.ComparableCheck, HouseOver.THARM.Search.EnumCheck, HouseOver.THARM.Search.ComparableCheck, and HouseOver.THARM.Search.EnumCheck.


Member Data Documentation

string HouseOver::THARM::Search.Check::name [protected]

The name of the field.

Definition at line 17 of file Checks.cs.

string HouseOver::THARM::Search.Check::humanReadableName [protected]

The human readable name of the field.

Definition at line 19 of file Checks.cs.

bool HouseOver::THARM::Search.Check::fieldRequired [protected]

Wether or not the field is required.

Definition at line 21 of file Checks.cs.

Type HouseOver::THARM::Search.Check::fieldType [private]

The type of the field.

Definition at line 23 of file Checks.cs.


Property Documentation

string HouseOver::THARM::Search.Check::HumanReadableName [get, set]

Gets and sets the human readable name.

Definition at line 60 of file Checks.cs.

Referenced by HouseOver.THARM.RealtyManager.SetComparableCheck(), HouseOver.THARM.RealtyManager.SetEnumCheck(), and HouseOver.THARM.RealtyManager.ShowProfileDetails().

Type HouseOver::THARM::Search.Check::FieldType [get, set]

Gets and sets the field type.

Definition at line 62 of file Checks.cs.

Referenced by HouseOver.THARM.RealtyManager.SetEnumCheck().

string HouseOver::THARM::Search.Check::Name [get, set]

Gets and sets the name.

Definition at line 64 of file Checks.cs.

bool HouseOver::THARM::Search.Check::FieldRequired [get, set]

Gets and sets wether the field is required or not.

Definition at line 66 of file Checks.cs.

Referenced by HouseOver.THARM.RealtyManager.SetComparableCheck(), HouseOver.THARM.RealtyManager.SetEnumCheck(), and HouseOver.THARM.RealtyManager.ShowProfileDetails().


The documentation for this class was generated from the following files:
Generated on Wed Jan 10 03:43:18 2007 for THARM by  doxygen 1.5.1-p1