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:
-
Method Summary
Modifier and TypeMethodDescriptionstatic AccountabilityKeynewAccountabilityKey(AccountabilityKeyType accountabilityKeyType, ObjectReference contextMasterRef) Supported API: trueMethods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc.Persistable
checkAttributes
-
Method Details
-
newAccountabilityKey
public static AccountabilityKey newAccountabilityKey(AccountabilityKeyType accountabilityKeyType, ObjectReference contextMasterRef) throws WTException Supported API: true- Parameters:
accountabilityKeyType-contextMasterRef-- Returns:
- Throws:
WTException
-