Package wt.associativity.accountability
Class AccountabilityKey
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.associativity.accountability._AccountabilityKey
wt.associativity.accountability.AccountabilityKey
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,NetFactor,ObjectMappable,Persistable,wt.filter._NavigationCriteriaOwner,wt.filter.NavigationCriteriaOwner,DisplayIdentification
@GenAsPersistable(superClass=WTObject.class,interfaces=wt.filter.NavigationCriteriaOwner.class,properties={@GeneratedProperty(name="contextMasterRef",type=ObjectReference.class,javaDoc="Reference to a accountability context object master",constraints=@PropertyConstraints(changeable=VIA_OTHER_MEANS,required=true)),@GeneratedProperty(name="accountabilityKeyType",type=AccountabilityKeyType.class,javaDoc="The type of the accountability context, for example: ProcessPlan/Upstream/Downstream/Resource etc",constraints=@PropertyConstraints(changeable=VIA_OTHER_MEANS,required=true)),@GeneratedProperty(name="hashCode",type=java.lang.Long.class,javaDoc="Hashcode of AccountabilityKey",constraints=@PropertyConstraints(changeable=FROZEN,required=true))},tableProperties=@TableProperties(compositeIndex2="+ hashCode"),serializable=EXTERNALIZABLE_BASIC)
public class AccountabilityKey
extends wt.associativity.accountability._AccountabilityKey
Holds the information of the accountability context and its type
Use services from AccountabilityService to create instances of this class as they support reusability of keys. Avoid
using methods from this class to create instances directly.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class wt.associativity.accountability._AccountabilityKey
ACCOUNTABILITY_KEY_TYPE, CONTEXT_MASTER_REF, EXTERNALIZATION_VERSION_UID, HASH_CODEFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPE -
Method Summary
Modifier and TypeMethodDescriptionstatic AccountabilityKeynewAccountabilityKey(AccountabilityKeyType accountabilityKeyType, ObjectReference contextMasterRef) Supported API: trueMethods inherited from class wt.associativity.accountability._AccountabilityKey
getAccountabilityKeyType, getClassInfo, getConceptualClassname, getContextMasterRef, getType, readExternal, readExternal, readVersion, setAccountabilityKeyType, setContextMasterRef, super_readExternal_AccountabilityKey, super_readVersion_AccountabilityKey, super_writeExternal_AccountabilityKey, writeExternal, writeExternalMethods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, initializeMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity
-
Method Details
-
newAccountabilityKey
public static AccountabilityKey newAccountabilityKey(AccountabilityKeyType accountabilityKeyType, ObjectReference contextMasterRef) throws WTException Supported API: true- Parameters:
accountabilityKeyType-contextMasterRef-- Returns:
- Throws:
WTException
-