Teamcenter C++ API Reference  2312
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
Teamcenter::TC_Validation Class Reference

#include <TC_Validation.hxx>

Inheritance diagram for Teamcenter::TC_Validation:
Teamcenter::ImanRelation Teamcenter::POM_object Teamcenter::BusinessObject Teamcenter::RootObject Teamcenter::Object Teamcenter::Fnd0TC_valdata_result

Public Member Functions

int create (::Teamcenter::CreateInput *creInput)
 
int createPost (::Teamcenter::CreateInput *creInput)
 
int finalizeCreateInput (::Teamcenter::CreateInput *creInput)
 
int finalizeSaveAsInput (::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData * > *vecDeepCopyData)
 
int fnd0AskCopyStableLmd (date_t *copyStableLmd, bool *isNull) const
 
int fnd0AskSRUid (std::string *uid, bool *isFirstTime) const
 
int fnd0chkObjProp (const std::string &relationType, const std::string &objectType, const std::string &propertyName, const std::string &propertyValue, const bool &matchall, const std::string &op, bool *result)
 
int fnd0CreateShadowObject (::Teamcenter::CreateInput *pCreInput)
 
int fnd0Delete ()
 
int fnd0GenerateRecipe (std::string *recipe)
 
int fnd0GetChildren (const std::vector< std::string > *propertyNames, std::vector< tag_t > *childTags, std::vector< std::string > *childContextPropertyNames)
 
int fnd0GetSerializationState (bool *currentState) const
 
int fnd0IsRecoverable (bool *isPersistedRecipe, bool *isRecoverableIDSupported) const
 
int fnd0IsShadowObjectForEdit (bool *isEdit)
 
int fnd0SaveAsShadowObject (::Teamcenter::SaveAsInput *pSvAsInput, tag_t *newShObjTag)
 
int fnd0SetSerializationState (bool newState, bool *stateChanged)
 
int fnd0SetSRUid (const std::string *uid)
 
int getChar (const std::string &charName, char &charRetValue, bool &isNull, bool &hasReadAccess)
 
int getChar (const std::string &charName, char &charRetValue, bool &isNull)
 
int getCharArray (const std::string &charArrayName, std::vector< char > &vectorCharVals, std::vector< int > &vectorIsNullVals, bool &hasReadAccess)
 
int getCharArray (const std::string &charArrayName, std::vector< char > &vectorCharVals, std::vector< int > &vectorIsNullVals)
 
int getDate (const std::string &dateName, date_t &dateRetValue, bool &isNull, bool &hasReadAccess)
 
int getDate (const std::string &dateName, date_t &dateRetValue, bool &isNull)
 
int getDateArray (const std::string &dateArrayName, std::vector< date_t > &dateArrayRetValue, std::vector< int > &isNull, bool &hasReadAccess)
 
int getDateArray (const std::string &dateArrayName, std::vector< date_t > &dateArrayRetValue, std::vector< int > &isNull)
 
int getDeepCopyData (const std::string *operation, std::vector< ::Teamcenter::DeepCopyData * > *deepCopyDatas)
 
int getDouble (const std::string &doubleName, double &doubleRetValue, bool &isNull, bool &hasReadAccess)
 
int getDouble (const std::string &doubleName, double &doubleRetValue, bool &isNull)
 
int getDoubleArray (const std::string &doubleArrayName, std::vector< double > &vectorDoubleVals, std::vector< int > &vectorIsNullVals, bool &hasReadAccess)
 
int getDoubleArray (const std::string &doubleArrayName, std::vector< double > &vectorDoubleVals, std::vector< int > &vectorIsNullVals)
 
int getFnd0IsCsIdMigratedOnly (bool &value, bool &isNull) const
 
int getFnd0IsPrimaryInSync (bool &value, bool &isNull) const
 
int getFnd0mfkinfo (std::string &value, bool &isNull) const
 
int getFnd0objectId (std::string &value, bool &isNull) const
 
int getInt (const std::string &intName, int &intRetValue, bool &isNull, bool &hasReadAccess)
 
int getInt (const std::string &intName, int &intRetValue, bool &isNull)
 
int getIntArray (const std::string &intArrayName, std::vector< int > &vectorIntVals, std::vector< int > &vectorIsNullVals, bool &hasReadAccess)
 
int getIntArray (const std::string &intArrayName, std::vector< int > &vectorIntVals, std::vector< int > &vectorIsNullVals)
 
int getIs_modifiable (bool &value, bool &isNull) const
 
int getLogical (const std::string &logicalName, bool &boolRetValue, bool &isNull, bool &hasReadAccess)
 
int getLogical (const std::string &logicalName, bool &boolRetValue, bool &isNull)
 
int getLogicalArray (const std::string &logicalArrayName, std::vector< int > &vectorLogicalVals, std::vector< int > &vectorIsNullVals, bool &hasReadAccess)
 
int getLogicalArray (const std::string &logicalArrayName, std::vector< int > &vectorLogicalVals, std::vector< int > &vectorIsNullVals)
 
int getObject_string (std::string &value, bool &isNull) const
 
::Teamcenter::POM_objectImpl * getPOM_objectImpl () const
 
virtual RuntimeBusinessObjectImpl * getRuntimeBusinessObjectImpl () const
 
int getString (const std::string &stringName, std::string &stringRetValue, bool &isNull, bool &hasReadAccess)
 
int getString (const std::string &stringName, std::string &stringRetValue, bool &isNull)
 
int getStringArray (const std::string &stringArrayName, std::vector< std::string > &vectorStringVals, std::vector< int > &vectorIsNullVals, bool &hasReadAccess)
 
int getStringArray (const std::string &stringArrayName, std::vector< std::string > &vectorStringVals, std::vector< int > &vectorIsNullVals)
 
tag_t getTag () const
 
int getTag (const std::string &tagName, tag_t &tagRetValue, bool &isNull, bool &hasReadAccess)
 
int getTag (const std::string &tagName, tag_t &tagRetValue, bool &isNull)
 
int getTagArray (const std::string &tagArrayName, std::vector< tag_t > &vectorTagVals, std::vector< int > &vectorIsNullVals, bool &hasReadAccess)
 
int getTagArray (const std::string &tagArrayName, std::vector< tag_t > &vectorTagVals, std::vector< int > &vectorIsNullVals)
 
const std::string & getTypeName () const
 
tag_t getTypeTag () const
 
int invokeOperation (const std::string *operationId,...)
 
int invokeOperation (const std::string &operationId, va_list args)
 
int invokeOperation (int operationIdInt, va_list args)
 
int invokeOperation (const std::string &operationId, std::vector< void * > &args)
 
int invokeOperation (int operationIdInt, std::vector< void * > &args)
 
int isReplica (bool *result)
 
int performDeepCopy (::Teamcenter::OperationInput *pOperationInput, std::vector< ::Teamcenter::DeepCopyData * > *vecDeepCopyData)
 
