Package wt.fc

Class IdentityHelper

java.lang.Object
wt.fc.IdentityHelper
All Implemented Interfaces:
Serializable

public class IdentityHelper extends Object implements Serializable
The IdentityHelper provides access to the identity service through its public 'service' member.

Supported API: true

Extendable: false
See Also:
  • Field Details

    • service

      public static final IdentityService service


      Supported API: true
  • Method Details

    • setIdentity

      public static void setIdentity(Identified obj, IdentificationObject identity) throws WTException
      Sets the identity of the Identified object passed as argument to the one held by the IdentificationObject, also passed as argument. Throws WTexception if Identified object is persistent.

      Supported API: true
      Parameters:
      obj -
      identity -
      Throws:
      WTException
    • isChangeable

      public static final boolean isChangeable(Object obj)
      Used in conjunction with system generation's "Changeable ViaOtherMeans" property to restrict changes to the identity of persisted objects.

      Supported API: true
      Parameters:
      obj -
      Returns:
      boolean