Server
API Reference Guide
Product Documentation:

Rogue Wave Server
Documentation Home
List of all members | Public Member Functions
IlsSimpleRelation Class Reference

Base class of one-to-one relations. More...

#include <ilserver/model.h>

Inheritance diagram for IlsSimpleRelation:
IlsOptionalRelation IlsViewedRel IlsOwns< OwnerType, OwnedType > IlsOwns< IlsDynObject, IlsObject > IlsUses< UserType, UsedType > IlsUses< IlsDynObject, IlsUsed >

Public Member Functions

IlsBoolean isModified ()
 During a notification phase, this member function returns IlsTrue only if the relation has been modified since the last notification phase.
 
- Public Member Functions inherited from IlsOptionalRelation
IlsRelationId getIdentifier () const
 
IlsBoolean isMandatory ()
 Returns IlsTrue if the relation is mandatory. Otherwise, it returns IlsFalse. When a relation is mandatory, a cut applied to the target of the relation is propagated to its origin. By default, the function returns IlsFalse for n-ary relations and IlsTrue for unary relations.
 
- Public Member Functions inherited from IlsViewedRel
virtual IlsViewedgetIdentifiedElement (const IlsString &id) const
 This virtual member function is used to retrieve an identified object from the relation. More...
 
virtual IlsBoolean hasElement (IlsViewed &) const
 This virtual member function returns IlsTrue if the element is a target of the relation or IlsFalse otherwise.
 
IlsBoolean isViewed ()
 This member function returns IlsTrue if at least one regular view (as opposed to a multithreaded view) subscribes to the relation. More...
 
virtual void onSubscribe (IlsView &)
 This empty virtual member function is called each time a view subscribes to the relation.
 
virtual void onUnsubscribe (IlsView &)
 This empty virtual member function is called each time the subscription of a view to the relation is canceled.
 

Additional Inherited Members

- Protected Member Functions inherited from IlsViewedRel
 IlsViewedRel ()
 This is the protected constructor of the class.
 

Detailed Description

Base class of one-to-one relations.

See also
IlsOwns, IlsUses.