int saveAs (::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData * > *vecDeepCopyData, tag_t *newObjTag)
 
int saveAsPost (::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData * > *vecDeepCopyData)
 
int setChar (const std::string &charName, const char &charValue, bool isNull)
 
int setCharArray (const std::string &charArrayName, const std::vector< char > &vectorCharVals, const std::vector< int > *vectorIsNullVals)
 
int setDate (const std::string &dateName, const date_t &dateValue, bool isNull)
 
int setDateArray (const std::string &dateArrayName, const std::vector< date_t > &vectorDateVals, const std::vector< int > *vectorIsNullVals)
 
int setDouble (const std::string &doubleName, const double &doubleValue, bool isNull)
 
int setDoubleArray (const std::string &doubleArrayName, const std::vector< double > &vectorDoubleVals, const std::vector< int > *vectorIsNullVals)
 
int setFnd0IsPrimaryInSync (bool value, bool isNull=false)
 
int setInt (const std::string &intName, const int &intValue, bool isNull)
 
int setIntArray (const std::string &intArrayName, const std::vector< int > &vectorIntVals, const std::vector< int > *vectorIsNullVals)
 
int setLogical (const std::string &logicalName, const bool logicalValue, bool isNull)
 
int setLogicalArray (const std::string &boolArrayName, const std::vector< int > &vectorboolVals, const std::vector< int > *vectorIsNullVals)
 
int setPropertiesFromCreateInput (::Teamcenter::CreateInput *creInput)
 
int setPropertiesFromSaveAsInput (::Teamcenter::SaveAsInput *pSavAsInput)
 
int setString (const std::string &stringName, const std::string &stringValue, bool isNull)
 
int setStringArray (const std::string &stringArrayName, const std::vector< std::string > &vectorStringVals, const std::vector< int > *vectorIsNullVals)
 
int setTag (const std::string &tagName, const tag_t &tagValue, bool isNull)
 
int setTagArray (const std::string &tagArrayName, const std::vector< tag_t > &vectorTagVals, const std::vector< int > *vectorIsNullVals)
 
int validateCreateInput (::Teamcenter::CreateInput *creInput)
 
int validateSaveAsInput (::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData * > *vecDeepCopyData)
 

Static Public Member Functions

static int fnd0BulkDelete (std::vector< ::Teamcenter::BulkInput * > *inputs,::Teamcenter::BulkData *bd)
 
static int fnd0Create (std::vector< ::Teamcenter::BulkInput * > *inputs,::Teamcenter::BulkData *bd)
 
static int fnd0CreatePost (std::vector< ::Teamcenter::BulkInput * > *inputs,::Teamcenter::BulkData *bd)
 
static int fnd0FinalizeCreateInput (std::vector< ::Teamcenter::BulkInput * > *inputs,::Teamcenter::BulkData *bd)
 
static int fnd0FinalizeSaveAsInput (std::vector< ::Teamcenter::BulkInput * > *inputs,::Teamcenter::BulkData *bd)
 
static int fnd0GetDeepCopyData (std::vector< ::Teamcenter::BulkInput * > *getDeepCopydata,::Teamcenter::BulkData *bd)
 
static int fnd0Lock (std::vector< ::Teamcenter::BulkInput * > *inputs,::Teamcenter::BulkData *bd, const bool isLockForDelete, const bool allowRelock)
 
static int fnd0PerformDeepCopy (std::vector< ::Teamcenter::BulkInput * > *inputs,::Teamcenter::BulkData *bd)
 
static int fnd0Refresh (std::vector< ::Teamcenter::BulkInput * > *inputs,::Teamcenter::BulkData *bd)
 
static int fnd0Save (std::vector< ::Teamcenter::BulkInput * > *inputs,::Teamcenter::BulkData *bd)
 
static int fnd0SaveAs (std::vector< ::Teamcenter::BulkInput * > *inputs,::Teamcenter::BulkData *bd)
 
static int fnd0SaveAsPost (std::vector< ::Teamcenter::BulkInput * > *inputs,::Teamcenter::BulkData *bd)
 
static int fnd0SetPropertiesFromCreateInput (std::vector< ::Teamcenter::BulkInput * > *inputs,::Teamcenter::BulkData *bd)
 
static int fnd0SetPropertiesFromSaveAsInput (std::vector< ::Teamcenter::BulkInput * > *inputs,::Teamcenter::BulkData *bd)
 
static int fnd0Unlock (std::vector< ::Teamcenter::BulkInput * > *inputs,::Teamcenter::BulkData *bd)
 
static int fnd0ValidateBOTypeForRelease (std::vector< ::Teamcenter::BulkInput * > *inputObjects,::Teamcenter::BulkData *bulkData, const bool isDryRun, std::map< tag_t, std::vector< std::string > > *validationResults)
 
static int fnd0ValidateBOTypePostPromote (std::vector< ::Teamcenter::BulkInput * > *inputObjects,::Teamcenter::BulkData *bulkData, const bool isDryRun, std::map< tag_t, std::vector< std::string > > *validationResults)
 
static int fnd0ValidateBOTypePrePromote (std::vector< ::Teamcenter::BulkInput * > *inputObjects,::Teamcenter::BulkData *bulkData, const bool isDryRun, std::map< tag_t, std::vector< std::string > > *validationResults)
 
static int fnd0ValidateCreateInput (std::vector< ::Teamcenter::BulkInput * > *inputs,::Teamcenter::BulkData *bd)
 
static int fnd0ValidateSaveAsInput (std::vector< ::Teamcenter::BulkInput * > *inputs,::Teamcenter::BulkData *bd)
 
static const std::string & getInterfaceName ()
 

Protected Member Functions

virtual void initialize (::Teamcenter::RootObjectImpl *impl)
 
virtual void initialize (RootObjectImpl *impl=0)
 
void setTag (tag_t tag)
 
 TC_Validation ()
 
virtual ~TC_Validation ()
 

Private Member Functions

TC_ValidationImpl * getTC_ValidationImpl () const
 
TC_Validationoperator= (const TC_Validation &)
 
void setDeleteImpl (bool del)
 
::Teamcenter::RootObjectImpl * setTC_ValidationImpl (::Teamcenter::RootObjectImpl *impl)
 
 TC_Validation (const TC_Validation &)
 

Private Attributes

bool m_deleteImpl
 
TC_ValidationImpl * m_tc_validationImpl
 

Static Private Attributes

static std::string name
 

Friends

class TC_ValidationDelegate
 
class TC_ValidationGenImpl
 

Detailed Description

Definition at line 50 of file TC_Validation.hxx.

Constructor & Destructor Documentation

Teamcenter::TC_Validation::TC_Validation ( )
protected

Constructor

virtual Teamcenter::TC_Validation::~TC_Validation ( )
protectedvirtual

Destructor

