Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

BasTutorial.Person

persistent class BasTutorial.Person extends %Library.Persistent

SQL Table Name: BasTutorial.Person

Property Inventory

Parameters

parameter MANAGEDEXTENT = 0;
Inherited description: The MANAGEDEXTENT parameter can be set to 0 (zero) to cause the Extent Manager to ignore this class. If set to 1 then the Extent Manager will register globals used by the class and detect collisions. Unmanaged extents (MANAGEDEXTENT = 0) are not checked. Currently, only classes using default storage (%Library.CacheStorage) can be managed.

Properties

property DOB as %Date;
Property methods: DOBDisplayToLogical(), DOBGet(), DOBGetStored(), DOBIsValid(), DOBLogicalToDisplay(), DOBLogicalToOdbc(), DOBNormalize(), DOBOdbcToLogical(), DOBSet()
property FirstName as %String (COLLATION = "EXACT") [ Calculated ];
Property methods: FirstNameCompute(), FirstNameDisplayToLogical(), FirstNameGet(), FirstNameIsValid(), FirstNameLogicalToDisplay(), FirstNameLogicalToOdbc(), FirstNameNormalize(), FirstNameSQLCompute()
property LastName as %String (COLLATION = "EXACT") [ Calculated ];
Property methods: LastNameCompute(), LastNameDisplayToLogical(), LastNameGet(), LastNameIsValid(), LastNameLogicalToDisplay(), LastNameLogicalToOdbc(), LastNameNormalize(), LastNameSQLCompute()
property Name as %String;
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property Phone as %String (COLLATION = "EXACT", MAXLEN = 12);
Property methods: PhoneDisplayToLogical(), PhoneGet(), PhoneGetStored(), PhoneIsValid(), PhoneLogicalToDisplay(), PhoneLogicalToOdbc(), PhoneNormalize(), PhoneSet()

Indexes

index (DOB on DOB);
Index for property DOB
Index methods: DOBDisplayToLogical(), DOBExists(), DOBGet(), DOBGetStored(), DOBIsValid(), DOBLogicalToDisplay(), DOBLogicalToOdbc(), DOBNormalize(), DOBOdbcToLogical(), DOBSet()
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (Name on LastName,FirstName);
Index for LastName,FirstName
Index methods: NameDisplayToLogical(), NameExists(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
index (Phone on Phone) [Unique];
Uniqueness index for property Phone
Index methods: PhoneCheck(), PhoneCheckUnique(), PhoneDelete(), PhoneDisplayToLogical(), PhoneExists(), PhoneGet(), PhoneGetStored(), PhoneIsValid(), PhoneLogicalToDisplay(), PhoneLogicalToOdbc(), PhoneNormalize(), PhoneOpen(), PhoneSQLCheckUnique(), PhoneSQLExists(), PhoneSQLFindPKeyByConstraint(), PhoneSQLFindRowIDByConstraint(), PhoneSet()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (BasTutorial.Person)

^PersonD(ID)
=
Name
Phone
DOB
%%CLASSNAME
FeedbackOpens in a new tab