psdi.mbo

Class ReferencedMboStore

  • java.lang.Object
    • psdi.mbo.ReferencedMboStore


  • public class ReferencedMboStore
    extends java.lang.Object
    Stores information about "referenced" MboSets. These are sets that aren't related to the Mbo normally, but do have some relation to the Mbo. Based on issue 10-18287.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String WFASSIGNMENT
      Token for the current WFAssignment.
      static java.lang.String WFINSTANCE
      Reserved keyword that is recognized by SqlFormat as WFINSTANCE object from the current MBO.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      MboRemote getMbo(java.lang.String token)
      Return the Mbo for a reference.
      MboSetRemote getMboSet(MboRemote owner, java.lang.String token)
      Creates a MboSet with a single Member, the referenced Mbo.
      void store(java.lang.String token, MboRemote refMbo)
      Attach a Mbo to a reference.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • WFINSTANCE

        public static final java.lang.String WFINSTANCE
        Reserved keyword that is recognized by SqlFormat as WFINSTANCE object from the current MBO.
        See Also:
        Constant Field Values
      • WFASSIGNMENT

        public static final java.lang.String WFASSIGNMENT
        Token for the current WFAssignment.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ReferencedMboStore

        public ReferencedMboStore()
    • Method Detail

      • store

        public void store(java.lang.String token,
                          MboRemote refMbo)
        Attach a Mbo to a reference.
        Parameters:
        token - The reference token.
        refMbo - The Mbo to reference, or null to clear the reference.
      • getMbo

        public MboRemote getMbo(java.lang.String token)
        Return the Mbo for a reference.
        Parameters:
        token - The reference token
        Returns:
        The referenced Mbo, or null if none.
      • getMboSet

        public MboSetRemote getMboSet(MboRemote owner,
                                      java.lang.String token)
                               throws java.rmi.RemoteException
        Creates a MboSet with a single Member, the referenced Mbo.
        Parameters:
        owner - The owner of the MboSet
        token - The reference token
        Returns:
        The generated MboSet
        Throws:
        java.rmi.RemoteException