The Web Graph Database

wiki:Property

Term: Property

A named field on a MeshObject. A Property is defined by means of a PropertyType, which states which DataType is valid for the Property, whether the value can be null etc. The PropertyType itself is defined as part of an EntityType.

To read or write a Property on a MeshObject, the MeshObject first has to be blessed with the EntityType that defines the corresponding PropertyType.

A Property's name is defined by the MeshTypeIdentifier of the PropertyType. As MeshTypeIdentifiers are supposed to be globally unique, no naming conflicts can occur in MeshObjects that have been blessed with multiple EntityTypes. However, by means of the TypedMeshObjectFacade and the CodeGenerator, a Property can be accessed with a short name in the same manner as a regular Java Bean would be.

See also:

Last modified 5 years ago Last modified on 07/07/09 22:52:36