All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

MHIAttributeAccess (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---MHIAttributeAccess
 


Interface to access the E5 object properties.
Note: All the IDs in the Get and Set methods defined in this inteface deal with Object ID (attribute name: oid), not the Object UUID (attribute name: objectuuid)

DNBIAMHIAttributeAccess is implemented on Document. Applications and CAA partners should NOT implement this interface.


Method Index

GetBooleanAttribute
This gets an CATBoolean Attribute value of an input Object
GetDoubleAttribute
This gets a Double Attribute value of an input Object
GetLongAttribute
This gets a Long Attribute value of an input Object
GetStringAttribute
This gets a String Attribute value of an input Object
SetBooleanAttribute
This sets an CATBoolean Attribute value to an input Object
SetDoubleAttribute
This sets a Double Attribute value to an input Object
SetLongAttribute
This sets a Long Attribute value to an input Object
SetStringAttribute
This sets a String Attribute value to an input Object

Methods


o Func GetBooleanAttribute(CATBSTR iObjId,
CATBSTR iAttrName) As boolean
This gets an CATBoolean Attribute value of an input Object
Parameters:
iObjId
The id of the object whose attribute values are required.
iAttrName
The name of the Attribute whose value we need
oAttrValue
CATBoolean value of the Attribute
Returns:
S_OK or E_FAIL
o Func GetDoubleAttribute(CATBSTR iObjId,
CATBSTR iAttrName) As double
This gets a Double Attribute value of an input Object
Parameters:
iObjId
The id of the object whose attribute values are required.
iAttrName
The name of the Attribute whose value we need
oAttrValue
Double value of the Attribute
Returns:
S_OK or E_FAIL
o Func GetLongAttribute(CATBSTR iObjId,
CATBSTR iAttrName) As long
This gets a Long Attribute value of an input Object
Parameters:
iObjId
The id of the object whose attribute values are required.
iAttrName
The name of the Attribute whose value we need
oAttrValue
Long value of the Attribute
Returns:
S_OK or E_FAIL
o Func GetStringAttribute(CATBSTR iObjId,
CATBSTR iAttrName) As CATBSTR
This gets a String Attribute value of an input Object
Parameters:
iObjId
The id of the object whose attribute values are required.
iAttrName
The name of the Attribute whose value we need
oAttrValue
CATUnicodeString value of the Attribute
Returns:
S_OK or E_FAIL
o Sub SetBooleanAttribute(CATBSTR iObjId,
CATBSTR iAttrName,
boolean iAttrValue)
This sets an CATBoolean Attribute value to an input Object
Parameters:
iObjId
The id of the object whose attribute values are required.
iAttrName
The Attribute Name whose value we need to set
iAttrValue
CATBoolean value of the Attribute
Returns:
S_OK or E_FAIL
o Sub SetDoubleAttribute(CATBSTR iObjId,
CATBSTR iAttrName,
double iAttrValue)
This sets a Double Attribute value to an input Object
Parameters:
iObjId
The id of the object whose attribute values are required.
iAttrName
The Attribute Name whose value we need to set
iAttrValue
Double value of the Attribute
Returns:
S_OK or E_FAIL
o Sub SetLongAttribute(CATBSTR iObjId,
CATBSTR iAttrName,
long iAttrValue)
This sets a Long Attribute value to an input Object
Parameters:
iObjId
The id of the object whose attribute values are required.
iAttrName
The Attribute Name whose value we need to set
iAttrValue
The Attribute value to be set
Returns:
S_OK or E_FAIL
o Sub SetStringAttribute(CATBSTR iObjId,
CATBSTR iAttrName,
CATBSTR iAttrValue)
This sets a String Attribute value to an input Object
Parameters:
iObjId
The id of the object whose attribute values are required.
iAttrName
The Attribute Name whose value we need to set
iAttrValue
CATUnicodeString value of the Attribute
Returns:
S_OK or E_FAIL

Copyright © 2003, Dassault Systèmes. All rights reserved.