src/main/java/br/ufpa/labes/spm/service/impl/EasyModelingServicesImpl.java
private void copyNormalProperties(
      Normal destinationNormal, Normal sourceNormal, Hashtable<String, String> coordinates)
      throws RepositoryQueryException {
    // simple attributes
    // destinationNormal.setHowLong(sourceNormal.getHowLong());
    // destinationNormal.setHowLongUnit(sourceNormal.getHowLongUnit());
    // destinationNormal.setName(sourceNormal.getName());
    // destinationNormal.setScript(sourceNormal.getScript());

    // // destinationNormal.setStaticOk(sourceNormal.getStaticOk());
    // destinationNormal.setRequirements(sourceNormal.getRequirements());

    // destinationNormal.setDelegable(sourceNormal.isDelegable());
    // destinationNormal.setAutoAllocable(sourceNormal.isAutoAllocable());

    // // about reservations
    // Collection<Reservation> newReservations = null;
    // newReservations = copyReservations(sourceNormal.getTheReservations(), destinationNormal);
    // destinationNormal.setTheReservations(newReservations);
    // // about involved artifacts
    // // involved to
    // Collection<InvolvedArtifact> newInvolvedArtifactsToNormal = null;
    // newInvolvedArtifactsToNormal =
    // copyInvolvedArtifacts(sourceNormal.getInvolvedArtifactToNormal(), destinationNormal,
    // TO_INVOLVED);
    // destinationNormal.setInvolvedArtifactToNormal(newInvolvedArtifactsToNormal);
    // // involved from
    // Collection<InvolvedArtifact> newInvolvedArtifactsFromNormal = null;
    // newInvolvedArtifactsFromNormal =
    // copyInvolvedArtifacts(sourceNormal.getInvolvedArtifactFromNormal(), destinationNormal,
    // FROM_INVOLVED);
    // destinationNormal.setInvolvedArtifactFromNormal(newInvolvedArtifactsFromNormal);
    // // about requied Resources
    // Collection<RequiredResource> newRequiredResources = null;
    // newRequiredResources = copyRequiredResources(sourceNormal.getTheRequiredResource(),
    // destinationNormal, coordinates);
    // destinationNormal.setTheRequiredResource(newRequiredResources);
    // // about required People
    // Collection<RequiredPeople> newRequiredPeople = null;
    // newRequiredPeople = copyRequiredPeople(sourceNormal.getTheRequiredPeople(),
    // destinationNormal, coordinates);
    // destinationNormal.setTheRequiredPeople(newRequiredPeople);
  }
/**
   * @param destinationNormal
   * @param sourceNormal
   * @throws RepositoryQueryException
   */
@param destinationNormal
@param sourceNormal
@throws RepositoryQueryException
@param destinationNormal @param sourceNormal @throws RepositoryQueryException
private void copyNormalProperties(
      Normal destinationNormal, Normal sourceNormal, Hashtable<String, String> coordinates)
      throws RepositoryQueryException {
  }
private void copyNormalProperties ( Normal destinationNormal , Normal sourceNormal , Hashtable < String , String > coordinates ) throws RepositoryQueryException { }
@param destinationNormal
 @param sourceNormal
 @throws RepositoryQueryException
@param destinationNormal @param sourceNormal @throws RepositoryQueryException
// simple attributes // destinationNormal.setHowLong(sourceNormal.getHowLong()); // destinationNormal.setHowLongUnit(sourceNormal.getHowLongUnit()); // destinationNormal.setName(sourceNormal.getName()); // destinationNormal.setScript(sourceNormal.getScript()); // // destinationNormal.setStaticOk(sourceNormal.getStaticOk()); // destinationNormal.setRequirements(sourceNormal.getRequirements()); // destinationNormal.setDelegable(sourceNormal.isDelegable()); // destinationNormal.setAutoAllocable(sourceNormal.isAutoAllocable()); // // about reservations // Collection<Reservation> newReservations = null; // newReservations = copyReservations(sourceNormal.getTheReservations(), destinationNormal); // destinationNormal.setTheReservations(newReservations); // // about involved artifacts // // involved to // Collection<InvolvedArtifact> newInvolvedArtifactsToNormal = null; // newInvolvedArtifactsToNormal = // copyInvolvedArtifacts(sourceNormal.getInvolvedArtifactToNormal(), destinationNormal, // TO_INVOLVED); // destinationNormal.setInvolvedArtifactToNormal(newInvolvedArtifactsToNormal); // // involved from // Collection<InvolvedArtifact> newInvolvedArtifactsFromNormal = null; // newInvolvedArtifactsFromNormal = // copyInvolvedArtifacts(sourceNormal.getInvolvedArtifactFromNormal(), destinationNormal, // FROM_INVOLVED); // destinationNormal.setInvolvedArtifactFromNormal(newInvolvedArtifactsFromNormal); // // about requied Resources // Collection<RequiredResource> newRequiredResources = null; // newRequiredResources = copyRequiredResources(sourceNormal.getTheRequiredResource(), // destinationNormal, coordinates); // destinationNormal.setTheRequiredResource(newRequiredResources); // // about required People // Collection<RequiredPeople> newRequiredPeople = null; // newRequiredPeople = copyRequiredPeople(sourceNormal.getTheRequiredPeople(), // destinationNormal, coordinates); // destinationNormal.setTheRequiredPeople(newRequiredPeople);