C++ C#

Item Class

Namespace: Semata.DataStore

An instance of an ItemType. It can have Attributes and Associations as defined by its ItemType.

public interface class Item

Methods

Name Description
AddAssociation(AssociationType^, Item^) Associates this Item with another
AddAssociationByName(String^, Item^) Associates this Item with another
AssociationExists(AssociationType^, Item^) Is this item associated with another
AssociationExistsByName(String^, Item^) Is this item associated with another
Delete() Deletes this Item
GetAssociations(AssociationType^) Gets all the Items associated with this one, by the AssociationType
GetAssociationsByName(String^) Gets all the Items associated with this one, by the AssociationType
GetAttribute(AttributeType^) Gets the value of an Attribute
GetAttributeByName(String^) Gets the value of an Attribute
GetConnection() The current Connection
GetItemId() The id of this Item
GetItemType() The ItemType of this Item
RemoveAssociation(AssociationType^, Item^) Removes the association of this Item with another
RemoveAssociationByName(String^, Item^) Removes the association of this Item with another
SetAttribute(AttributeType^, Object^) Sets the value of an Attribute
SetAttributeByName(String^, Object^) Sets the value of an Attribute