All Frameworks  Object Hierarchy  This Framework  Next  Indexes  

E5Property (Object)

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


Interface to access object properties.
Role: This interface allow user to access and edit properties for those V5 objects who were loaded from E5. Note

While getting or setting the value for any attribute the implementation attempts to access attribute value from V5 object first & then from Manufacturing Hub. If attribute happens to be one of the mapped attribute or if attribute with same name (user attribute, CATIA attribute ...) exists on V5 object, then value will be returned from V5 object. If V5 object doesn't have that attribute, then value will be directly returned from Manufacturing Hub database. When we try to get attribute from V5 object, if required object will be loaded in memory and this may result in populating of cache (CGR, Selective loading...)

This interface expect caller to use attribute name define in PPPR server for example caller should use "note" to access Description .

Set calls will succeed only if user has editing privileges for that object.


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 iAttrName) As boolean
This gets an CATBoolean Attribute value of an input Object
Parameters:
iAttrName
The name of the Attribute whose value we need
oAttrValue
CATBoolean value of the Attribute
o Func GetDoubleAttribute(CATBSTR iAttrName) As double
This gets a Double Attribute value of an input Object
Parameters:
iAttrName
The name of the Attribute whose value we need
oAttrValue
Double value of the Attribute
o Func GetLongAttribute(CATBSTR iAttrName) As long
This gets a Long Attribute value of an input Object
Parameters:
iAttrName
The name of the Attribute whose value we need
oAttrValue
Long value of the Attribute
o Func GetStringAttribute(CATBSTR iAttrName) As CATBSTR
This gets a String Attribute value of an input Object
Parameters:
iAttrName
The name of the Attribute whose value we need
Returns:
CATUnicodeString value of the Attribute
o Sub SetBooleanAttribute(CATBSTR iAttrName,
boolean iAttrValue)
This sets an CATBoolean Attribute value to an input Object
Parameters:
iAttrName
The Attribute Name whose value we need to set
iAttrValue
CATBoolean value of the Attribute
Returns:
Value of iAttrName
o Sub SetDoubleAttribute(CATBSTR iAttrName,
double iAttrValue)
This sets a Double Attribute value to an input Object
Parameters:
iAttrName
The Attribute Name whose value we need to set
iAttrValue
Double value of the Attribute
Returns:
Value of iAttrName
o Sub SetLongAttribute(CATBSTR iAttrName,
long iAttrValue)
This sets a Long Attribute value to an input Object
Parameters:
iAttrName
The Attribute Name whose value we need to set
Returns:
Value of iAttrName
o Sub SetStringAttribute(CATBSTR iAttrName,
CATBSTR iAttrValue)
This sets a String Attribute value to an input Object
Parameters:
iAttrName
The Attribute Name whose value we need to set
iAttrValue
CATUnicodeString value of the Attribute

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