The Web Graph Database


Term: TypedMeshObjectFacade

Abstract supertype of all strongly-typed classes generated by the InfoGrid CodeGenerator from Models.

It is a facade as its implementation delegates to the underlying MeshObject.

Example: a MeshObject blessed with EntityType Customer can be accessed by a sub-interface of TypedMeshObjectFacade called Customer. This interface is generated automatically by the InfoGrid CodeGenerator. This interface carries getter and setter methods for PropertyTypes defined on EntityType Customer (and, by means of interface inheritance, those of supertypes as well). Having this compile-type type-safe method of accessing MeshObjects is often advantageous for applications; compile-time type-safe access via TypedMeshObjectFacade and run-time type-safe generic access using MeshObject directly are otherwise equivalent.

See also:

Last modified 9 years ago Last modified on 01/19/10 05:01:22