Effectivity Handling
Windchill Effectivity Service
Windchill effectivity support has been extended to provide these additional API methods:
• The Windchill effectivity service provides a method, getEffectivities(version : EffManagedVersion, context : EffContext, effType : Class, includeHistory : boolean) : Eff[]. The method returns a sorted array of Eff objects of the concrete type represented by the effType parameter, and related to the version and context parameters. The results are sorted in the order of creation of the Eff objects.Object reference attributes of the results are not expanded. This is an internal API to support ERP Connector product functionality.
• The Windchill effectivity service provides the method getEffs(version : EffManagedVersion) : QueryResult.The method returns all Eff objects that are assigned to the input EffManagedVersion instance.
• The Windchill effectivity helper provides an isCurrent(eff : Eff) : boolean method. The method returns a true if and only if the argument is current (that is, it has not been factually deleted and thus relegated to effectivity history).
• The Windchill effectivity helper provides a method, equals(e1 : Eff, e2 : Eff) : boolean. The method returns a true if and only if the objects are equal (that is, their respective range values are equal).