aRTtable-class {aRT}R Documentation

Class "aRTtable"

Description

Class that represents a DBMS table. It can be one of the various TerraLib table types.

Tables are created from layers, and their attributes can be linked to other tables or geometries. For selecting data joining tables with the links use aRTthemes.

Objects from the Class

Objects can be created by calls of the form new("aRTtable", aRTlayer, tablename, create = T)

Slots

pointer:
An external pointer. DO NOT change it!

Extends

Class "aRTcomponent", directly.

Methods

initialize:
Initializer of aRTlayer class.
addColumns:
Add new columns to the table.
addRows:
Add new elements to the table.
getData:
Returns the table values.

Table types

In TerraLib there are several types of table, implementing the entity relationship, temporal and other models. They are:

"static"
Table which each geomety has one, and only one, respective row.
"media"
A media table has only two columns: object_id and media_name. It associates an url to a geometry double-click in a TerraLib-based GIS. A layer can have only one media table, and this table does not have a name.
"external"
Each row is not implicitly connected to a geometry, but the table can have foreign keys to all static, event and dynamoc tables.
"event"
Event.
"attdyn"
dynamic Attributes.
"alldyn"
Fully dynamic (attributes and geometry). (not implemented yet)
"geomdyn"
Dynamic Geometry. (not implemented yet)
"default"
The default value depending on the parent. If the class is aRTlayer, default will be static, else (aRTdb) it will be external.

Author(s)

Pedro Ribeiro de Andrade Neto

References

http://www.est.ufpr.br/aRT

See Also

See aRTtable-METHOD for a method of this class or CLASSNAME-class for links to other classes.


[Package aRT version 0.3-6 Index]