Teamcenter::TC_Validation::TC_Validation ( const TC_Validation )
private

Private default constructor. We do not want this class instantiated without the business object passed in.

Parameters
TC_Validation- desc for TC_Validation parameter

Member Function Documentation

int Teamcenter::BusinessObject::create ( ::Teamcenter::CreateInput creInput)
inherited

desc for validate for create

Version
Tc 8
Parameters
creInput- desc for creInput parameter
Returns
- ret desc for validate for create
int Teamcenter::BusinessObject::createPost ( ::Teamcenter::CreateInput creInput)
inherited

desc for createPost

Version
Tc 8
Parameters
creInput- Description for the Create Input
Returns
- return desc for createPost
int Teamcenter::BusinessObject::finalizeCreateInput ( ::Teamcenter::CreateInput creInput)
inherited

Description for the Finalize Create Input

Version
Tc 8
Parameters
creInput- desc for creInput parameter
Returns
- Return desc for Initialize for Create
int Teamcenter::BusinessObject::finalizeSaveAsInput ( ::Teamcenter::SaveAsInput pSavAsInput,
std::vector< ::Teamcenter::DeepCopyData * > *  vecDeepCopyData 
)
inherited

finalize operation input

Version
Teamcenter 9
Parameters
pSavAsInput- desc
vecDeepCopyData- desc
Returns
- returns an int
int Teamcenter::ImanRelation::fnd0AskCopyStableLmd ( date_t *  copyStableLmd,
bool *  isNull 
) const
inherited

This operation returns the Copy Stable Last Modified Date for the secondary object.

Version
Teamcenter 11.2
Parameters
copyStableLmd- The Copy Stable Lmd of the secondary data on the relation.
isNull- True if the value of lmd or lsd is not set on the secondary object
Returns
-
int Teamcenter::BusinessObject::fnd0AskSRUid ( std::string *  uid,
bool *  isFirstTime 
) const
inherited

This is the getter for retrieving the recipe/permanent ID if its been created (and cached on the instance). Every Business Object should implement this operation.

Version
Teamcenter 11.1
Parameters
uid- Recipe/permanent ID
isFirstTime- If Session Recovery Uid is yet to be set or does the object need to be serialized again?
Returns
- Failure code
static int Teamcenter::POM_object::fnd0BulkDelete ( std::vector< ::Teamcenter::BulkInput * > *  inputs,
::Teamcenter::BulkData bd 
)
staticinherited

This operation deletes inputs objects in bulk. It either deletes none of the input objects or deletes all the input objects. It doesn't support partial deletion.

Version
Teamcenter 11.6
Parameters
inputs- A vector of data that contains reference to the object to be deleted.
bd- A data structure to store objects and other information relevant for set-based operation.
Returns
- Returns ITK_ok on Success. Otherwise, returns the specific error code.
int Teamcenter::POM_object::fnd0chkObjProp ( const std::string &  relationType,
const std::string &  objectType,
const std::string &  propertyName,
const std::string &  propertyValue,
const bool &  matchall,
const std::string &  op,
bool *  result 
)
inherited

This operation verifies whether a particular property (propertyName) value of a secondary object referenced by the BO (Master form, dataset, ICO and so on) matches the propertyValue depending on the comparator. The secondary object type is objectType and it is referenced by the BO using relationtype. All secondary objects that match the relationtype and objecttype criteria will be checked. If one of them fail the operation will return fail.

Version
Teamcenter 8.2
Parameters
relationType- The name of the relation of the secondary objects.
objectType- The type of the secondary objects.
propertyName- The name of the property to match.
propertyValue- The value of the property, in string format, to match.
matchall- Whether to do the comparison for all the secondary objects.
op- A value signifying the comparator operation.
result- Whether a match is found.
Returns
- Zero (0) if everything is alright otherwise the error code.
static int Teamcenter::BusinessObject::fnd0Create ( std::vector< ::Teamcenter::BulkInput * > *  inputs,
::Teamcenter::BulkData bd 
)
staticinherited

This operation is not supported now, there will be no support for issues stemming from uses of this operation.

Version
Teamcenter 11.4
Parameters
inputs- A vector of data that contains reference information to the object to be created
bd- A data structure to store objects and other information relevant for set-based operation
Returns
-
static int Teamcenter::BusinessObject::fnd0CreatePost ( std::vector< ::Teamcenter::BulkInput * > *  inputs,
::Teamcenter::BulkData bd 
)
staticinherited

This operation is not supported now, there will be no support for issues stemming from uses of this operation.

Version
Teamcenter 11.4
Parameters
inputs- A vector of data that contains reference information to the object to be saved
bd- A data structure to store objects and other information relevant for set-based operation
Returns
-
int Teamcenter::POM_object::fnd0CreateShadowObject ( ::Teamcenter::CreateInput pCreInput)
inherited

Operation to create/setting values for shadow object

Version
Teamcenter 11.1
Parameters
pCreInput- create input
Returns
- returns status as int
int Teamcenter::POM_object::fnd0Delete ( )
inherited

Deletes the instance.

Version
Teamcenter 11.1
Returns
- Failure code.
static int Teamcenter::BusinessObject::fnd0FinalizeCreateInput ( std::vector< ::Teamcenter::BulkInput * > *  inputs,
::Teamcenter::BulkData bd 
)
staticinherited

This operation is not supported now, there will be no support for issues stemming from uses of this operation.

Version
Teamcenter 11.4
Parameters
inputs- A vector of data that contains reference information to the object to be created
bd- A data structure to store objects and other information relevant for set-based operation
Returns
-
static int Teamcenter::BusinessObject::fnd0FinalizeSaveAsInput ( std::vector< ::Teamcenter::BulkInput * > *  inputs,
::Teamcenter::BulkData bd 
)
staticinherited

This operation is not supported now, there will be no support for issues stemming from uses of this operation.

Version
Teamcenter 11.2.3
Parameters
inputs- A vector of data that contains reference information to the object to be saved
bd- A data structure to store objects and other information relevant for set-based operation
Returns
-
int Teamcenter::BusinessObject::fnd0GenerateRecipe ( std::string *  recipe)
inherited

Generates permanent ID/recipe. Every Business Object should implement this operation.

Version
Teamcenter 11.1
Parameters
recipe- Permanent ID/recipe
Returns
- Failure code.
int Teamcenter::BusinessObject::fnd0GetChildren ( const std::vector< std::string > *  propertyNames,
std::vector< tag_t > *  childTags,
std::vector< std::string > *  childContextPropertyNames 
)
inherited

This operation returns the children to be displayed when expanding this object.

