All Frameworks Class Hierarchy This Framework Previous Next Indexes
VPMInterfaces Interface CATIVpmAttribute
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATIVpmAttribute
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIVpmAttribute
This interface is implemented by all persistent ENOVIA objects, and provides means to read/write (non multi-valuated) attribute values.
Method Index
- o
AutomaticTSMode()
- Automatical managing of time stamp.
- o
CheckAttribute(CATUnicodeString&,VPMCA&)
- Verify the attribut on the VPMObject.
- o
CloneMe(CATIVpmFactoryObject_var&,CATListOfVPMCA&)
- Clone a VPMObject and assign a list of attributes.
- o
CloneMe(CATListOfVPMCA&,CATIVpmFactoryObject_var&)
- Clone a VPMObject.
- o
DoesBlobExist(CATUnicodeString&)
- To know if a Blob exists.
- o
GetAttributeName(CATUnicodeString&,AccessControl&,VPMCA&)
- Access to an attribute.
- o
GetAttributeNames(CATListOfVPMCA&,AccessControl&)
- Access to an attribute.
- o
GetBlob(CATUnicodeString&,SEQUENCE(octet)&)
- Retrieve the value from an existing blob.
- o
GetIdentifier(CORBAAny&)
- Get the VPMObject UUID.
- o
GetListOfBlob(CATListOfCATUnicodeString&)
- Retrieve names of existing blobs.
- o
GetMaxValue(CATUnicodeString&,CORBAAny&)
- Compute the maximal value.
- o
GetMinValue(CATUnicodeString&,CORBAAny&)
- Compute the minimal value.
- o
GetValue(CATUnicodeString&,CORBAAny&)
- Get a Simple Value.
- o
IsChanged()
- Check the modification Values.
- o
IsPersistent()
- Is the object persistent.
- o
NoTSMode()
- No automatical managing of time stamp.
- o
RefreshValues()
- Check the modification Values.
- o
RemoveBlob(CATUnicodeString&)
- Remove an existing blob.
- o
Reset()
- Reset an object.
- o
SetBlob(CATUnicodeString&,SEQUENCE(octet)&,boolean)
- Valuate or create a new Blob.
- o
SetPersistencyFlag()
- Set persistency flag.
- o
SetValue(CATUnicodeString&,CORBAAny&)
- Set a Simple Value.
- o
UnsetPersistencyFlag()
- Unset persistency flag.
- o
UnsetValue(CATUnicodeString&)
- Unset a Simple Value.
Methods
o AutomaticTSMode
public virtual HRESULT AutomaticTSMode( | )= 0 |
-
Automatical managing of time stamp.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- Time Stamp is automaticaly modified
- E_FAIL
- An error occured during the process
o CheckAttribute
-
Verify the attribut on the VPMObject.
- Parameters:
-
- iAttributeName
- The name of attribute.
- oVPMCA
- The checked attribute.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The attribute exists
- S_FALSE
- The attribute does not exist
- E_FAIL
- An error occured during the process
o CloneMe
public virtual HRESULT CloneMe( | const CATIVpmFactoryObject_var& | iMyClone, |
| CATListOfVPMCA& | iVPMCAList)= 0 |
-
Clone a VPMObject and assign a list of attributes.
- Parameters:
-
- iMyClone
- The clone.
- iVPMCAList
- List of attributes.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- Clone OK
- E_FAIL
- An error occured during the process
o CloneMe
public virtual HRESULT CloneMe( | CATListOfVPMCA& | iVPMCAList, |
| CATIVpmFactoryObject_var& | oMyClone)= 0 |
-
Clone a VPMObject.
- Parameters:
-
- iVPMCAList
- List of attributes.
- oMyClone
- The clone.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- Clone OK
- E_FAIL
- An error occured during the process
o DoesBlobExist
-
To know if a Blob exists.
- Parameters:
-
- iBlobName
- The name of the blob.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The blob was found
- S_FALSE
- The blob was not found
- E_FAIL
- An error occured during the process
o GetAttributeName
public virtual HRESULT GetAttributeName( | const CATUnicodeString& | iAttributeName, |
| const AccessControl& | iAccessControl, |
| VPMCA& | oVPMCA)= 0 |
-
Access to an attribute.
- Parameters:
-
- iAttributeName
- The name of the attribute.
- iAccessControl
- .
- oVPMCA
- The definition found.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- Definition OK
- E_FAIL
- An error occured during the process
o GetAttributeNames
public virtual HRESULT GetAttributeNames( | CATListOfVPMCA& | oVPMCAList, |
| const AccessControl& | iAccessControl)= 0 |
-
Access to an attribute.
- Parameters:
-
- oVPMCAList
- List of definitions found.
- iAccessControl
- .
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- Definitions OK
- E_FAIL
- An error occured during the process
o GetBlob
-
Retrieve the value from an existing blob.
- Parameters:
-
- iBlobName
- The name of the blob.
- oValue
- The value found in it.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The blob was found
- S_FALSE
- The blob was not found
- E_FAIL
- An error occured during the process
o GetIdentifier
-
Get the VPMObject UUID.
- Parameters:
-
- oUUID
- The uuid found.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- UUID OK
- E_FAIL
- An error occured during the process
o GetListOfBlob
-
Retrieve names of existing blobs.
- Parameters:
-
- oListOfBlob
- The list of blobs found.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The list was found
- E_FAIL
- An error occured during the process
o GetMaxValue
-
Compute the maximal value.
- Parameters:
-
- iAttributeName
- The name of attribute.
- oMaxValue
- The computed maximal value.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The attribute has been computed
- E_FAIL
- An error occured during the process
o GetMinValue
-
Compute the minimal value.
- Parameters:
-
- iAttributeName
- The name of attribute.
- oMinValues
- The computed minimal value.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The attribute has been computed
- E_FAIL
- An error occured during the process
o GetValue
-
Get a Simple Value.
- Parameters:
-
- iAttributeName
- The name of attribute.
- oValue
- The value found.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The attribute is valuated
- S_FALSE
- The attribute is not valuated
- E_FAIL
- An error occured during the process or the attribute does not exist
o IsChanged
public virtual HRESULT IsChanged( | )= 0 |
-
Check the modification Values.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- VPMObject is modified
- S_FALSE
- VPMObject is not modified
- E_FAIL
- An error occured during the process
o IsPersistent
public virtual HRESULT IsPersistent( | )= 0 |
-
Is the object persistent.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The object is persistent
- S_FALSE
- The object is volatile
o NoTSMode
public virtual HRESULT NoTSMode( | )= 0 |
-
No automatical managing of time stamp.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- User has to modify TS explicitely
- E_FAIL
- An error occured during the process
o RefreshValues
public virtual HRESULT RefreshValues( | )= 0 |
-
Check the modification Values.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- Refresh OK
- E_FAIL
- An error occured during the process
o RemoveBlob
-
Remove an existing blob.
- Parameters:
-
- iBlobName
- The name of the blob.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The blob was found and removed
- S_FALSE
- The blob was not found
- E_FAIL
- An error occured during the process
o Reset
-
Reset an object.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The object is no more modified
- E_FAIL
- An error occured during the process
o SetBlob
-
Valuate or create a new Blob.
- Parameters:
-
- iBlobName
- The name of the blob.
- iValue
- The value to put in it.
- iclone
- Define if the blob must be duplicated when the object is duplicated.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The blob is modified or created
- E_FAIL
- An error occured during the process
o SetPersistencyFlag
public virtual HRESULT SetPersistencyFlag( | )= 0 |
-
Set persistency flag.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The object is candidate to the persistence
- E_FAIL
- An error occured during the process
o SetValue
-
Set a Simple Value.
- Parameters:
-
- iAttributeName
- The name of attribute.
- iValue
- The new value.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The attribute is modified
- S_FALSE
- Impossible to modify this attribute
- E_FAIL
- An error occured during the process or the attribute does not exist
o UnsetPersistencyFlag
public virtual HRESULT UnsetPersistencyFlag( | )= 0 |
-
Unset persistency flag.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The object is not candidate to the persistence
- E_FAIL
- An error occured during the process
o UnsetValue
-
Unset a Simple Value.
- Parameters:
-
- iAttributeName
- The name of attribute.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The attribute is modified
- S_FALSE
- Impossible to modify this attribute
- E_FAIL
- An error occured during the process or the attribute does not exist
This object is included in the file: CATIVpmAttribute.h
If needed, your Imakefile.mk should include the module: GUIDVPMInterfaces