RpObjModel Class |
Namespace: RW.Server.Component
The RpObjModel type exposes the following members.
Name | Description | |
---|---|---|
attrModels |
Gets the attribute models in this dynamic representation model.
| |
GetAttrId(String) |
Gets an non-indexed attribute identifier in the dynamic
representation object model.
| |
GetAttrId(String, Int32) |
Gets an indexed attribute identifier in the dynamic
representation object model.
| |
GetAttrModel |
Gets an attribute in the dynamic representation object model.
|
Name | Description | |
---|---|---|
Annotations |
The annotations attached to the Representaion object model.
| |
NbAttrs |
Gets the number of attributes in the dynamic representation
object model.
| |
ObjId |
Gets the identifier of the dynamic representation object model.
| |
RpModel |
Gets the dynamic representation model that contains the dynamic
representation object model.
| |
RpObjLabel |
Gets the label of the dynamic representation object model.
| |
RpTypeName |
Gets a string that specifies the type of any representation
object associated with the dynamic representation object model.
| |
SvTypeName |
Gets a string that specifies the type of the Server object
associated with the dynamic representation object model.
|
Each instance of the class RpObjModel defines in memory the specification of a mapping between a class in the server object model and a representation object type. It is included into the dynamic representation model associated with the dynamic view type specification.
In the following view specification, for example, the class Line is mapped to the representations inputRow and ouputRow, which are both instances of the class IlsSwRow. At runtime, these mapping specifications will be defined by two instances of the class RpObjModel, which will be grouped together in the representation model associated with the NodePanel view specification.
view NodePanel: ... subscribe Line: represent IlsSwRow inputRow: Ref<IlsSwTable> table=output[inputPanel]; string column[1]=name; represent IlsSwRow outputRow: Ref<IlsSwTable> table=input[outputPanel]; string column[1]=name; ...