Home | Trees | Indices | Help |
---|
|
properties used by Document object
|
|||
Property Property base which all other properties inherit. |
|||
StringProperty string property str or unicode property |
|||
IntegerProperty Integer property. |
|||
LongProperty Integer property. |
|||
FloatProperty Float property, map to python float |
|||
Number Float property, map to python float |
|||
BooleanProperty Boolean property, map to python bool |
|||
DecimalProperty Decimal property, map to Decimal python object |
|||
DateTimeProperty DateTime property. |
|||
DateProperty Date property, like DateTime property but only for Date. |
|||
TimeProperty Date property, like DateTime property but only for time. |
|||
DictProperty A property that stores a dict of things |
|||
ListProperty A property that stores a list of things. |
|||
StringListProperty shorthand for list that should containe only unicode |
|||
LazyDict object to make sure we keep updated of dict in _doc. |
|||
LazyList object to make sure we keep update of list in _doc. |
|||
SetProperty A property that stores a Python set as a list of unique elements. |
|||
LazySet Object to make sure that we keep set and _doc synchronized. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
support_setproperty = True
|
|||
ALLOWED_PROPERTY_TYPES =
|
|||
re_date = re.compile(r'^
|
|||
re_time = re.compile(r'^
|
|||
re_datetime = re.compile(r'^
|
|||
re_decimal = re.compile(r'^
|
|||
MAP_TYPES_PROPERTIES =
|
|||
__package__ =
|
|
validate a value. test if value is in supported types |
convert a value to json using appropriate regexp. For Dates we use ISO 8601. Decimal are converted to string. |
convert a json value to python type using regexp. values converted have been put in json via `value_to_json` . |
|
ALLOWED_PROPERTY_TYPES
|
re_date
|
re_time
|
re_datetime
|
MAP_TYPES_PROPERTIES
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri May 4 11:48:40 2012 | http://epydoc.sourceforge.net |