Package gavo :: Package protocols :: Module datalink :: Class DatalinkCoreBase
[frames] | no frames]

Class DatalinkCoreBase

source code

                   object --+                
                            |                
 base.structure.StructureBase --+            
                                |            
                   object --+   |            
                            |   |            
           base.common.Parser --+            
                                |            
base.structure.ParseableStructure --+        
                                    |        
             base.structure.Structure --+    
                                        |    
                           svcs.core.Core --+
                                            |
                               object --+   |
                                        |   |
           base.macros.ExpansionDelegator --+
                                            |
                                           DatalinkCoreBase
Known Subclasses:

Basic functionality for datalink cores.

This is pulled out of the datalink core proper as it is used without the complicated service interface sometimes, e.g., by SSAP.

Nested Classes

Inherited from base.structure.StructureBase: __metaclass__

Instance Methods
 
completeElement(self, ctx) source code
 
getMetaForDescriptor(self, descriptor)
returns a pair of linkDefs, inputKeys for a datalink desriptor and this core.
source code
 
getDatalinksResource(self, ctx, service)
returns a VOTable RESOURCE element with the data links.
source code
 
clearProperty(self, name) source code
 
getFullId(self) source code
 
getProperty(self, name, default=<Undefined>) source code
 
hasProperty(self, name) source code
 
setProperty(self, name, value) source code

Inherited from svcs.core.Core: __init__, __repr__, __str__, adaptForRenderer, initialize, makeUserDoc, run

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

Inherited from base.structure.ParseableStructure: 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.macros.ExpansionDelegator: expand

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

Class Methods

Inherited from base.structure.StructureBase: fromStructure

Class Variables
  rejectExtras = True
  attrSeq = [<gavo.base.complexattrs.StructAttribute object>, <g...
  managedAttrs = {'dataFormatter': <gavo.base.complexattrs.Struc...

Inherited from svcs.core.Core: inputTableXML, name_, outputTableXML

Inherited from base.structure.Structure: __implemented__

Inherited from base.structure.StructureBase: completedCallbacks

Properties
  rd

Inherited from object: __class__

Method Details

completeElement(self, ctx)

source code 
Overrides: base.structure.Structure.completeElement

getDatalinksResource(self, ctx, service)

source code 

returns a VOTable RESOURCE element with the data links.

This does not contain the actual service definition elements, but it does contain references to them.

You must pass in a VOTable context object ctx (for the management of ids). If this is the entire content of the VOTable, use votablewrite.VOTableContext() there.

clearProperty(self, name)

source code 
Overrides: svcs.core.Core.clearProperty

getFullId(self)

source code 
Overrides: svcs.core.Core.getFullId

getProperty(self, name, default=<Undefined>)

source code 
Overrides: svcs.core.Core.getProperty

hasProperty(self, name)

source code 
Overrides: svcs.core.Core.hasProperty

setProperty(self, name, value)

source code 
Overrides: svcs.core.Core.setProperty

Class Variable Details

attrSeq

Value:
[<gavo.base.complexattrs.StructAttribute object>,
 <gavo.base.complexattrs.StructListAttribute object>,
 <gavo.base.complexattrs.StructAttribute object>,
 <gavo.base.parsecontext.IdAttribute object>,
 <gavo.rscdef.common.ColumnListAttribute object>,
 <gavo.base.complexattrs.StructAttribute object>,
 <gavo.base.complexattrs.StructListAttribute object>,
 <gavo.base.parsecontext.OriginalAttribute object>,
...

managedAttrs

Value:
{'dataFormatter': <gavo.base.complexattrs.StructAttribute object>,
 'dataFunction': <gavo.base.complexattrs.StructListAttribute object>,
 'dataFunctions': <gavo.base.complexattrs.StructListAttribute object>,
 'descriptorGenerator': <gavo.base.complexattrs.StructAttribute object\
>,
 'id': <gavo.base.parsecontext.IdAttribute object>,
 'inputKey': <gavo.rscdef.common.ColumnListAttribute object>,
 'inputKeys': <gavo.rscdef.common.ColumnListAttribute object>,
...

Property Details

rd

Get Method:
unreachable._getRD(self)