Sample.Employee
persistent class Sample.Employee extends Sample.Person
SQL Table Name: Sample.Employee
This sample persistent class represents an employee.Property Inventory
Method Inventory
Properties
The company this employee works for.
Property methods: CompanyGet(), CompanyGetObject(), CompanyGetObjectId(), CompanyGetStored(), CompanyGetSwizzled(), CompanyIsValid(), CompanyNewObject(), CompanyOnDelete(), CompanyRClose(), CompanyRExec(), CompanyRFetch(), CompanyRelate(), CompanySQLCompute(), CompanySet(), CompanySetObject(), CompanySetObjectId(), CompanyUnRelate(), CompanyUnSwizzle()
property Notes as %Stream.GlobalCharacter;
A character stream containing notes about this employee.
Property methods: NotesDelete(), NotesGet(), NotesGetObject(), NotesGetObjectId(), NotesGetStored(), NotesGetSwizzled(), NotesIsValid(), NotesNewObject(), NotesOid(), NotesOpen(), NotesSet(), NotesSetObject(), NotesSetObjectId(), NotesUnSwizzle()
property Picture as %Stream.GlobalBinary;
A picture of the employee
Property methods: PictureDelete(), PictureGet(), PictureGetObject(), PictureGetObjectId(), PictureGetStored(), PictureGetSwizzled(), PictureIsValid(), PictureNewObject(), PictureOid(), PictureOpen(), PictureSet(), PictureSetObject(), PictureSetObjectId(), PictureUnSwizzle()
property Salary as %Integer (MAXVAL = 100000, MINVAL = 0);
The employee's current salary.
Property methods: SalaryDisplayToLogical(), SalaryGet(), SalaryGetStored(), SalaryIsValid(), SalaryLogicalToDisplay(), SalaryNormalize(), SalarySet(), SalaryXSDToLogical()
property Title as %String (MAXLEN = 50, POPSPEC = "Title()");
The employee's job title.
Property methods: TitleDisplayToLogical(), TitleGet(), TitleGetStored(), TitleIsValid(), TitleLogicalToDisplay(), TitleLogicalToOdbc(), TitleNormalize(), TitleSet()
Methods
method PrintPerson()
method WritePicture()
writes a .png file containing the picture, if any, of this employee
the purpose of this method is to prove that Picture really contains an image
Indexes
index ($Employee on ) [Extent, Type = bitmap];
Inherited Members
Inherited Properties
Inherited Methods
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDetermineClass()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- Addition()
- CurrentAge()
- NinetyNine()
- OnPopulate()
- Populate()
- PopulateSerial()
- PrintPersons()
- PrintPersonsSQL()
- StoredProcTest()
- UpdateProcTest()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
Storage
Gray indicates storage defined by superclasses.
Storage Model: CacheStorage (Sample.Person)
^Sample.PersonD(ID) | = | %%CLASSNAME
Name
SSN
DOB
Home
Office
Spouse
FavoriteColors
|
^Sample.PersonD(ID,"Employee") | = | Company
Notes
Salary
Title
Picture
|