com.ptc.windchill.esi.map
Class ESIMapper

java.lang.Object
  extended bycom.ptc.windchill.esi.map.ESIMapper

public final class ESIMapper
extends Object



Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
(package private)  TaskHelper taskHelper
           
 
Constructor Summary
ESIMapper()
           
 
Method Summary
private  Object cleanUpResult(Object obj)
           
private  Object getResult(Object obj, String methodNameIn)
           
 Element map(Element inputElement, ESIMap map)
          This method creates a mapped Info*Engine Element object from another Info*Engine Element object.
 Element map(Element inputElement, Persistable persistedObject, ESIMap map)
          This method creates a mapped Info*Engine Element object from another Info*Engine Element object.
 Element map(Object object, ESIMap map)
          This method creates a mapped Info*Engine Element object from the Object argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

taskHelper

TaskHelper taskHelper
Constructor Detail

ESIMapper

public ESIMapper()
Method Detail

map

public Element map(Object object,
                   ESIMap map)
            throws WTException
This method creates a mapped Info*Engine Element object from the Object argument.

Supported API: true

Parameters:
object - The object to be mapped.
map - The ESIMap to use for the mapping.
Returns:
Element
Throws:
WTException

map

public Element map(Element inputElement,
                   ESIMap map)
            throws WTException
This method creates a mapped Info*Engine Element object from another Info*Engine Element object.

Supported API: true

Parameters:
inputElement - The element to be mapped.
map - The ESIMap to use for mapping.
Returns:
Element
Throws:
WTException

map

public Element map(Element inputElement,
                   Persistable persistedObject,
                   ESIMap map)
            throws WTException
This method creates a mapped Info*Engine Element object from another Info*Engine Element object. It the source Element object does not have the value specified in Source_Name of the map file entry, the mapper attempts to obtain the value from the Persistable object in the second method argument.

Supported API: true

Parameters:
inputElement - The I*E element that the attributed will be added.
persistedObject - The persisted object that contains the attributes to add to the element.
map - The mapfile to use to get the requested attributes to add to the element.
Returns:
Element
Throws:
WTException

getResult

private Object getResult(Object obj,
                         String methodNameIn)

cleanUpResult

private Object cleanUpResult(Object obj)