Version
Teamcenter 10
Parameters
propertyNames- The list of propertyNames to expand. If empty, then the properties defined in <TYPE>_DefaultChildProperties and <TYPE>_DefaultPseudoFolder are returned.
childTags- Tags of children.
childContextPropertyNames- The propertyName in which this child exists in the parent.
Returns
- status
static int Teamcenter::BusinessObject::fnd0GetDeepCopyData ( std::vector< ::Teamcenter::BulkInput * > *  getDeepCopydata,
::Teamcenter::BulkData bd 
)
staticinherited
Version
Teamcenter 11.4
Parameters
getDeepCopydata- This is the object to hold input information.
bd- This is the bulkData
Returns
-
int Teamcenter::BusinessObject::fnd0GetSerializationState ( bool *  currentState) const
inherited

Gets the current POM serialization state. Runtime Business Object does not need to implement this operation.

Version
Teamcenter 11.1
Parameters
currentState- Gets the current POM serialization state.
Returns
- Failure code
int Teamcenter::BusinessObject::fnd0IsRecoverable ( bool *  isPersistedRecipe,
bool *  isRecoverableIDSupported 
) const
inherited

If Business Object supports recoverable ID. Every Business Object should implement this operation.

Version
Teamcenter 11.1
Parameters
isPersistedRecipe- isPersistedRecipe param should be set to true if the recipe is limited to the user session and should be serialized to the database
isRecoverableIDSupported- Returning true indicates support for recoverability/permanent IDs
Returns
- Failure code.
int Teamcenter::POM_object::fnd0IsShadowObjectForEdit ( bool *  isEdit)
inherited

to differentiate between real and shadow object

Version
Teamcenter 11.1
Parameters
isEdit- boolean
Returns
- returns status as int
static int Teamcenter::POM_object::fnd0Lock ( std::vector< ::Teamcenter::BulkInput * > *  inputs,
::Teamcenter::BulkData bd,
const bool  isLockForDelete,
const bool  allowRelock 
)
staticinherited

This operation is not supported now, there will be no support for issues stemming from uses of this operation.

Version
Teamcenter 11.2.2
Parameters
inputs- A vector of data that contains reference to the object to be refreshed
bd- A data structure to store objects and other information relevant for set-based operation
isLockForDelete- A boolean to indicate if object(s) are to be locked for deletion
allowRelock- A boolean to indicate if object(s) can be relocked, which will discard all unsaved changes, if already locked by the same user
Returns
- This operation returns ITK_ok on success. Otherwise, it will return specific error code.
static int Teamcenter::BusinessObject::fnd0PerformDeepCopy ( std::vector< ::Teamcenter::BulkInput * > *  inputs,
::Teamcenter::BulkData bd 
)
staticinherited

This operation is not supported now, there will be no support for issues stemming from uses of this operation.

Version
Teamcenter 11.2.3
Parameters
inputs- A vector of data that contains reference information to the object to be saved
bd- A data structure to store objects and other information relevant for set-based operation
Returns
-
static int Teamcenter::POM_object::fnd0Refresh ( std::vector< ::Teamcenter::BulkInput * > *  inputs,
::Teamcenter::BulkData bd 
)
staticinherited

This operation is not supported now, there will be no support for issues stemming from uses of this operation.

Version
Teamcenter 11.2.2
Parameters
inputs- A vector of data that contains reference to the object to be refreshed
bd- A data structure to store objects and other information relevant for set-based operation
Returns
- This operation returns ITK_ok on success. Otherwise, it will return specific error code.
static int Teamcenter::POM_object::fnd0Save ( std::vector< ::Teamcenter::BulkInput * > *  inputs,
::Teamcenter::BulkData bd 
)
staticinherited

This operation is not supported now, there will be no support for issues stemming from uses of this operation.

Version
Teamcenter 11.2.2
Parameters
inputs- A vector of data that contains reference information to the object to be saved
bd- A data structure to store objects and other information relevant for set-based operation
Returns
- This operation returns ITK_ok on success. Otherwise, it will return specific error code.
static int Teamcenter::BusinessObject::fnd0SaveAs ( std::vector< ::Teamcenter::BulkInput * > *  inputs,
::Teamcenter::BulkData bd 
)
staticinherited

This operation is not supported now, there will be no support for issues stemming from uses of this operation.

Version
Teamcenter 11.2.3
Parameters
inputs- A vector of data that contains reference information to the object to be saved
bd- A data structure to store objects and other information relevant for set-based operation
Returns
-
static int Teamcenter::BusinessObject::fnd0SaveAsPost ( std::vector< ::Teamcenter::BulkInput * > *  inputs,
::Teamcenter::BulkData bd 
)
staticinherited

This operation is not supported now, there will be no support for issues stemming from uses of this operation.

Version
Teamcenter 11.2.3
Parameters
inputs- A vector of data that contains reference information to the object to be saved
bd- A data structure to store objects and other information relevant for set-based operation
Returns
-
int Teamcenter::POM_object::fnd0SaveAsShadowObject ( ::Teamcenter::SaveAsInput pSvAsInput,
tag_t *  newShObjTag 
)
inherited

operation for creating/setting values to shadow object during saveas

Version
Teamcenter 11.1
Parameters
pSvAsInput- save as input
newShObjTag- new shadow object
Returns
- returns status as int
static int Teamcenter::BusinessObject::fnd0SetPropertiesFromCreateInput ( std::vector< ::Teamcenter::BulkInput * > *  inputs,
::Teamcenter::BulkData bd 
)
staticinherited

This operation is not supported now, there will be no support for issues stemming from uses of this operation.

Version
Teamcenter 11.4
Parameters
inputs- A vector of data that contains reference information to the object to be created
bd- A data structure to store objects and other information relevant for set-based operation
Returns
-
static int Teamcenter::BusinessObject::fnd0SetPropertiesFromSaveAsInput ( std::vector< ::Teamcenter::BulkInput * > *  inputs,
::Teamcenter::BulkData bd 
)
staticinherited

This operation is not supported now, there will be no support for issues stemming from uses of this operation.

Version
Teamcenter 11.2.3
Parameters
inputs- A vector of data that contains reference information to the object to be saved
bd- A data structure to store objects and other information relevant for set-based operation
Returns
-
int Teamcenter::BusinessObject::fnd0SetSerializationState ( bool  newState,
bool *  stateChanged 
)
inherited

Sets the current POM serialization state. Runtime Business Object does not need to implement this operation.

Version
Teamcenter 11.1
Parameters
newState- true marks the POM serialization recipe as out-of-date, false marks it as up-to-date.
stateChanged- true if the state has changed.
Returns
- Failure code
int Teamcenter::BusinessObject::fnd0SetSRUid ( const std::string *  uid)
inherited

This is the setter for the recipe/permanent ID when it is created (to be cached on the instance). Every Business Object should implement this operation.

Version
Teamcenter 11.1
Parameters
uid- Rrecipe/permanent ID
Returns
- Failure code.
static int Teamcenter::POM_object::fnd0Unlock ( std::vector< ::Teamcenter::BulkInput * > *  inputs,
::Teamcenter::BulkData bd 
)
staticinherited

