Up: Shore Data Language Reference Manual
ref_type : local_ref | remote_ref
local_ref : 'lref' '<' type_name '>'
remote_ref : ref_kind '<' type_name '>'
ref_kind : 'ref' | 'set' | 'bag' | 'list'
relationship_dcl : 'relationship' ref_kind
'<' type_name '>' [ 'inverse' scoped_name ]
[ 'ordered_by' scoped_name ]
are similar to pointers in a memory-based language such as Pascal or C.
for short) is a pointer to another value in the same object.
can designate any value type.
is a set of zero or more pointers to other objects.
must designate an object type (interface), called the target type
of the relationship.
points to zero or one objects,
points to zero or more distinct objects,
points to zero or more objects that are not necessarily distinct
(that is, a bag or list contains the identity of each object zero or more
Lists are not supported.
This page was generated from LaTeX sources