Fire up your applications with Jetfire
RSS
Jetfire Wiki


Quick Search
»
Advanced Search »

Jetfire Code: Contact Enumerations

The Jetfire Code Class for Contact Enumerations is shown below in the box. This file contains a set of enumeration classes used in the Contact Workflow.

// C O N T A C T     E N U M E R A T O R S
//===================================================================================
// ContactEnumerators.txt
//===================================================================================
// Copyright (C) 2007 TrackerRealm Corporation
// This file is part of Jetfire.  http://Jetfire.ca
// 
// Jetfire is open 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, 
// version 3 of the License.
// 
// Jetfire 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 Jetfire.
// If not, see http://www.gnu.org/licenses.
// REMOVAL OF THIS NOTICE IS VIOLATION OF THE COPYRIGHT.
//===================================================================================
//

namespace JetfireContacts
{
	// Day of the Week
	public enum DayOfWeek
	{
		Monday,
		Tuesday,
		Wednesday,
		Thursday,
		Friday,
		Saturday,
		Sunday
	}
	// Province is used in Address
	public enum Province
	{
		None,
		British_Columbia,
		Alberta,
		Saskatchewan,
		Manitoba,
		Ontario,
		Quebec,
		Prince_Edward_Island,
		Nova_Scotia,
		New_Brunswich,
		Newfoundland_Labrador,
		North_West_Territories,
		Nunavut,
		Yukon
	}
	
	// Country is used in Address
	public enum Country
	{
		None,
		Canada,
		United_States_of_America,
		Mexico,
		Denmark,
		France,
		Germany,
		Italy,
		Netherlands,
		Portugal,
		Spain,
		United_Kingdom
		China,
		Japan,
		South_Korea,
		Australia
	}

	// Gender is used in Person
	public enum Gender
	{
		na,
		Female,
		Male
	}
	
	// File Type is used in Note
	public enum FileType
	{
		None,
		Text,
		RichText,
		WordDocument,
		HTML
	}
	
	// Location Type is used in Address, Email, Phone
	public enum LocationType
	{
		None,
		Home,
		Home_2,
		Business,
		Business_2,
		Mobile,
		Fax,
		Other
	}
	
	// Record Standing is used in Contact
	public enum RecordStanding
	{
		None,
		Active,
		Inactive,
		Suspended,
		Vacation
	}
	
	// Salutation is used in Person
	public enum Salutation
	{
		None, 
		Doctor,
		Miss,
		Mr,
		Mrs, 
		Ms
	}
	
	// Show Contact As is used in Person
	public enum ShowContactAs
	{
		None,
		FirstName_LastName,
		LastName_FirstName,
		LastName_FirstName_Company
	}
	
	// TimeZone is used in Contact
	public enum TimeZone
	{
		GMT,
		EST
	}
}

See Also

Jetfire Code Library
Jetfire Contacts Code Library

ScrewTurn Wiki version 3.0.4.560. Some of the icons created by FamFamFam.