This operation is not supported now, there will be no support for issues stemming from uses of this operation.

Version
Teamcenter 11.2.2
Parameters
inputs- A vector of data that contains reference to the object to be refreshed
bd- A data structure to store objects and other information relevant for set-based operation
Returns
- This operation returns ITK_ok on success. Otherwise, it will return specific error code.
static int Teamcenter::POM_object::fnd0ValidateBOTypeForRelease ( std::vector< ::Teamcenter::BulkInput * > *  inputObjects,
::Teamcenter::BulkData bulkData,
const bool  isDryRun,
std::map< tag_t, std::vector< std::string > > *  validationResults 
)
staticinherited

Operation is to provide basic pre release validations to the objects which are going to be released through CM_validate_and_promote workflow handler.

Version
Teamcenter 11.2.3
Parameters
inputObjects- A vector of data that contains reference to the objects to be validated for release.
bulkData- A data structure to store objects and other information relevant for set-based operation.
isDryRun- A boolean flag to check whether the input operation is dry run operation or not.
validationResults- A data structure to store the validation results for the input objects.
Returns
- This operation returns ITK_ok on success. Otherwise, it will return specific error code.
static int Teamcenter::POM_object::fnd0ValidateBOTypePostPromote ( std::vector< ::Teamcenter::BulkInput * > *  inputObjects,
::Teamcenter::BulkData bulkData,
const bool  isDryRun,
std::map< tag_t, std::vector< std::string > > *  validationResults 
)
staticinherited

Operation is to provide basic post validations to the objects which are promoted to public using CM-promote-change-notice workflow handler. This operation does not support logically deleted objects.

Version
Teamcenter 11.2.3
Parameters
inputObjects- A vector of data that contains reference information to the objects which are promoted.
bulkData- A data structure to store objects and other information relevant for set-based operation.
isDryRun- A boolean flag to check whether the input operation is dry run operation or not.
validationResults- A data structure to store the validation results for the input objects.
Returns
- This operation returns ITK_ok on success. Otherwise, it will return specific error code.
static int Teamcenter::POM_object::fnd0ValidateBOTypePrePromote ( std::vector< ::Teamcenter::BulkInput * > *  inputObjects,
::Teamcenter::BulkData bulkData,
const bool  isDryRun,
std::map< tag_t, std::vector< std::string > > *  validationResults 
)
staticinherited

Operation is to provide basic pre validations to the objects which are going to be promoted to public using the CM-promote-change-notice workflow handler. This operation does not support logically deleted objects.

Version
Teamcenter 11.2.3
Parameters
inputObjects- A vector of data that contains reference to the objects which are to be promoted to public.
bulkData- A data structure to store objects and other information relevant for set-based operation.
isDryRun- A boolean flag to check whether the input operation is dry run operation or not.
validationResults- A data structure to store the validation results for the input objects.
Returns
- This operation returns ITK_ok on success. Otherwise, it will return specific error code.
static int Teamcenter::BusinessObject::fnd0ValidateCreateInput ( std::vector< ::Teamcenter::BulkInput * > *  inputs,
::Teamcenter::BulkData bd 
)
staticinherited

This operation is not supported now, there will be no support for issues stemming from uses of this operation.

Version
Teamcenter 11.4
Parameters
inputs- A vector of data that contains reference information to the object to be created
bd- A data structure to store objects and other information relevant for set-based operation
Returns
-
static int Teamcenter::BusinessObject::fnd0ValidateSaveAsInput ( std::vector< ::Teamcenter::BulkInput * > *  inputs,
::Teamcenter::BulkData bd 
)
staticinherited

This operation is not supported now, there will be no support for issues stemming from uses of this operation.

Version
Teamcenter 11.2.3
Parameters
inputs- A vector of data that contains reference information to the object to be saved
bd- A data structure to store objects and other information relevant for set-based operation
Returns
-
int Teamcenter::BusinessObject::getChar ( const std::string &  charName,
char &  charRetValue,
bool &  isNull,
bool &  hasReadAccess 
)
inherited

To Return the Character

Version
Teamcenter 2312
Parameters
charName- To return the character Name
charRetValue- The value of the Character
isNull- Is the Value Null
hasReadAccess- Indicates whether the user has read access to the property
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getChar ( const std::string &  charName,
char &  charRetValue,
bool &  isNull 
)
inherited

To Return the Character

Version
Tc 8
Parameters
charName- To return the character Name
charRetValue- The value of the Character
isNull- Is the Value Null
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getCharArray ( const std::string &  charArrayName,
std::vector< char > &  vectorCharVals,
std::vector< int > &  vectorIsNullVals,
bool &  hasReadAccess 
)
inherited

To retrieve the values of the Character array property

Version
Teamcenter 2312
Parameters
charArrayName- The Char array Name
vectorCharVals- Vector of char values
vectorIsNullVals- Is the Values Null
hasReadAccess- Indicates whether the user has read access to the property
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getCharArray ( const std::string &  charArrayName,
std::vector< char > &  vectorCharVals,
std::vector< int > &  vectorIsNullVals 
)
inherited

The array of Character

Version
Tc 8
Parameters
charArrayName- The Char array Name
vectorCharVals- vector of char values
vectorIsNullVals- Is the Values Null
Returns
- Returns the Status as Integer
int Teamcenter::BusinessObject::getDate ( const std::string &  dateName,
date_t &  dateRetValue,
bool &  isNull,
bool &  hasReadAccess 
)
inherited

To retrieve the values of the Date property

Version
Teamcenter 2312
Parameters
dateName- Name of the date property
dateRetValue- Value of the date property
isNull- is value null
hasReadAccess- Indicates whether the user has read access to the property.
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getDate ( const std::string &  dateName,
date_t &  dateRetValue,
bool &  isNull 
)
inherited

get date value

Version
Tc 8
Parameters
dateName- Name of the date property
dateRetValue- Value of the date property
isNull- is value Null
Returns
- status
int Teamcenter::BusinessObject::getDateArray ( const std::string &  dateArrayName,
std::vector< date_t > &  dateArrayRetValue,
std::vector< int > &  isNull,
bool &  hasReadAccess 
)
inherited

To retrieve the values of the date array property

Version
Teamcenter 2312
Parameters
dateArrayName- Name of the date array property
dateArrayRetValue- Value of the date array property
isNull- is null values
hasReadAccess- Indicates whether the user has read access to the property
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getDateArray ( const std::string &  dateArrayName,
std::vector< date_t > &  dateArrayRetValue,
std::vector< int > &  isNull 
)
inherited

get array of Date Values for a property

Version
Tc 8
Parameters
dateArrayName- Name of the date array property
dateArrayRetValue- Value of the date array
isNull- is null values
Returns
- status
int Teamcenter::BusinessObject::getDeepCopyData ( const std::string *  operation,
std::vector< ::Teamcenter::DeepCopyData * > *  deepCopyDatas 
)
inherited

