Package wt.identity

Class IdentityFactory

java.lang.Object
wt.identity.IdentityFactory
All Implemented Interfaces:
Externalizable, Serializable, wt.services.applicationcontext.ApplicationContextChild

public class IdentityFactory extends Object implements wt.services.applicationcontext.ApplicationContextChild, Externalizable
Factory object that can issue DisplayInformation about other objects. The factory uses information defined in the systems service.properties file to determine the proper objects to return. service.properties entries are defines for the context: default, service: wt.identity.DisplayIdentification, serviceSelector: null. The object supplied on the call the factories methods are the requester for the service.

Supported API: true

Extendable: false
See Also:
  • Method Details

    • getDisplayIdentity

      public static DisplayIdentity getDisplayIdentity(Object object)
      Returns the displayable characteristics about the identity of an object.

      Supported API: true
      Parameters:
      object - The object that contains the runtime representation of DisplayIdentity.
      Returns:
      DisplayIdentity
    • getDisplayType

      public static LocalizableMessage getDisplayType(Object object)
      Returns a localizable message describing the object's type.

      Supported API: true
      Parameters:
      object - The object that contains the runtime representation of LocalizableMessage.
      Returns:
      LocalizableMessage
    • getDisplayIdentifier

      public static LocalizableMessage getDisplayIdentifier(Object object)
      Returns a localizable message describing the identifier for the object.

      Supported API: true
      Parameters:
      object -
      Returns:
      LocalizableMessage
    • getDisplayIdentities

      public static DisplayIdentity[] getDisplayIdentities(WTCollection collection) throws WTException
      Returns the displayable characteristics about the identity of the given objects.

      Supported API: true
      Parameters:
      collection - object is type of WTCollection.
      Returns:
      DisplayIdentity[]
      Throws:
      WTException
    • getDisplayTypes

      public static LocalizableMessage[] getDisplayTypes(WTCollection collection) throws WTException
      Use LocalizableMessage to return a collection of displayable types.

      Supported API: true
      Parameters:
      collection - object is type of WTCollection.
      Returns:
      LocalizableMessage[]
      Throws:
      WTException
    • getDisplayIdentifiers

      public static LocalizableMessage[] getDisplayIdentifiers(WTCollection collection) throws WTException
      Returns localizable messages describing the identifier for the objects.

      Supported API: true
      Parameters:
      collection -
      Returns:
      LocalizableMessage[]
      Throws:
      WTException