wt.eff.format
Class EffFormatDetails

java.lang.Object
  extended by wt.eff.format.EffFormatDetails
All Implemented Interfaces:
Serializable

public final class EffFormatDetails
extends Object
implements Serializable

A class that is designed to hold the details of a particular format as specified in the configuration resource used (defaults to a windchill preference). These include the effectivity format and the mapped parameters of interest to the format.

Instances of EffFormatDetails are designed and treated as immutable, once initialized during construction (where the class invariant is established). Hence they can be safely shared and are thread-safe. Instances of this class are not supported for using as keys in hash based data structures.


Supported API: true

Extendable: false

Since:
Windchill 9.0
See Also:
EffFormatFactory, EffFormatService, EffFormat, Serialized Form

Field Summary
 EffFormat format
          An EffFormat instance.
 Map<String,String> formatParams
          Holds parameters of interest to the format.
 
Constructor Summary
EffFormatDetails(EffFormat format, Map<String,String> formatParams)
          Constructs instances of this class.
 
Method Summary
 EffFormat getFormat()
          Gets the value of the attribute: format; An EffFormat instance.
 Map<String,String> getFormatParams()
          Gets the value of the attribute: formatParams; Holds parameters of interest to the format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

format

public final EffFormat format
An EffFormat instance.

Supported API: true


formatParams

public final Map<String,String> formatParams
Holds parameters of interest to the format. If no paramters exist, holds an empty map instead of a null reference.

Supported API: true

Constructor Detail

EffFormatDetails

public EffFormatDetails(EffFormat format,
                        Map<String,String> formatParams)
Constructs instances of this class.

Supported API: true

Parameters:
format - (Required) An EffFormat instance.
formatParams - (Optional) parameters of interest to the format.
Method Detail

getFormat

public final EffFormat getFormat()
Gets the value of the attribute: format; An EffFormat instance.

Supported API: true

Returns:
EffFormat

getFormatParams

public final Map<String,String> getFormatParams()
Gets the value of the attribute: formatParams; Holds parameters of interest to the format. If no paramters exist, holds an empty map instead of a null reference.

Supported API: true

Returns:
Map