Package com.dassault_systemes.vpmdesktop.vdk0interfaces.interfaces

   
Interface ENOVITypeFactory

 
Class Hierarchy
com.dassault_systemes.vpmdesktop.vdk0interfaces.interfaces.ENOVITypeFactory
Class Location

Framework : VPMDesktop

Module : VDK0Interfaces

Class Description

public interface ENOVITypeFactory

Factory to get type interfaces.

An implementation of this interface is supplied and you must use it as is. You should not re-implement it.

See Also:
com.dassault_systemes.vpmdesktop.vdk0interfaces.infra.ENOVGetFactories
Field Summary

Constructor Summary

Method Summary
ENOVIType[] getTypes(String sType)
ENOVIType[] getTypes(String sType, String sEnvironment)


Field Detail

Constructor Detail

Method Detail

getTypes

    ENOVIType[] getTypes(String sType)

Get the list of type definitions from all the environments, which the type exists.

Example 1: (without Data Model customization)
Input: ENOVIA_VPMDocFile
Output: ENOVIType interface representing ENOVIA_VPMDocFile.

Example 2: (without Data Model Customization)
Input: ENOVIA_VPMItemInstance
Output: ENOVIType interfaces representing VPMBOPartInstance and VPMBOProductInstance from PRODUCT environment because they share the same type.

Example 3: (without Data Model Customization)
Input: VPMBOPartInstance
Output: ENOVIType interface representing VPMBOPartInstance from PRODUCT environment.

Example 4: (With Data Model Customization of PRODUCT enviorment - MyPRODUCT containing customized entities My_VPMItemInstance, My_PartMaseter, and My_PartVersion)
Input: VPMBOPartInstance
Output: ENOVIType interfaces representing VPMBOPartInstance from PRODUCT environment and VPMBOPartInstance from MyPRODUCT environment.

Parameters:
sType
the type name.
Returns:
the list of type definitions

getTypes

    ENOVIType[] getTypes(String sType, String sEnvironment)

Get the list of type definitions for the given type in the given environment.

Example 1:
Input: ENOVIA_VPMDocFile, DOCDIR
Output: ENOVIType interface representing ENOVIA_VPMDocFile.

Example 2: Input: ENOVIA_VPMItemInstance, PRODUCT
Output: VPMBOPartInstance, VPMBOProductInstance

Example 3:
Input: VPMBOProductInstance, PRODUCT
Output: ENOVIType interface representing VPMBOProductInstance

Parameters:
type
the type name.
sEnvironment
the environment name. Examples: PRODUCT, DOCDIR
Returns:
the list of type definitions.


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