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

For Mapped attributes implementation will access V5 Model Object. For unmapped attributes Implementation will access them in PPR Server.

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.