コード例 #1
0
  /**
   * Connects this instance to the given instance using role "ordered pairs". If the given instance
   * is null, nothing happens.
   *
   * @param orderedPairs the instance to connect
   * @throws PDStoreException
   */
  public void addOrderedPairs(GUID orderedPairs) throws PDStoreException {

    if (orderedPairs != null) {

      pdWorkingCopy.addLink(this.id, roleOrderedPairsId, orderedPairs);
    }
  }