gets deep copy data

Version
Teamcenter 9
Parameters
operation- operation desc
deepCopyDatas- desc
Returns
- returns an int
int Teamcenter::BusinessObject::getDouble ( const std::string &  doubleName,
double &  doubleRetValue,
bool &  isNull,
bool &  hasReadAccess 
)
inherited

To retrieve the values of the Double array property

Version
Teamcenter 2312
Parameters
doubleName- The name of the double property
doubleRetValue- The value of the double property
isNull- Is the value null
hasReadAccess- Indicates whether the user has read access to the property
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getDouble ( const std::string &  doubleName,
double &  doubleRetValue,
bool &  isNull 
)
inherited

To get the double value

Version
Tc 8
Parameters
doubleName- The name of the double variable
doubleRetValue- The value of the double variable
isNull- Is the value Null
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getDoubleArray ( const std::string &  doubleArrayName,
std::vector< double > &  vectorDoubleVals,
std::vector< int > &  vectorIsNullVals,
bool &  hasReadAccess 
)
inherited

To retrieve the values of the Double array property

Version
Teamcenter 2312
Parameters
doubleArrayName- The name of the double array property
vectorDoubleVals- The values of the double array property
vectorIsNullVals- Is Value Null array
hasReadAccess- Indicates whether the user has read access to the property
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getDoubleArray ( const std::string &  doubleArrayName,
std::vector< double > &  vectorDoubleVals,
std::vector< int > &  vectorIsNullVals 
)
inherited

Array of Doubles

Version
Tc 8
Parameters
doubleArrayName- The Array Name
vectorDoubleVals- Array of Doubles
vectorIsNullVals- Is the Value Null
Returns
- Return the status as Integer
int Teamcenter::ImanRelation::getFnd0IsCsIdMigratedOnly ( bool &  value,
bool &  isNull 
) const
inherited

Getter for a Boolean Property

Version
Teamcenter 11.2
Parameters
value- Parameter Value
isNull- Returns true if the Parameter value is null
Returns
- Status. 0 if successful
int Teamcenter::ImanRelation::getFnd0IsPrimaryInSync ( bool &  value,
bool &  isNull 
) const
inherited

Getter for a Boolean Property

Version
Teamcenter 11.2
Parameters
value- Parameter Value
isNull- Returns true if the Parameter value is null
Returns
- Status. 0 if successful
int Teamcenter::POM_object::getFnd0mfkinfo ( std::string &  value,
bool &  isNull 
) const
inherited

Getter for the multifield key string Property

Version
Teamcenter 10.1
Parameters
value- Parameter value
isNull- Returns true if the Parameter value is null
Returns
- Status. 0 if successful
int Teamcenter::POM_object::getFnd0objectId ( std::string &  value,
bool &  isNull 
) const
inherited

Getter for a string Property

Version
Teamcenter 8.3
Parameters
value- Parameter value
isNull- Returns true if the Parameter value is null
Returns
- Status. 0 if successful
int Teamcenter::BusinessObject::getInt ( const std::string &  intName,
int &  intRetValue,
bool &  isNull,
bool &  hasReadAccess 
)
inherited

To retrieve the values of the Integer property

Version
Teamcenter 2312
Parameters
intName- The name of the Integer property
intRetValue- The value of the Integer property
isNull- Is the value null
hasReadAccess- Indicates whether the user has read access to the property
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getInt ( const std::string &  intName,
int &  intRetValue,
bool &  isNull 
)
inherited

To get the Integer

Version
Tc 8
Parameters
intName- The name of the Integer
intRetValue- The value of the Integer
isNull- Is the value null
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getIntArray ( const std::string &  intArrayName,
std::vector< int > &  vectorIntVals,
std::vector< int > &  vectorIsNullVals,
bool &  hasReadAccess 
)
inherited

To retrieve the values of the Integer array property

Version
Teamcenter 2312
Parameters
intArrayName- The name of the integer array property
vectorIntVals- The vector of integer values
vectorIsNullVals- Are the values null
hasReadAccess- Indicates whether the user has read access to the property
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getIntArray ( const std::string &  intArrayName,
std::vector< int > &  vectorIntVals,
std::vector< int > &  vectorIsNullVals 
)
inherited

Array of Integers

Version
Tc 8
Parameters
intArrayName- The array name of integers
vectorIntVals- The Vector of Integer values
vectorIsNullVals- are the Values Null
Returns
- Returns the status as Integers
static const std::string& Teamcenter::TC_Validation::getInterfaceName ( )
static

Get the Interface Name

Returns
- return desc for getInterfaceName
int Teamcenter::ImanRelation::getIs_modifiable ( bool &  value,
bool &  isNull 
) const
inherited

Getter for a Boolean Property

Version
Teamcenter 11.2
Parameters
value- Parameter Value
isNull- Returns true if the Parameter value is null
Returns
- Status. 0 if successful
int Teamcenter::BusinessObject::getLogical ( const std::string &  logicalName,
bool &  boolRetValue,
bool &  isNull,
bool &  hasReadAccess 
)
inherited

To retrieve the values of the Boolean property

Version
Teamcenter 2312
Parameters
logicalName- The name of the Boolean property
boolRetValue- The value of the boolean property
isNull- Is the value null
hasReadAccess- Indicates whether the user has read access to the property
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getLogical ( const std::string &  logicalName,
bool &  boolRetValue,
bool &  isNull 
)
inherited

To get the Logical Value

Version
Tc 8
Parameters
logicalName- The name of the Logical Variable
boolRetValue- The logical value
isNull- Is the value null
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getLogicalArray ( const std::string &  logicalArrayName,
std::vector< int > &  vectorLogicalVals,
std::vector< int > &  vectorIsNullVals,
bool &  hasReadAccess 
)
inherited

To retrieve the values of the Boolean array property

Version
Teamcenter 2312
Parameters
logicalArrayName- The name of the boolean array property
vectorLogicalVals- The vector of Logical values
vectorIsNullVals- Are the values null
hasReadAccess- Indicates whether the user has read access to the property
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getLogicalArray ( const std::string &  logicalArrayName,
std::vector< int > &  vectorLogicalVals,
std::vector< int > &  vectorIsNullVals 
)
inherited

Array of Logical Values

Version
Tc 8
Parameters
logicalArrayName- Array of Logical Names
vectorLogicalVals- Vector of Logical Values
vectorIsNullVals- are the Value Null
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getObject_string ( std::string &  value,
bool &  isNull 
) const
inherited

Getter for a string Property

