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
Supported API: true
Extendable: false
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic LocalizableMessagegetDisplayIdentifier(Object object) Returns a localizable message describing the identifier for the object.static LocalizableMessage[]getDisplayIdentifiers(WTCollection collection) Returns localizable messages describing the identifier for the objects.static DisplayIdentity[]getDisplayIdentities(WTCollection collection) Returns the displayable characteristics about the identity of the given objects.static DisplayIdentitygetDisplayIdentity(Object object) Returns the displayable characteristics about the identity of an object.static LocalizableMessagegetDisplayType(Object object) Returns a localizable message describing the object's type.static LocalizableMessage[]getDisplayTypes(WTCollection collection) UseLocalizableMessageto return a collection of displayable types.
-
Method Details
-
getDisplayIdentity
Returns the displayable characteristics about the identity of an object.
Supported API: true- Parameters:
object- The object that contains the runtime representation ofDisplayIdentity.- Returns:
- DisplayIdentity
-
getDisplayType
Returns a localizable message describing the object's type.
Supported API: true- Parameters:
object- The object that contains the runtime representation ofLocalizableMessage.- Returns:
- LocalizableMessage
-
getDisplayIdentifier
Returns a localizable message describing the identifier for the object.
Supported API: true- Parameters:
object-- Returns:
- LocalizableMessage
-
getDisplayIdentities
Returns the displayable characteristics about the identity of the given objects.
Supported API: true- Parameters:
collection- object is type ofWTCollection.- Returns:
- DisplayIdentity[]
- Throws:
WTException
-
getDisplayTypes
UseLocalizableMessageto return a collection of displayable types.
Supported API: true- Parameters:
collection- object is type ofWTCollection.- 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
-