IObject Methods |
The IObject type exposes the following members.
| Name | Description | |
|---|---|---|
| AddKey |
Adds a new key to the object. The key must be unique
within the system context (e.g. unique per database).
| |
| AsT | Obsolete.
Casts to a Business Object interface.
| |
| CastT |
Casts to a Business Object interface. Throws an exception if the Business Object
interface is not available for this object.
| |
| ChangeObjType |
Change the object type.
| |
| CopyTo |
Copies the object. Attributes of the object are copied, relationships not.
| |
| DeleteKey |
Removes a key from the object.
| |
| Destroy |
Deletes the object (and its relationships).
| |
| GetAttrValue(IAttrDef) |
Retrieves the specified attribute value.
| |
| GetAttrValue(String, String) |
Retrieves the specified attribute value.
| |
| GetAttrValue(IAttrDef, Boolean) | Obsolete.
Retrieves the specified attribute value and indicates if the value is assigned.
| |
| GetAttrValue(String, String, Boolean) | Obsolete.
Retrieves the specified attribute value and indicates if the value is assigned.
| |
| GetAttrValues |
Get all attribute values of the object.
| |
| GetFolder |
Retrieves the object's folder.
| |
| GetKeys |
Retrieves the object's (unique) keys.
| |
| GetLockInfo |
Retrieves information about the object's lock status.
| |
| GetObjType |
Retrieve the object type.
| |
| GetRelationships(RelDirection) |
Retrieves all attached relationships of a specific direction (regardless of their relationship type).
| |
| GetRelationships(String, RelDirection) |
Retrieves all attached relationships of a specific role (relationship type/direction combination).
| |
| GetRelationships(IRelType, RelDirection) |
Retrieves all attached relationships of a specific relationship type in a
specific direction.
| |
| GetSingleRelationship(String, RelDirection) |
Retrieves a single relationship (omit the array overhead).
| |
| GetSingleRelationship(IRelType, RelDirection) |
Retrieves a single relationship (omit the array overhead).
| |
| GetTableAttrTemplateRow |
Gets a table attribute template row.
| |
| GetTableAttrValues |
Gets the table attribute values.
| |
| IsOf(String) |
Indicates if the object conforms to a specific object type directly
or indirectly (is a subtype of).
| |
| IsOf(IObjType) |
Indicates if the object conforms to a specific object type directly
or indirectly (is a subtype of).
| |
| Lock |
Lock the object.
| |
| MoveTo |
Moves the object to another folder.
| |
| QueryInterface |
Cast to a Business Object interface.
| |
| Reload |
Refreshes the object data from secondary storage (e.g. database)
if available. Use this method to retrieve up-to-date audit information
(ChangedBy, ChangedOn properties).
| |
| SetAttrValue(IAttrDef, Object) |
Stores the specified attribute value.
| |
| SetAttrValue(String, String, Object) |
Stores the specified attribute value.
| |
| SetAttrValues |
Set multiple attribute values with a single method call.
| |
| SetRelationshipIndex |
Re-position a relationship within the object/reltype/direction order.
| |
| SetRelationshipIndices |
Re-order all relationships of a object/reltype/direction context.
| |
| SetTableAttrValues |
Sets the table attribute values.
| |
| Touch |
Updates the ChangedBy and ChangedOn information.
| |
| TryCastT |
Casts to a Business Object interface.
| |
| TryGetAttrValue(IAttrDef, Boolean) |
Attempts to get the specified attribute value and indicates if the value is assigned.
| |
| TryGetAttrValue(IAttrDef, DateTime) |
Attempts to get the specified attribute value and indicates if the value is assigned.
| |
| TryGetAttrValue(IAttrDef, Double) |
Attempts to get the specified attribute value and indicates if the value is assigned.
| |
| TryGetAttrValue(IAttrDef, Int64) |
Attempts to get the specified attribute value and indicates if the value is assigned.
| |
| TryGetAttrValue(IAttrDef, Object) |
Attempts to get the specified attribute value and indicates if the value is assigned.
| |
| TryGetAttrValue(IAttrDef, String) |
Attempts to get the specified attribute value and indicates if the value is assigned.
| |
| TryGetAttrValue(String, String, Boolean) |
Attempts to get the specified attribute value and indicates if the value is assigned.
| |
| TryGetAttrValue(String, String, DateTime) |
Attempts to get the specified attribute value and indicates if the value is assigned.
| |
| TryGetAttrValue(String, String, Double) |
Attempts to get the specified attribute value and indicates if the value is assigned.
| |
| TryGetAttrValue(String, String, Int64) |
Attempts to get the specified attribute value and indicates if the value is assigned.
| |
| TryGetAttrValue(String, String, Object) |
Attempts to get the specified attribute value and indicates if the value is assigned.
| |
| TryGetAttrValue(String, String, String) |
Attempts to get the specified attribute value and indicates if the value is assigned.
| |
| TryGetSingleRelationship(String, RelDirection, IRelationship) |
Tries to retrieves a single relationship.
| |
| TryGetSingleRelationship(IRelType, RelDirection, IRelationship) |
Tries to retrieves a single relationship.
| |
| UnLock |
Unlock the object.
|
| Name | Description | |
|---|---|---|
| GetFolderId |
Gets the folder ID without unneccessarily retrieving the full folder information.
(Defined by ModelExtensions.) | |
| GetRepository |
Gets the corresponding repository for an object.
(Defined by ModelExtensions.) | |
| IsConnected(String, RelDirection) | Overloaded.
Detects whether an object is connected by at least one relationship of a specific type.
(Defined by ModelExtensions.) | |
| IsConnected(IRelType, RelDirection) | Overloaded.
Detects whether an object is connected by at least one relationship of a specific type.
(Defined by ModelExtensions.) |