An IlsRelationDef
object defines the runtime visibility and access to a relation of a server object type.
More...
#include <ilserver/rtmodel.h>
Inherits IlsPropertyManager, and IlsRightsDef.
Public Member Functions | |
IlsRelationModifier | getExtractor () const |
Gets the relation extractor. More... | |
IlsRelationModifier | getInserter () const |
Gets the relation inserted. More... | |
IlsRTTypes::RelationKind | getKind () const |
Returns the kind of the relation. | |
IlsRelationModifier | getModifier () const |
Gets the relation modifier. More... | |
const IlsString & | getName () const |
Returns the name associated with the relation in the macro that declares the relation. More... | |
IlsRelationAccessor | getRelationAccessor () const |
Returns the relation accessor. | |
const IlsString & | getReverse () const |
Gets the inverse relation if any. More... | |
IlsSimpleTargetAccessor | getSimpleTargetAccessor () const |
In the case of a unary relation, this member function returns the target accessor. Otherwise, it returns the null pointer. | |
const IlsString & | getTargetTypeNm () const |
Returns the name of the relation target type. | |
IlsBoolean | isExported () const |
Returns IlsTrue if this element of the server model interpreter is exported. More... | |
IlsBoolean | isImplicit () const |
Returns IlsTrue if the relation has been declared implicitly by Rogue Wave Server. More... | |
void | setExported (IlsBoolean b) |
Changed exportation mode of the relation. More... | |
An IlsRelationDef
object defines the runtime visibility and access to a relation of a server object type.
Library: mvserver
It is implicitly created in the server model interpreter via static initialization data declared in macros such as ILS_W_RELATION_X()
, ILS_RW_RELATION_X()
, ILS_USES_X()
, ILS_OWNS_X()
, ILS_INVERTED_X()
.
IlsRelationModifier IlsRelationDef::getExtractor | ( | ) | const |
Gets the relation extractor.
This member function returns one of the following:
IlsRelationModifier IlsRelationDef::getInserter | ( | ) | const |
Gets the relation inserted.
This member function returns one of the following:
IlsRelationModifier IlsRelationDef::getModifier | ( | ) | const |
Gets the relation modifier.
This member function returns one of the following:
const IlsString& IlsRelationDef::getName | ( | ) | const |
Returns the name associated with the relation in the macro that declares the relation.
const IlsString& IlsRelationDef::getReverse | ( | ) | const |
Gets the inverse relation if any.
This member function returns one of the following:
ILS_REVERSE()
. IlsBoolean IlsRelationDef::isExported | ( | ) | const |
Returns IlsTrue
if this element of the server model interpreter is exported.
By default, all model interpreter elements are exported.
IlsBoolean IlsRelationDef::isImplicit | ( | ) | const |
Returns IlsTrue
if the relation has been declared implicitly by Rogue Wave Server.
This is the case, for instance, of the origin relation of any dynamic view type.
void IlsRelationDef::setExported | ( | IlsBoolean | b | ) |
Changed exportation mode of the relation.
Use this member function to export an element of the server model interpreter or to cancel exportation. Non-exported elements are not seen in Rogue Wave Server Studio.