Package wt.fc
Class IdentityHelper
java.lang.Object
wt.fc.IdentityHelper
- All Implemented Interfaces:
Serializable
The IdentityHelper provides access to the identity service through its
public 'service' member.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final booleanisChangeable(Object obj) Used in conjunction with system generation's "Changeable ViaOtherMeans" property to restrict changes to the identity of persisted objects.static voidsetIdentity(Identified obj, IdentificationObject identity) Sets the identity of the Identified object passed as argument to the one held by the IdentificationObject, also passed as argument.
-
Field Details
-
service
Supported API: true
-
-
Method Details
-
setIdentity
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
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
-