Home | Trees | Index | Help |
|
---|
Package Modeling :: Module GlobalID :: Class KeyGlobalID |
|
KeyGlobalID
Method Summary | |
---|---|
Initializes a new GlobalID with the following parameters: | |
__cmp__(self,
aGlobalId)
| |
Compares self with 'aGlobalID' | |
__hash__(self)
| |
Raises TypeError since this is an immutable object | |
Returns a string representation of the GlobalID. | |
entityName(self)
| |
Returns 'false'. | |
Returns the number of entries supplied in 'keyValues' when the GlobalID was initialized. | |
Return the object's key values, as specified when the object was initialized. | |
Computes the hash code for the object. |
Class Variable Summary | |
---|---|
tuple |
__implements__ = (<class Modeling.interfaces.GlobalID.IK...
|
int |
__is_temporary__ = 0 |
Method Details |
---|
__init__(self,
entityName,
keyValues)
|
__eq__(self,
aGlobalId)
|
__setattr__(self, name, value)Raises TypeError since this is an immutable object |
__str__(self)
Returns a string representation of the GlobalID. This string representation
is unique among GlobalIDs. |
isTemporary(self)Returns 'false'. |
keyCount(self)Returns the number of entries supplied in 'keyValues' when the GlobalID was initialized. For example, if an object is stored in the database in a table which has a simple (as opposed to a compound-) primary key, its GlobalID will return '1' (one). |
keyValues(self)Return the object's key values, as specified when the object was initialized. See also: __init__() |
_buildHashCode(self)Computes the hash code for the object. |
Class Variable Details |
---|
__implements__
|
__is_temporary__
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Mar 4 13:36:23 2006 | http://epydoc.sf.net |