Package gavo :: Package rscdef :: Module common :: Class Registration
[frames] | no frames]

Class Registration

source code

                   object --+            
                            |            
 base.structure.StructureBase --+        
                                |        
                   object --+   |        
                            |   |        
           base.common.Parser --+        
                                |        
base.structure.ParseableStructure --+    
                                    |    
             base.structure.Structure --+
                                        |
                           object --+   |
                                    |   |
                  base.meta.MetaMixin --+
                                        |
                                       Registration

A request for registration of a data or table item.

This is much like publish for services, just for data and tables; since they have no renderers, you can only have one register element per such element.

Data registrations may refer to published services that make their data available.

Nested Classes

Inherited from base.structure.StructureBase: __metaclass__

Instance Methods
 
publishedForADQL(self)
returns true if at least one table published is available for TAP/ADQL.
source code
 
register(self)
adds servedBy and serviceFrom metadata to data, service pairs in this registration.
source code

Inherited from base.structure.Structure: __provides__, callCompletedCallbacks, completeElement, finishElement, onElementComplete, validate

Inherited from base.structure.ParseableStructure: __init__, end_, feed, feedFrom, feedObject, getAttribute, iterEvents, start_, value_

Inherited from base.structure.StructureBase: __providedBy__, adopt, breakCircles, change, copy, getAttributes, getCopyableAttributes, getSourcePosition, iterChildren, setPosition

Inherited from base.common.Parser: feedEvent

Inherited from base.meta.MetaMixin: addMeta, buildRepr, copyMetaFrom, delMeta, getAllMetaPairs, getMeta, getMetaKeys, getMetaParent, isEmpty, iterMeta, keys, makeOriginal, setMeta, setMetaParent, traverse

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods

Inherited from base.structure.StructureBase: fromStructure

Class Variables
  name_ = 'publish'
a sentinel for all kinds of undefined values.
  docName_ = 'publish (data)'
  aliases = ['register']
  auxiliary = True
  attrSeq = [<gavo.base.parsecontext.IdAttribute object>, <gavo....
  managedAttrs = {'id': <gavo.base.parsecontext.IdAttribute obje...

Inherited from base.structure.Structure: __implemented__

Inherited from base.structure.StructureBase: completedCallbacks

Properties

Inherited from object: __class__

Class Variable Details

attrSeq

Value:
[<gavo.base.parsecontext.IdAttribute object>,
 <gavo.base.meta.MetaAttribute object>,
 <gavo.base.parsecontext.ReferenceListAttribute object>,
 <gavo.base.attrdef.StringSetAttribute object>]

managedAttrs

Value:
{'id': <gavo.base.parsecontext.IdAttribute object>,
 'meta': <gavo.base.meta.MetaAttribute object>,
 'meta_': <gavo.base.meta.MetaAttribute object>,
 'services': <gavo.base.parsecontext.ReferenceListAttribute object>,
 'sets': <gavo.base.attrdef.StringSetAttribute object>}