Package couchdbkit :: Package schema :: Module properties :: Class IntegerProperty
[hide private]
[frames] | no frames]

Class IntegerProperty

source code

object --+    
         |    
  Property --+
             |
            IntegerProperty

Integer property. map to int

*Value type*: int

Nested Classes [hide private]
  to_python
int(x[, base]) -> integer
  data_type
int(x[, base]) -> integer
Instance Methods [hide private]
 
empty(self, value)
test if value is empty
source code
 
validate(self, value, required=True)
validate value
source code

Inherited from Property: __delete__, __get__, __init__, __property_config__, __property_init__, __set__, default_value, to_json

Inherited from Property (private): _to_json, _to_python

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

Class Variables [hide private]

Inherited from Property: creation_counter

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

empty(self, value)

source code 

test if value is empty

Overrides: Property.empty
(inherited documentation)

validate(self, value, required=True)

source code 

validate value

Overrides: Property.validate
(inherited documentation)