Version
Teamcenter 10
Parameters
value- Parameter value
isNull- Returns true if the Parameter value is null
Returns
- Status. 0 if successful
::Teamcenter::POM_objectImpl* Teamcenter::POM_object::getPOM_objectImpl ( ) const
inherited
virtual RuntimeBusinessObjectImpl* Teamcenter::RootObject::getRuntimeBusinessObjectImpl ( ) const
virtualinherited
int Teamcenter::BusinessObject::getString ( const std::string &  stringName,
std::string &  stringRetValue,
bool &  isNull,
bool &  hasReadAccess 
)
inherited

To retrieve the values of the String property

Version
Teamcenter 2312
Parameters
stringName- The name of the string property
stringRetValue- The value of the string property
isNull- Is the value null
hasReadAccess- Indicates whether the user has read access to the property
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getString ( const std::string &  stringName,
std::string &  stringRetValue,
bool &  isNull 
)
inherited

Returns the String

Version
Tc 8
Parameters
stringName- The name of the String
stringRetValue- The value of the string
isNull- Is the String Null
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getStringArray ( const std::string &  stringArrayName,
std::vector< std::string > &  vectorStringVals,
std::vector< int > &  vectorIsNullVals,
bool &  hasReadAccess 
)
inherited

To retrieve the values of the String array property

Version
Teamcenter 2312
Parameters
stringArrayName- The name of the string array property
vectorStringVals- The values of string array property
vectorIsNullVals- Are the values null
hasReadAccess- Indicates whether the user has read access to the property
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getStringArray ( const std::string &  stringArrayName,
std::vector< std::string > &  vectorStringVals,
std::vector< int > &  vectorIsNullVals 
)
inherited

To get the StringArray

Version
Tc 8
Parameters
stringArrayName- The String name
vectorStringVals- Vector of Strings
vectorIsNullVals- vector of booleans
Returns
- Returns the status as Integer
tag_t Teamcenter::RootObject::getTag ( ) const
inherited
int Teamcenter::BusinessObject::getTag ( const std::string &  tagName,
tag_t &  tagRetValue,
bool &  isNull,
bool &  hasReadAccess 
)
inherited

To retrieve the values of the reference property

Version
Teamcenter 2312
Parameters
tagName- The name of the reference property
tagRetValue- The value of the reference property
isNull- Is the value null
hasReadAccess- Indicates whether the user has read access to the property
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getTag ( const std::string &  tagName,
tag_t &  tagRetValue,
bool &  isNull 
)
inherited

Returns the Tag

Version
Tc 8
Parameters
tagName- The name of the Tag
tagRetValue- The value of the Tag
isNull- Is the Value Null
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getTagArray ( const std::string &  tagArrayName,
std::vector< tag_t > &  vectorTagVals,
std::vector< int > &  vectorIsNullVals,
bool &  hasReadAccess 
)
inherited

To retrieve the values of the reference array property

Version
Teamcenter 2312
Parameters
tagArrayName- The name of the reference array property
vectorTagVals- The vector of values of reference array property
vectorIsNullVals- Are the values null
hasReadAccess- Indicates whether the user has read access to the property
Returns
- Returns the status as Integer
int Teamcenter::BusinessObject::getTagArray ( const std::string &  tagArrayName,
std::vector< tag_t > &  vectorTagVals,
std::vector< int > &  vectorIsNullVals 
)
inherited

Array of Tags

Version
Tc 8
Parameters
tagArrayName- Nameof the Tag Array
vectorTagVals- Vector of Tags
vectorIsNullVals- are the Value Null
Returns
- Returns the status as Integer
TC_ValidationImpl* Teamcenter::TC_Validation::getTC_ValidationImpl ( ) const
private
const std::string& Teamcenter::RootObject::getTypeName ( ) const
inherited
tag_t Teamcenter::RootObject::getTypeTag ( ) const
inherited
virtual void Teamcenter::TC_Validation::initialize ( ::Teamcenter::RootObjectImpl *  impl)
protectedvirtual

Reimplemented from Teamcenter::ImanRelation.

Reimplemented in Teamcenter::Fnd0TC_valdata_result.

virtual void Teamcenter::RootObject::initialize ( RootObjectImpl *  impl = 0)
protectedvirtualinherited
int Teamcenter::RootObject::invokeOperation ( const std::string *  operationId,
  ... 
)
inherited
int Teamcenter::RootObject::invokeOperation ( const std::string &  operationId,
va_list  args 
)
inherited
int Teamcenter::RootObject::invokeOperation ( int  operationIdInt,
va_list  args 
)
inherited
int Teamcenter::RootObject::invokeOperation ( const std::string &  operationId,
std::vector< void * > &  args 
)
inherited
int Teamcenter::RootObject::invokeOperation ( int  operationIdInt,
std::vector< void * > &  args 
)
inherited
int Teamcenter::POM_object::isReplica ( bool *  result)
inherited

This operation tests if the given object is local to the database or not.

Version
Tc 8
Parameters
result- Returns result as false if given object is local to the database, else returns result as true.
Returns
- Return error code.
TC_Validation& Teamcenter::TC_Validation::operator= ( const TC_Validation )
private
int Teamcenter::BusinessObject::performDeepCopy ( ::Teamcenter::OperationInput pOperationInput,
std::vector< ::Teamcenter::DeepCopyData * > *  vecDeepCopyData 
)
inherited

perform deep copy

Version
Teamcenter 9
Parameters
pOperationInput- desc
vecDeepCopyData- deep copy data
Returns
- returns an int
int Teamcenter::BusinessObject::saveAs ( ::Teamcenter::SaveAsInput pSavAsInput,
std::vector< ::Teamcenter::DeepCopyData * > *  vecDeepCopyData,
tag_t *  newObjTag 
)
inherited

save as operation

Version
Teamcenter 9
Parameters
pSavAsInput- save as input
vecDeepCopyData- vector deepcopy data
newObjTag- new object tag
Returns
- returns an int
int Teamcenter::BusinessObject::saveAsPost ( ::Teamcenter::SaveAsInput pSavAsInput,
std::vector< ::Teamcenter::DeepCopyData * > *  vecDeepCopyData 
)
inherited

Generic saveAsPost operation.

Version
Teamcenter 8.1
Parameters
pSavAsInput- Input argument as SaveAsInput object.
vecDeepCopyData- vector deepcopy data
Returns
- Return integer value.
int Teamcenter::BusinessObject::setChar ( const std::string &  charName,
const char &  charValue,
bool  isNull 
)
inherited

To set the character

Version
Tc 8
Parameters
charName- The Name
charValue- The Character Value
isNull- Is the Value Null
Returns
- Returns an Integer
int Teamcenter::BusinessObject::setCharArray ( const std::string &  charArrayName,
const std::vector< char > &  vectorCharVals,
const std::vector< int > *  vectorIsNullVals 
)
inherited

To set the character array

Version
Tc 8
Parameters
charArrayName- charArrayName
vectorCharVals- vectorCharVals
vectorIsNullVals- vectorIsNullVals
Returns
- Returns an Integer
int Teamcenter::BusinessObject::setDate ( const std::string &  dateName,
const date_t &  dateValue,
bool  isNull 
)
inherited

