Address object - stores physical location or postal address
This object applies to Clients, Vendors, HeadOffice and Unit objects
| C# | Visual Basic | Visual Basic Usage | Visual C++ | J# | JScript | JavaScript | XAML |
[SerializableAttribute] public class Address : BusinessBase
<SerializableAttribute> _ Public Class Address _ Inherits BusinessBase
Dim instance As Address
[SerializableAttribute] public ref class Address : public BusinessBase
/** @attribute SerializableAttribute */ public class Address extends BusinessBase
public class Address extends BusinessBase
GZTW.AyaNova.BLL.Address = function(); Type.createClass( 'GZTW.AyaNova.BLL.Address', CSLA.BusinessBase);
| All Members | Methods | Properties | Events | ||
| Icon | Member | Description |
|---|---|---|
| AcceptChanges()()() | (Inherited from UndoableBase.) | |
| AddBusinessRules()()() | (Inherited from BusinessBase.) | |
| AddressType |
Type of address (physical (deliver) or postal)
| |
| ApplyEdit()()() | (Inherited from BusinessBase.) | |
| BeginEdit()()() | (Inherited from BusinessBase.) | |
| BrokenRules()()() | (Inherited from BusinessBase.) | |
| BrokenRulesText()()() | (Inherited from BusinessBase.) | |
| CancelEdit()()() | (Inherited from BusinessBase.) | |
| City |
Get/set city for this address - maximum 255 char - may have default
entered by global/regional settings
| |
| Clone()()() | (Inherited from BusinessBase.) | |
| Copy(Address, Address) |
copy the contents of one address to another address
| |
| CopyState()()() | (Inherited from UndoableBase.) | |
| Country |
Get/set country for this address - maximum 255 char - may have default
entered by global/regional settings
| |
| CountryCode |
Get/set ISO country code for this country, maximum 2 characters
required for all non-US address lookups
| |
| Created | ||
| Creator | ||
| CurrentUserID()()() | (Inherited from BusinessBase.) | |
| DataPortal_Create(Object) | (Inherited from BusinessBase.) | |
| DataPortal_Delete(Object) | (Inherited from BusinessBase.) | |
| DataPortal_Fetch(Object) | (Inherited from BusinessBase.) | |
| DataPortal_Update()()() | (Inherited from BusinessBase.) | |
| DecimalDegreesToDMSText(Decimal, Boolean) |
Convert decimal degrees to String representation
of Degrees minutes seconds
Negative input is not converted to West or South,
all input is returned as absolute value (with no sign)
it is up to the caller to add the direction.
| |
| DecimalDegreesToDMText(Decimal, Boolean) |
Convert decimal degrees to String representation
of Degrees minutes and decimal minutes (no seconds)
Negative input is not converted to West or South,
all input is returned as as absolute value (with no sign)
it is up to the caller to add the direction.
| |
| Delete()()() | (Inherited from BusinessBase.) | |
| DeliveryAddress |
Get/set street address - maximum 255 char
| |
| Deserialized()()() | (Inherited from BusinessBase.) | |
| DumpState()()() | (Inherited from UndoableBase.) | |
| EditLevel()()() | (Inherited from UndoableBase.) | |
| Equals(Object) | (Overrides Object.Equals(Object).) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| FullAddress |
Get complete address as single string for display
following US / Canadian postal regulations recommendations:
DELIVERY ADDRESS
CITY/STATE/ZIP
COUNTRY
| |
| GetBrokenRulesCollection()()() | (Inherited from BusinessBase.) | |
| GetBrokenRulesString()()() | (Inherited from BusinessBase.) | |
| GetHashCode()()() | (Overrides Object.GetHashCode()()().) | |
| GetRight(String) | (Inherited from BusinessBase.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| GlobalAddressID |
ID of the one and only Global object's address
(since a global object has no ID itself, this value is
used as the ID for it)
| |
| IsDeleted()()() | (Inherited from BusinessBase.) | |
| IsDirty()()() | (Inherited from BusinessBase.) | |
| IsDirtyChanged()()() | (Inherited from BindableBase.) | |
| IsEditing()()() | (Inherited from BusinessBase.) | |
| IsEmpty |
Address object is empty (not filled in)?
| |
| IsNew()()() | (Inherited from BusinessBase.) | |
| IsSavable()()() | (Inherited from BusinessBase.) | |
| IsValid()()() | (Inherited from BusinessBase.) | |
| LatHemisphere |
Get/Set the Hemisphere of the current Latitude coordinate
(0 Latitude is always considered North for display purposes)
| |
| Latitude |
Latitude in decimal degrees
| |
| LatitudeAsStringWithNorthSouthIndicator(Decimal, CoordinateTypes, Boolean) |
Get Latitude as string
Includes localized North or South text prefix
| |
| LatitudeFromString(String) |
Set Latitude from string
Expects a '-' sign for South Latitudes
any character other than a digit, decimal (period) or a - sign is
ignored completely and not used in parsing
Accepted types of co-ordinates are:
Decimal degrees: "-49.3435"
Degree decimal minutes: "49°22.456"
Degrees Minutes Seconds Decimal seconds: "49° 22' 13.456''"
Degree symbols are ignored and thus optional as well as minute ' or seconds '' symbols
traditionally used. All that is important is that there is a space or non-numeric character
between the groups of digits.
If a single number is found it is assumed to be decimal degrees.
If two separate numbers are found it is assumed to be Degree decimal minutes
If three separate groups of numbers are found it is assumed to be Degress minutes seconds
| |
| LatitudeText |
Latitude as text
SET: parses most text formats of different styles co-ordinates
GET: Returns text formatted as per global coordinate style setting
| |
| LatitudeToString(Decimal) |
Convert decimal Latitude to full string representation in default format
| |
| LongHemisphere |
Get/Set the Hemisphere of the current Longitude coordinate
(0 Longitude is always considered West for display purposes)
| |
| Longitude |
Longitude in decimal degrees
| |
| LongitudeAsStringWithEastWestIndicator(Decimal, CoordinateTypes, Boolean) |
Get Longitude as string in desired format
| |
| LongitudeFromString(String) |
Set Longitude from string
Expects a '-' sign for West longitudes
any character other than a digit, decimal (period) or a - sign is
ignored completely and not used in parsing
Accepted types of co-ordinates are:
Decimal degrees: "-49.3435"
Degree decimal minutes: "49°22.456"
Degrees Minutes Seconds Decimal seconds: "49° 22' 13.456''"
Degree symbols are ignored and thus optional as well as minute ' or seconds '' symbols
traditionally used. All that is important is that there is a space or non-numeric character
between the groups of digits.
If a single number is found it is assumed to be decimal degrees.
If two separate numbers are found it is assumed to be Degree decimal minutes
If three separate groups of numbers are found it is assumed to be Degress minutes seconds
| |
| LongitudeText |
Longitude as text
SET: parses most text formats of different styles co-ordinates
LatitudeFromString(String)
GET: Returns text formatted as per global coordinate style setting
| |
| LongitudeToString(Decimal) |
Get full Longitude as string using default format
| |
| MapQuestURL |
Returns a valid MapQuest url for
opening a map of address in a web page
| |
| MarkAsChild()()() | (Inherited from BusinessBase.) | |
| MarkDeleted()()() | (Inherited from BusinessBase.) | |
| MarkDirty()()() | (Inherited from BusinessBase.) | |
| MarkNew()()() | (Inherited from BusinessBase.) | |
| MarkOld()()() | (Inherited from BusinessBase.) | |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Modified | ||
| Modifier | ||
| Notify()()() | (Inherited from BusinessBase.) | |
| OnIsDirtyChanged()()() | (Inherited from BindableBase.) | |
| Postal |
Get/set postal code or zip code for this address - maximum 255 char
| |
| RootObjectID |
ID of object this address belongs to
| |
| RootObjectType |
The root object type this address applies to
Valid settings are:
Unit, HeadOffice, Vendor, Client
Global or Region
| |
| Save()()() | (Inherited from BusinessBase.) | |
| Serialized()()() | (Inherited from BusinessBase.) | |
| Serializing()()() | (Inherited from BusinessBase.) | |
| StateProv |
Get/set state or province for this address - maximum 255 char - may
have default entered by global/regional settings
| |
| StringToDecimalDegrees(String) |
Parse a string coordinate and return a double coordinate value
Negative symbol must be first character if a south latitude or
a west longitude is input. All characters other than digits,
decimal point (one only) and negative symbol are ignored.
Accepted types of co-ordinates are:
Decimal degrees: "-49.3435"
Degree decimal minutes: "49°22.456"
Degrees Minutes Seconds Decimal seconds: "49° 22' 13.456''"
Degree symbols are ignored and thus optional as well as minute ' or seconds '' symbols
traditionally used. All that is important is that there is a space or non-numeric character
between the groups of digits.
If a single number is found it is assumed to be decimal degrees.
If two separate numbers are found it is assumed to be Degree decimal minutes
If three separate groups of numbers are found it is assumed to be Degress minutes seconds
If a null or empty string is the parameter then returns 0
| |
| ToString()()() | (Overrides Object.ToString()()().) | |
| UndoChanges()()() | (Inherited from UndoableBase.) |
| Object | ||||
| BindableBase | ||||
| UndoableBase | ||||
| BusinessBase | ||||
| Address | ||||