Package gavo :: Package base :: Module attrdef :: Class IntAttribute
[frames] | no frames]

Class IntAttribute

source code

  object --+        
           |        
AttributeDef --+    
               |    
 AtomicAttribute --+
                   |
                  IntAttribute

An attribute definition for integer attributes.

Instance Methods
 
parse(self, value)
returns a typed python value for the string representation value.
source code
 
unparse(self, value)
returns a typed python value for the string representation value.
source code

Inherited from AtomicAttribute: feed, feedObject, getCopy, makeUserDoc

Inherited from AttributeDef: __init__, doCallbacks, iterParentMethods

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

Class Variables
  typeDesc_ = 'integer'
Properties

Inherited from object: __class__

Method Details

parse(self, value)

source code 

returns a typed python value for the string representation value.

value can be expected to be a unicode string.

Overrides: AtomicAttribute.parse
(inherited documentation)

unparse(self, value)

source code 

returns a typed python value for the string representation value.

value can be expected to be a unicode string.

Overrides: AtomicAttribute.unparse
(inherited documentation)