Package com.ptc.windchill.esi.map
Class ESIMap
java.lang.Object
com.ptc.windchill.esi.map.ESIMap
An abstraction for an ESI map file.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDefaultValue(String targetAttributeName) Returns the default value of the input attribute from this map.getSoruceAttribute(String targetAttributeName) For the input target attribute name, returns the source attribute name from the response meta information file.iterator()Returns an iterator for the Collection in the entries attribute.
-
Constructor Details
-
ESIMap
Loads the map file identified by the fileName argument. Only constructor for the class, thus insuring that every instance is properly initialized.
Supported API: true- Parameters:
fileName- - The path & file information defining a map file's location.- Throws:
FileNotFoundExceptionIOException
-
ESIMap
Initialize the ESIMap object with Map id to be verified along with list of Entry objects.
Supported API: true- Parameters:
mapID- - String id of map to be processed.attributes- - List of Entry objects.
-
-
Method Details
-
iterator
Returns an iterator for the Collection in the entries attribute.
Supported API: true- Returns:
- Iterator
-
getDefaultValue
Returns the default value of the input attribute from this map.
Supported API: true- Parameters:
targetAttributeName- - the name of the target attribute as specified in the response meta information file.- Returns:
- The default value of the input attribute as specified in the response meta information file.
-
getSoruceAttribute
For the input target attribute name, returns the source attribute name from the response meta information file.
Supported API: true- Parameters:
targetAttributeName- - target attribute name.- Returns:
- source attribute name.
-