Пример #1
0
 /**
  * Connects this instance to the given instance using role "ordered pairs". If there is already an
  * instance connected to this instance through role "ordered pairs", the link will be overwritten.
  * If the given instance is null, an existing link is removed."
  *
  * @param orderedPairs the instance to connect
  * @throws PDStoreException
  */
 public void setOrderedPairs(PDOrderedPair orderedPairs) throws PDStoreException {
   setOrderedPairs(orderedPairs.getId());
 }
Пример #2
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(PDOrderedPair orderedPairs) throws PDStoreException {
   if (orderedPairs != null) {
     addOrderedPairs(orderedPairs.getId());
   }
 }