Package gavo :: Package dm :: Module common :: Class CollectionAnnotation
[frames] | no frames]

Class CollectionAnnotation

source code

       object --+    
                |    
   AnnotationBase --+
                    |
       object --+   |
                |   |
_WithMapCopyMixin --+
                    |
                   CollectionAnnotation

A collection contains 0..n things of the same type.

Instance Methods
 
__init__(self, name, type, instance)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__getitem__(self, index) source code
 
__len__(self) source code
 
iterChildRoles(self) source code
 
copyEmpty(self, newInstance) source code
 
add(self, child) source code
 
asSIL(self) source code
 
getVOT(self, ctx, instance) source code

Inherited from AnnotationBase: iterNodes

Inherited from _WithMapCopyMixin: copy, copyWithAnnotationMap

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

Properties

Inherited from object: __class__

Method Details

__init__(self, name, type, instance)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

add(self, child)

source code 
Overrides: AnnotationBase.add

asSIL(self)

source code 
Overrides: AnnotationBase.asSIL

getVOT(self, ctx, instance)

source code 
Overrides: AnnotationBase.getVOT