RpAttrModel Class |
Namespace: RW.Server.Component
The RpAttrModel type exposes the following members.
| Name | Description | |
|---|---|---|
| DataType |
Gets a the runtime type of the attribute.
| |
| Editable |
Gets a value that indicates if the attribute can be edited.
| |
| Id |
Gets the attribute identifier.
| |
| Index |
Gets the index value of the attribute.
| |
| Indexed |
Gets a value that indicates if the attribute is indexed.
| |
| Label |
Gets the attribute label.
|
In the following view specification, table and column[1] are two attributes of the dynamic representation object model inputRow.
view NodePanel:
...
subscribe Line:
represent IlsSwRow inputRow:
Ref<IlsSwTable> table=...;
string column[1]=...;
...At runtime, both attributes will be defined by an instance of the class RpAttrModel. An object of type RpAttrModel specifies the type of the attribute, its identifier, and its write permissions. A runtime attribute does not necessarily have to be a data member of the representation object type.