Part of vmc.contrib.axiom.attributes View In Hierarchy
Known subclasses: vmc.contrib.axiom.attributes.boolean, vmc.contrib.axiom.attributes.bytes, vmc.contrib.axiom.attributes.ieee754_double, vmc.contrib.axiom.attributes.integer, vmc.contrib.axiom.attributes.text
Implements interfaces: vmc.contrib.axiom.iaxiom.IColumn
Abstract superclass of all attributes.
_Not_ an attribute itself.Instance Variables | indexed | A bool indicating whether this attribute will be indexed in
the database.
|
default | The value used for this attribute, if no value is specified. |
Method | __init__ | Undocumented |
Method | computeDefault | Undocumented |
Method | reprFor | Undocumented |
Method | getShortColumnName | |
Method | getColumnName | |
Method | prepareInsert | Override this method to do something to an item to prepare for its |
Method | coercer | must return a value equivalent to the data being passed in for it to be |
Method | infilter | used to convert a Python value to something that lives in the database; |
Method | outfilter | used to convert an SQL value to something that lives in memory; so |
Method | requiredSlots | Undocumented |
Method | fullyQualifiedName | |
Method | __repr__ | Undocumented |
Method | type | Undocumented |
Method | __get__ | |
Method | loaded | Undocumented |
Method | __set__ | Undocumented |
Inherited from Comparable:
Method | compare | Override this in a subclass. |
Inherited from _ContainableMixin (via Comparable):
Method | oneOf | Choose items whose attributes are in a fixed set. |
Method | notOneOf | Undocumented |
Inherited from _ComparisonOperatorMuxer (via Comparable):
Method | __eq__ | Undocumented |
Method | __ne__ | Undocumented |
Method | __gt__ | Undocumented |
Method | __lt__ | Undocumented |
Method | __ge__ | Undocumented |
Method | __le__ | Undocumented |
Inherited from _MatchingOperationMuxer (via Comparable):
Method | _like | Undocumented |
Method | like | Undocumented |
Method | notLike | Undocumented |
Method | startswith | Undocumented |
Method | endswith | Undocumented |
Inherited from _OrderingMixin (via Comparable):
Method | _asc | Undocumented |
Method | _desc | Undocumented |
Returns | The fully qualified name of this object as a column within the database,
eg, "main_database.some_table.[this_column]" .
(type: str
) |
Returns | The fully qualfied name of this object as an attribute in Python code,
eg, myproject.mymodule.MyClass.myAttribute . If this attribute
is represented by an actual Python code object, it will be a dot-separated
sequence of Python identifiers; otherwise, it will contain invalid
identifier characters other than '.'.
(type: str
) |
Parameters | row | an item that has this column.
(type: axiom.item.Item
) |
Returns | The value of the column described by this object, for the given row. (type: depends on the underlying type of the column. ) |