Package wt.associativity.accountability
Class AccountabilityValue
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.associativity.accountability._AccountabilityValue
wt.associativity.accountability.AccountabilityValue
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,NetFactor,ObjectMappable,Persistable,DisplayIdentification,wt.recent.RecentlyVisited
@GenAsPersistable(superClass=WTObject.class,interfaces=wt.recent.RecentlyVisited.class,properties={@GeneratedProperty(name="quantity",javaDoc="represents quantity for the selected associative path",type=Quantity.class,constraints=@PropertyConstraints(changeable=VIA_OTHER_MEANS)),@GeneratedProperty(name="selectedMasterRef",javaDoc="reference to the leaf node in the current path",type=ObjectReference.class,constraints=@PropertyConstraints(changeable=VIA_OTHER_MEANS)),@GeneratedProperty(name="accountabilityMapRef",javaDoc="reference to the related AccountabilityMap instance",type=ObjectReference.class,columnProperties=@ColumnProperties(persistent=false)),@GeneratedProperty(name="internalUsagePath",javaDoc="usage path for selected node",type=java.lang.String.class,constraints=@PropertyConstraints(changeable=VIA_OTHER_MEANS,upperLimit=4000)),@GeneratedProperty(name="internalOccPaths",javaDoc="OccourancePaths for selecetd node",type=java.util.HashSet.class,columnProperties=@ColumnProperties(columnType=INLINE_BLOB),constraints=@PropertyConstraints(changeable=VIA_OTHER_MEANS)),@GeneratedProperty(name="allMasterRefs",javaDoc="Set of master references in the usage path",type=java.util.ArrayList.class,columnProperties=@ColumnProperties(columnType=INLINE_BLOB),constraints=@PropertyConstraints(changeable=VIA_OTHER_MEANS)),@GeneratedProperty(name="hashCode",type=java.lang.Long.class,javaDoc="Hashcode of AccountabilityValue",constraints=@PropertyConstraints(changeable=FROZEN,required=true))},tableProperties=@TableProperties(compositeIndex1="+ hashCode",compositeIndex2="+ quantity.amount + quantity.unit + selectedMasterRef.key.id"),serializable=EXTERNALIZABLE_BASIC)
public class AccountabilityValue
extends wt.associativity.accountability._AccountabilityValue
This model holds the information relating to the associative paths and other related attributes.
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._AccountabilityValue
ACCOUNTABILITY_MAP_REF, ALL_MASTER_REFS, EXTERNALIZATION_VERSION_UID, HASH_CODE, INTERNAL_OCC_PATHS, INTERNAL_USAGE_PATH, QUANTITY, SELECTED_MASTER_REFFields 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 AccountabilityValuenewAccountabilityValue(Quantity quantity, ObjectReference selectedNodeMaster, String usagePath, HashSet<String> occpaths, AccountabilityMap accMap, List<Persistable> pathMasterPersistables) Supported API: trueMethods inherited from class wt.associativity.accountability._AccountabilityValue
getAccountabilityMapRef, getClassInfo, getConceptualClassname, getHashCode, getInternalOccPaths, getInternalUsagePath, getQuantity, getSelectedMasterRef, getType, readExternal, readExternal, readVersion, setAccountabilityMapRef, setAllMasterRefs, setHashCode, setInternalOccPaths, setInternalUsagePath, setQuantity, setSelectedMasterRef, super_readExternal_AccountabilityValue, super_readVersion_AccountabilityValue, super_writeExternal_AccountabilityValue, writeExternal, writeExternalMethods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, initializeMethods inherited from class wt.fc._WTObject
getCreateTimestamp, getModifyTimestamp, getPersistInfo, readVersion, setPersistInfo
-
Method Details
-
newAccountabilityValue
public static AccountabilityValue newAccountabilityValue(Quantity quantity, ObjectReference selectedNodeMaster, String usagePath, HashSet<String> occpaths, AccountabilityMap accMap, List<Persistable> pathMasterPersistables) throws WTException Supported API: true- Parameters:
quantity-selectedNodeMaster-usagePath-occpaths-accMap-pathMasterPersistables-- Returns:
- Throws:
WTException
-