To set the Date

Version
Tc 8
Parameters
dateName- dateName
dateValue- dateValue
isNull- isNull
Returns
- Returns an Integer
int Teamcenter::BusinessObject::setDateArray ( const std::string &  dateArrayName,
const std::vector< date_t > &  vectorDateVals,
const std::vector< int > *  vectorIsNullVals 
)
inherited

To set the Date Array

Version
Tc 8
Parameters
dateArrayName- dateArrayName
vectorDateVals- vectorDateVals
vectorIsNullVals- vectorIsNullVals
Returns
- Returns an Integer
void Teamcenter::TC_Validation::setDeleteImpl ( bool  del)
private
int Teamcenter::BusinessObject::setDouble ( const std::string &  doubleName,
const double &  doubleValue,
bool  isNull 
)
inherited

To set the Double Value

Version
Tc 8
Parameters
doubleName- doubleName
doubleValue- doubleValue
isNull- isNull
Returns
- Returns an Integer
int Teamcenter::BusinessObject::setDoubleArray ( const std::string &  doubleArrayName,
const std::vector< double > &  vectorDoubleVals,
const std::vector< int > *  vectorIsNullVals 
)
inherited

To set the double array

Version
Tc 8
Parameters
doubleArrayName- doubleArrayName
vectorDoubleVals- vectorDoubleVals
vectorIsNullVals- vectorIsNullVals
Returns
- Returns an Integer
int Teamcenter::ImanRelation::setFnd0IsPrimaryInSync ( bool  value,
bool  isNull = false 
)
inherited

Setter for a Boolean Property

Version
Teamcenter 11.2
Parameters
value- Value to be set for the parameter
isNull- If true, set the parameter value to null
Returns
- Status. 0 if successful
int Teamcenter::BusinessObject::setInt ( const std::string &  intName,
const int &  intValue,
bool  isNull 
)
inherited

To set an Integer

Version
Tc 8
Parameters
intName- The name of the integer
intValue- The Integer Value
isNull- Is the value Null
Returns
- Returns status as Integer
int Teamcenter::BusinessObject::setIntArray ( const std::string &  intArrayName,
const std::vector< int > &  vectorIntVals,
const std::vector< int > *  vectorIsNullVals 
)
inherited

To the the Array of Integer type data on BusinessObject

Version
Tc 8
Parameters
intArrayName- name of the integer array
vectorIntVals- vector or array of integer values
vectorIsNullVals- vector of isNulls
Returns
- success or failure
int Teamcenter::BusinessObject::setLogical ( const std::string &  logicalName,
const bool  logicalValue,
bool  isNull 
)
inherited

To set the Logical Value

Version
Tc 8
Parameters
logicalName- logicalName
logicalValue- logicalValue
isNull- isNull
Returns
- Returns an Integer
int Teamcenter::BusinessObject::setLogicalArray ( const std::string &  boolArrayName,
const std::vector< int > &  vectorboolVals,
const std::vector< int > *  vectorIsNullVals 
)
inherited

To set Logical Array

Version
Tc 8
Parameters
boolArrayName- boolArrayName
vectorboolVals- vectorboolVals
vectorIsNullVals- vectorIsNullVals
Returns
- Returns an Integer
int Teamcenter::BusinessObject::setPropertiesFromCreateInput ( ::Teamcenter::CreateInput creInput)
inherited

desc for setPropertiesFromCreateInpu

Version
Tc 8
Parameters
creInput- Description for CreateInput
Returns
- return desc for setPropertiesFromCreateInput
int Teamcenter::BusinessObject::setPropertiesFromSaveAsInput ( ::Teamcenter::SaveAsInput pSavAsInput)
inherited

setproperties from saveas input

Version
Teamcenter 9
Parameters
pSavAsInput- desc
Returns
- returns an int
int Teamcenter::BusinessObject::setString ( const std::string &  stringName,
const std::string &  stringValue,
bool  isNull 
)
inherited

To set the String

Version
Tc 8
Parameters
stringName- stringName
stringValue- stringValue
isNull- isNull
Returns
- Returns an Integer
int Teamcenter::BusinessObject::setStringArray ( const std::string &  stringArrayName,
const std::vector< std::string > &  vectorStringVals,
const std::vector< int > *  vectorIsNullVals 
)
inherited

To set the string array

Version
Tc 8
Parameters
stringArrayName- stringArrayName
vectorStringVals- vectorStringVals
vectorIsNullVals- vectorIsNullVals
Returns
- Returns an integer
void Teamcenter::RootObject::setTag ( tag_t  tag)
protectedinherited
int Teamcenter::BusinessObject::setTag ( const std::string &  tagName,
const tag_t &  tagValue,
bool  isNull 
)
inherited

To set the tag

Version
Tc 8
Parameters
tagName- tagName
tagValue- tagValue
isNull- isNull
Returns
- Returns an Integer
int Teamcenter::BusinessObject::setTagArray ( const std::string &  tagArrayName,
const std::vector< tag_t > &  vectorTagVals,
const std::vector< int > *  vectorIsNullVals 
)
inherited

To set the Tag Array

Version
Tc 8
Parameters
tagArrayName- tagArrayName
vectorTagVals- vectorTagVals
vectorIsNullVals- vectorIsNullVals
Returns
- Returns an Integer
::Teamcenter::RootObjectImpl* Teamcenter::TC_Validation::setTC_ValidationImpl ( ::Teamcenter::RootObjectImpl *  impl)
private
int Teamcenter::BusinessObject::validateCreateInput ( ::Teamcenter::CreateInput creInput)
inherited

desc for validate for create

Version
Tc 8
Parameters
creInput- desc for creInput parameter
Returns
- ret desc for validate for create
int Teamcenter::BusinessObject::validateSaveAsInput ( ::Teamcenter::SaveAsInput pSavAsInput,
std::vector< ::Teamcenter::DeepCopyData * > *  vecDeepCopyData 
)
inherited

validate saveas input

Version
Teamcenter 9
Parameters
pSavAsInput- desc
vecDeepCopyData- desc
Returns
- returns an int

Friends And Related Function Documentation

friend class TC_ValidationDelegate
friend

Definition at line 102 of file TC_Validation.hxx.

friend class TC_ValidationGenImpl
friend

Definition at line 103 of file TC_Validation.hxx.

Member Data Documentation

bool Teamcenter::TC_Validation::m_deleteImpl
private

Definition at line 88 of file TC_Validation.hxx.

TC_ValidationImpl* Teamcenter::TC_Validation::m_tc_validationImpl
private

Definition at line 85 of file TC_Validation.hxx.

std::string Teamcenter::TC_Validation::name
staticprivate

Name of the Business Object

Definition at line 93 of file TC_Validation.hxx.


The documentation for this class was generated from the following file: